Components
BackButton
The iOS-style back affordance: a chevron and the word "Back".
Narrower than it looks. The label is hardcoded, and so is the tint
(#007AFF, the iOS system blue) — it does not read the theme, so it stays
blue in dark mode while everything around it moves. onPress is the only
prop.
This example is composed with Storybook args. Open the interactive workbench to change its props and inspect the generated API controls.
Import
import { BackButton } from '@simal/ui/nativewindui';Props
| Prop | Values | Default | Description |
|---|---|---|---|
onPress | — | — | The only prop. The button never navigates on its own — wire it to the router. |