components
Installation
Usage
Imports
components/ui/dropdown.tsx
Code
components/ui/dropdown.tsx
Examples
User Menu
With Checkbox
With Radio Group
Props
<Dropdown>
| Name | Default | Values |
|---|---|---|
| indicatorPosition | right | leftright |
| indicator | null | ReactNode |
| External Reference | - | - |
<DropdownTrigger>
| Name | Default | Values |
|---|---|---|
| asChild | true | boolean |
| External Reference | - | - |
<DropdownContent>
| Name | Default | Values |
|---|---|---|
| placement | bottom | topbottomleftright |
| align | start | startcenterend |
| External Reference | - | - |
<DropdownItem>
| Name | Default | Values |
|---|---|---|
| inset | false | boolean |
| External Reference | - | - |