Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProPush-and-pop navigation inside a sheet, drawer or any box, with a Back button named after the previous page, focus on the new heading and Escape to step back.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it for a settings sheet or a picker with a second level: Settings, then Notifications, then Email digest, all without leaving the sheet.
Do not use it for a deep hierarchy (that is a page route) or for a linear flow with steps (use a stepper).
| Part | Prop | Type | Default | Description |
|---|---|---|---|---|
SheetStack | initial | string | required | Id of the first page. |
SheetStackPage | id / title | string | required | A page; title is its heading and the next page's Back label. |
- | useSheetStack() | { push, pop, reset, canGoBack, current } | - | Navigate from any child. |
Back to {previous page}.The component ships with a Testing Library test (sheet-stack.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.