Examples
Props
MenuButton
A button that opens a menu below it; the menu takes the focus, and gives it back to the button
when it closes. With placement auto (a button along a panel's bottom), the menu opens above
the button when it does not fit below and there is more room above.
| Prop | Type | Default | Description |
|---|---|---|---|
triggerrequired | (props: { open: boolean; toggle: () => void }) => ReactNode | — | |
childrenrequired | ReactNode | — | |
align | 'start' | 'end' | 'start' | |
placement | 'below' | 'auto' | 'below' |
MenuItem
A menu row. With checked set (true or false) it is a toggle: a check mark shows in the icon's
place while it is on (the state wins over the icon), and assistive technology hears it as a
checkbox item.
| Prop | Type | Default | Description |
|---|---|---|---|
icon | IconComponent | — | |
labelrequired | string | — | |
shortcut | string | null | — | |
onSelectrequired | () => void | — | |
disabled | boolean | — | |
checked | boolean | — | |
testId | string | — | |
uiId | string | — |
MenuSeparator
No props.
Used in
11 of Kition's 16 kits use these components.
Cad
Cube
Design
Doc
Effect
Film
Note
Photo
Sheet
Slide
Vector