ActionPanel
Molecule
Section panel with headline, body text, and one action. Used to surface a single decision or call-to-action.
Playground
Every control sets a real prop of ActionPanelProps. The JSX below updates as you go.
Web
iOS
Android
JSX · ActionPanelProps
Variants
6 examples from src/molecules/action-panels/action-panels.md, each rendered live from its own JSX.
Anatomy
1
Panel
2
Title
3
Description
4
Action
Dimmed parts appear only in some states or variants.
Props
13 props on ActionPanelProps, grouped as they are declared in source. Required props are marked *.
Accessibility and keyboard
Keyboard
Enter
Activates
Space
Activates
Tab
Moves focus on
Semantics
No role of its own in source; it reads as the content it renders.
Below the platform minimum, the touch area grows to 44 pt on iOS and 48 dp on Android without moving the layout.
Platform skins
The playground's props on each platform: same tree, native shapes, type and touch sizes.
Usage
The panel's single action fires onAction; wire it to your own handler and every press runs it.
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--bad
--bad-fg
--bad-soft
--bls
--bw
--fd
--ft
--tx2