Actions
@rahhal/ui/back-button

BackButton

Small ghost capsule with a leading chevron — the standard 'go back' affordance for nested pages. Defaults to `window.history.back()`; pass `onClick` to plug in router-aware navigation. The chevron rotates automatically under RTL.

Examples

Default — uses history.back()

Custom label

Custom click — typically a router navigate(-1) or navigate('/')

Outline variant — when the page background is busy