Simal UI
Components

HeaderButton

A pressable header glyph.

Despite the general name this is specifically an info button: the icon is a hardcoded FontAwesome info-circle at a fixed size and a literal gray, with no way to change any of it. onPress is the only prop. For any other header action, compose a Button size="icon" instead.

Import

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

Props

PropValuesDefaultDescription
onPressThe only prop. The glyph is fixed — see the note above.

On this page