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

PropTypeDefaultDescription
classNamestring-The class name to apply to the component.
childrenReactNode-The content to display in the component.