React Navigation Components
Organize React navigation and in-page choices with links, tabs, accordions, carousels, pagination, and tree views.
Navigation components help people move between destinations or related views. Puzzle provides router-independent links alongside controls for browsing collections and switching among content.
When to use navigation components
Use a Link for navigation to another URL. Use Tabs to switch among related panels in the current context, and Pagination when a collection is divided into pages. For actions that change data rather than navigate, choose an action component.
Components
Accordion
Expand and collapse related sections of content.
Carousel
Browse items with slides, navigation, and pager controls.
Link
Navigate with themed links and optional router integration.
Pagination
Navigate between pages of a larger collection.
Tabs
Switch between related views using a tab list.
Tree View
Browse and select items in a hierarchical tree.
Start here
- Link for destinations and optional router integration.
- Tabs for related content panels.
- Pagination for paginated collections.
The UI overview explains the package's router-independent design.
React Stack and Flexbox Layout
Arrange React components in horizontal or vertical stacks with theme spacing. Explore responsive direction, flex alignment, wrapping, and TypeScript props.
React Accordion Component
Build React accordions for FAQs and expandable content sections. Explore controlled state, stable item IDs, keyboard navigation, examples, and TypeScript props.