0.26.0
Collapsible AppShell sidebar, a grow prop, larger avatars, and a Figma-faithful exam badge
The AppShell desktop sidebar can now collapse, either hidden with a hover peek or shrunk to an icon rail. Tabs, SegmentGroup and the button groups take a grow prop that gives every item an even share. Avatar gains 2xl and 3xl sizes. ExamBadge follows Figma, as a square slab with a corner progress fill, and every geodesic badge gains a failed status. Indicator can stand alone as a dot.
Spotlight
Collapsible sidebar
The desktop sidebar collapses in one of two ways. collapse="hide" slides it off the edge and brings it back as a floating card when the pointer rests there. collapse="icons" shrinks it to an icon rail with tooltips, which widens into the full sidebar when the pointer rests on it. Both share one collapsed state and AppShell.SidebarCollapseTrigger.
Exam badge, from Figma
ExamBadge is now the square slab on a square tile that Figma draws, blue when passed, and its progress grows as a square from the front corner (fill="corner"). Every badge also gains a red failed status.
grow
grow gives every item an even share of the row, like a tab bar. It works on Tabs, SegmentGroup, ButtonGroup, ButtonSelect and ButtonMultiSelect.
Larger avatars
Two new steps above xl: 2xl (88px) and 3xl (128px), for a person shown as the subject of a screen rather than in a list.
Changes
- added6
- AppShell#448
The desktop sidebar collapses:
AppShell.Sidebar'scollapseprop picks"hide"(slides off, peeks back on hover) or"icons"(a 68px icon rail), driven by the newAppShell.SidebarCollapseTriggerandcollapsed/defaultCollapsed/onCollapsedChange - TabsSegment GroupButtonGroup#447
growgives every item an even share of the row - Avatar#446
Two larger sizes,
2xl(88px) and3xl(128px) - Geodesic badges#450
A shared
failedbadge status, in red, on every badge - Geodesic badges#450
fill="corner"onBadgeFrame: a square that grows from the front corner as progress rises - Indicator#451
Without
children,Indicatorrenders a standalone dot in the flow, such as a status dot before a word - changed1
- Geodesic badges#450
ExamBadgefollows Figma: a square slab on a square tile, blue when passed, with a corner progress fill - fixed1
- AmbientBackground#449
The starfield's nebula holds still