Components
dropdown
Inline dropdown menu.
An inline dropdown menu. First child (if text) is the trigger label, remaining children are menu items.
Usage
Without Label
When no label is provided, a default "more" icon trigger is shown:
Properties
accepts contentaccepts children
Spacing
| Property | Type | Default |
|---|---|---|
:gap | number | 0 |
:padding | number | 0 |
Dimensions
| Property | Type | Default |
|---|---|---|
:width | any | - |
:height | any | - |
Variants
| Property | Type | Default |
|---|---|---|
:primary | flag | - |
:secondary | flag | - |
:ghost | flag | - |
:danger | flag | - |
:success | flag | - |
:warning | flag | - |
:info | flag | - |
State
| Property | Type | Default |
|---|---|---|
:disabled | flag | - |
:open | flag | - |