Utility
AI
Terminal
Installation
pnpm dlx shadcn@latest add https://termcn.dev/r/bullet-list.json
Usage
import { BulletList } from "@/components/ui/bullet-list";<BulletList>
<BulletList.Item label="Install dependencies" bold>
<BulletList.Sub>
<BulletList.TreeItem label="ink@5.1.0" />
<BulletList.TreeItem label="react@18.3.0" />
</BulletList.Sub>
</BulletList.Item>
<BulletList.Item label="Configure project" />
<BulletList.CheckItem label="Write tests" done />
<BulletList.CheckItem label="Deploy to production" />
</BulletList>API Reference
BulletList
| Prop | Type | Default |
|---|---|---|
children | ReactNode | required |
BulletList.Item
| Prop | Type | Default |
|---|---|---|
label | string | required |
bold | boolean | false |
color | string | undefined |
children | ReactNode | undefined |
BulletList.Sub
| Prop | Type | Default |
|---|---|---|
children | ReactNode | required |
BulletList.TreeItem
| Prop | Type | Default |
|---|---|---|
label | string | required |
color | string | undefined |
BulletList.CheckItem
| Prop | Type | Default |
|---|---|---|
label | string | required |
done | boolean | false |
color | string | undefined |