Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProThe bottom bar of primary buttons for a form or checkout: it stays in view, clears the home indicator and rides up above the on-screen keyboard.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it for the Pay, Save or Continue button of a long form or checkout on a phone.
Do not use it for short forms that fit the screen (put the button under the fields) or for navigation (use a Tab Bar).
| Part | Prop | Type | Default | Description |
|---|---|---|---|---|
StickyActionBar | summary | ReactNode | - | A short line before the buttons. |
StickyActionBar | label | string | "Actions" | Name of the region. |
StickyActionBar | keyboardAware | boolean | true | Lift above the on-screen keyboard. |
StickyActionBar | position | "sticky" | "fixed" | "sticky" | Pin to the scroll area or the screen. |
- | useKeyboardInset(enabled?) | number | - | Height of the on-screen keyboard in px. |
The component ships with a Testing Library test (sticky-action-bar.test.tsx). jsdom has no touch or layout, so the test drives the component through its keyboard and pointer-free paths and checks roles, names and state.