Tabs, pagination, a menubar, a navigation menu, a sidebar and resizable panels: the parts an app's frame is made of. Each has a short form or is written out part by part; the page holds the state.
Tabs
One panel of several. The arrow keys move between the tabs and open the one they land on.
One lineTabs draws the bar; the page shows what belongs to the value.
Three projects, two of them live. Nothing needs you today.
tab
Overview
Written outTabsList, a TabsTrigger each, and a TabsContent per panel; each part takes the value as of=. Team is disabled.
Every panel is in the page; only the open one shows, so what you type is kept.
7 characters.
tab · name
account · Ada Lovelace
Line variantvariant="line" on the TabsList: an underline, not a pill. A trigger holds anything, here an icon.
12,480Visitorsthis week
318Sign-ups
Traffic by source
62% search, 38% direct
No reports yet.
Verticalorientation="vertical" puts the list beside the panel; ArrowUp and ArrowDown move.
Update automaticallyInstall new versions overnight.
Two-step sign-inAsk for a code on new devices.
Team planRenews on the first of the month.
tab · settings
general · auto on · two-step off
Pagination
Pages, and the way to the next.
One linepage is written back; the ends disable themselves.
2 of 5
#4Result 4 of 15
#5Result 5 of 15
#6Result 6 of 15
page
2
Written outThe page decides which numbers show: here a window around the current page, with an ellipsis where numbers are left out. Previous and Next drop their words on a phone.
A link with size="default" holds words.
page
5 of 10 · rows 41 to 50
Menubar
A bar of menus, as at the top of a desktop app. With one open, the pointer or ArrowLeft and ArrowRight move to its neighbours; a letter jumps to an item; Escape closes.
Every partFile has shortcuts, a disabled item and a sub-menu; Edit a destructive item; View checkbox items and inset items; Profiles a label, a radio group and a group.
last item
nothing yet
open menu
none (-1)
checkboxes
bookmarks on · urls off
radio
benoit
One menu, not in a barMenubarTrigger is the button and MenubarContent the list under it, for a menu that stands alone. width= sets the list's width.
order
not chosen
Navigation Menu
Links, and panels of links that open while the pointer or the keyboard is on their trigger.
A site's headerEach panel is a floating box of its own. NavigationMenuIndicator is the small arrow on a panel's edge; active=true marks the link that is where you are; a link with no href is a button.
last link
none yet: rest on a trigger, then press a link
Sidebar
The frame of an app. The page holds open and gives it to the SidebarProvider and the Sidebar. On a phone the sidebar is a sheet that the trigger opens.
Folds to its iconscollapsible="icon". The trigger, a press or a drag on the rail (the sidebar's edge), and ⌘B or Ctrl+B once the keyboard is inside all toggle it. Folded, the labels, badges, actions, sub-menu and the search field tuck away and each button shows its tooltip.
Floating, offcanvasvariant="floating" is a card of its own; with no collapsible it slides away whole.
Workspace
Home
Press the trigger: it slides off.
Inset, on the rightvariant="inset" on the Sidebar and the SidebarInset raises the page as a card; side="right" on the Sidebar and its rail.
Overview
On this page
Resizable
Panels with a line between them to drag, or to move with the arrow keys once it has the keyboard (Home and End go to the limits). Sizes are percents the page holds; one panel of each group has no size and takes the rest.
Side by sideThe left panel stays between minSize=20 and maxSize=70.
Left35%
Right65%
left
35%
Stacked, with a griporientation="vertical" and withHandle=true; step=10 moves ten at a key press.
Header40%
Body60%
top
40%
NestedA group inside a panel: One beside a column of Two over Three.
One30% wide
Two55% tall
Threethe rest
one · two
30% · 55%
Three panes; the first shutscollapsible=true: let go under half of minSize (7.5%) and the sidebar shuts to nothing. The handle after the flexible middle sizes the pane that follows it: reverse=true. The strip under it has a defaultSize no handle moves, and a disabled handle.