List
Clean list component for displaying structured items with icons, badges, borders, hover states, and active selection.
import
import { List } from "@/components/ui/list/list";$
npx @bloomui-react/cli add listlist.tsx
Default
Standard borderless list layout.
- User Account Settings
- Push Notifications & Alerts
- Security & Two-Factor Authentication
Variants
List supports multiple layouts: bordered cards with internal separators, or separated floating items.
variant:
default | bordered | separatedBordered
- Inbox Messages12 Unread
- Starred Conversations3
- Trash & Archived Files
Separated
- Active Billing Plan — Pro Team
- Payment Method Expiring Soon
Props — List & ListItem
Supported properties for List and ListItem components.
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | 'default' | 'bordered' | 'separated' | 'default' | Style variant of the list layout container. |
| startContent | ReactNode | — | Element (icon, avatar) rendered on the left of list items. |
| endContent | ReactNode | — | Element (badge, indicator) rendered on the right of list items. |
| isActive | boolean | false | Marks item as active with colored background. |
| isHoverable | boolean | false | Enables hover style feedback and pointer cursor. |