Navigation
Preview
Navigation primitives for moving between reports, pages and sections.
Usage
<Breadcrumbs items={[
{ label: 'Reports', href: '/reports' },
{ label: 'Revenue' },
]} />
<Pills label="Period" value={period} onChange={setPeriod} items={[
{ value: 'week', label: 'Week' },
{ value: 'month', label: 'Month' },
]} />
<Pagination page={page} pageCount={12} onChange={setPage} />Pagination exposes a page number; the application owns fetching or slicing the page. Use links for navigation and buttons for local actions. Give each navigation region a distinct label.
Pagination
PropTypeDefaultDescription
pagenumber—Current page, 1-based.
defaultPagenumber1—
pageCountrequirednumber——
onChange(page: number) => void——
siblingsnumber1Pages shown on each side of the current one (default 1).
boundariesnumber1Pages always shown at each end (default 1).
variant'pages' | 'compact''pages'
pages shows numbered buttons; compact shows Previous / Page n of N / Next.Also accepts the props of Omit<HTMLAttributes<HTMLElement>, 'onChange'>, spread onto the root element.
Pills
PropTypeDefaultDescription
itemsrequiredPillItem[]——
valuestring——
defaultValuestring——
onChange(value: string) => void——
labelstring—Names the group for assistive technology.
size'sm' | 'md''md'—
Also accepts the props of Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>, spread onto the root element.
Report an issueBuilt Oct 21, 2026