The following props are available for dropdown component. These are the custom props that we've added for the dropdown component and you can use all the other native props as well.
Attribute | Type | Description | Default |
---|---|---|---|
variant | string | Change button variant | 'filled' |
size | string | Change button size | 'lg' |
color | string | Change button color | 'blue' |
button | string | Add label for dropdown | 'Dropdown' |
type variant = "filled" | "gradient" | "outlined" | "text"
type size = "sm" | "md" | "lg"
type variant =
| "blue-gray"
| "gray"
| "brown"
| "deep-orange"
| "orange"
| "amber"
| "yellow"
| "lime"
| "light-blue"
| "blue"
| "teal"
| "cyan"
| "light-blue"
| "blue"
| "indigo"
| "deep-purple"
| "purple"
| "pink"
| "red"