Docs
List
List
Displays a series of items in a vertical list.
- Basic list item with icon
- List item with different background
- List item with trailing element
- Interactive list item with hover state
Installation
Usage
import { List } from "@/components/ui/list";<List>{/* Example usage */}</List>Props
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | The class name to apply to the component. |
children | ReactNode | - | The content to display in the component. |