Actions
Menu
A list of actions that drops down from a label.
iOSSwiftUI MenuAndroidCompose DropdownMenuRenders in a Screen or an Island
Import
ts
import {Menu, type MenuAction} from '@hzblj/kara-ui'Props
A text button that opens a list of actions: a SwiftUI Menu on iOS, a Material dropdown anchored to it on Android. A native atom — it renders inside <Screen> or <Island>.
| Prop | Type | Description |
|---|---|---|
| actions* | MenuAction[] | The menu's actions, top to bottom. |
| label* | string | The trigger's text. Android draws it in the accent colour, with a chevron. |
label*
stringThe trigger's text. Android draws it in the accent colour, with a chevron.
Platform notes
- iOS does not draw an action’s
iconin the menu; Android does.