Tabs and the panels they show, in a row or a column, with arrow-key navigation.
Installation
Examples
Default
A tab is a ghost Button of any size. It is as wide selected or not, so a theme can bolden the selected one without moving the rest.
demo.tsx
Sky, Subject, and Image.
Segmented
segmented sets the tabs into a sunken strip, a size smaller, as a switch between views.
segmented.tsx
Underline
underline lines them over a rule, which the selected tab marks, as a page's navigation.
underline.tsx
Vertical
orientation="vertical" stacks them in a column, here a tool rail of icon-sm tabs named by their tooltips.
vertical.tsx
Many tabs
With overflow-fade-x, a row of tabs that doesn't fit scrolls and fades at its edges.
overflow.tsx
Anatomy
Each part's data-slot, which a theme styles, is beside it.
bun add @roprgm/ui