v0.1 public beta early access on GitHub
Home / Components / list

ListiOS

Settings-style rows with separators and press feedback.

$ npx lumioui add list
import { List } from "@/components/ui/list/list";
Props21
List
inset? boolean Inset-grouped style: rounded card sections with horizontal margin.
glass? boolean Liquid-glass section material (pairs naturally with inset).
className? string
ListSection
title? string Optional header text rendered above the group, iOS-settings style.
titleClassName? string Extra classes for the header text.
className? string
ListItem
title string Primary label.
subtitle? string Secondary label under the title.
leading? React.ReactNode Slot rendered before the text block (icon, avatar, etc.).
trailing? React.ReactNode Slot rendered after the text block, before the chevron.
showChevron? boolean Show a disclosure chevron on the trailing edge.
haptic? "light" | "medium" | "heavy" | "selection" | false Haptic on press. Default "selection"; false to disable.
className? string
titleClassName? string
subtitleClassName? string
density? "default" | "compact" Vertical rhythm: "default" for standard rows, "compact" for dense rails (media pickers, followers) where more rows must fit the fold.
titleNumberOfLines? number Title line clamp. Default 1 — event/news rows that must not lose their tail should pass 2.
subtitleNumberOfLines? number Subtitle line clamp. Default 2.
children? React.ReactNode
ListSeparator
inset? boolean | "none" | "icon" | "text" | number Left inset preset: - `"none"`/false (default): full-bleed. - `"icon"`/true: starts under the leading slot edge (16px — the row's px-4). Legacy `inset` maps here for pixel parity. - `"text"`: aligns under the title text, past a standard 24px leading icon (16px padding + 24px icon + 12px gap = 52px). - number: exact px inset — match your leading slot's width.
className? string
List — Contactscontacts.tsx
list/variants/contacts.tsx open

Settings-style rows with separators and press feedback.

List — Glassglass.tsx
list/variants/glass.tsx open

Settings-style rows with separators and press feedback.

List — Ordersorders.tsx
list/variants/orders.tsx open

Settings-style rows with separators and press feedback.