Star button with count, built from the button component.
Star button with count, built from the button component.
A ranked list of statistics where each row shows its share of the total as a number and a thin bar, sorted largest first with a cap and an Other row.
Success alert, built from the alert component.
A feed with For you and Following tabs whose panels swipe sideways, where each panel keeps its own scroll position and the selected tab is remembered while you switch. Use this when a phone feed has two or three views of the same kind of content that people flick between.
A profile with Posts, Replies and Likes tabs that show counts in their names, update the counts when content changes and swipe between panels under a fixed header. Use this when a profile or account screen has several lists of different things and each has a count worth showing.
Switch group, built from the switch component.
Table with footer, built from the table component.
Tabs that render a panel only when its tab is first opened and then keep it mounted, so input and scroll survive tab trips, or throw it away when keepAlive is off.
Tabs whose active tab lives in location.hash, so links open the right tab, reload keeps it and Back steps through tabs, with the first render always on the first tab.
The settings-page layout with a vertical tab list on the left, ArrowUp and ArrowDown navigation, a heading at the top of each panel and stacking on narrow screens.
A sortable tree that refuses any move, by pointer or keyboard, that would make it deeper than the allowed number of levels, and says so. Use this when menus or categories must stay shallow.
A pick list for the sections of a document template where required sections cannot be removed, with a numbered preview of the result. Use this when users assemble a report or contract from standard sections.
A leave request range that counts only working days, takes out public holidays, compares them with the remaining balance and refuses a request that overdraws it. Use this when leave is taken in days off work and the balance is charged only for working days.
Toast with action button, built from the sonner component.
Toast with close button on top-right, built from the sonner component.
Toggle buttons with outline variant, built from the toggle component.
The Grid, List, Board view switcher: a labelled single-choice group that can never be empty, with icon buttons that have text names and an announced change.
Toggle group with custom spacing, built from the toggle group component.
An abbreviation as a semantic abbr element with its meaning in the title, the accessible description and a focus-reachable tooltip, for the first use of a term.
Tooltip on disabled button with wrapper, built from the tooltip component.
A presence or status dot that is never only a colour: a focusable image named with the status in words, plus a tooltip with optional detail.
Tooltip with icon trigger, built from the tooltip component.
An app shell header with a trial bar computed from the trial end date, that hides for paying customers, turns urgent in the last three days and says ended after expiry.
Incoming and outgoing rows separated by nothing but the align prop.
Showing 145–168 of 177