Simal UI
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.

Import

import { BackButton } from '@simal/ui/nativewindui';

Props

PropValuesDefaultDescription
onPressThe only prop. The button never navigates on its own — wire it to the router.

On this page