This page as markdown: /whats-new.md · Index for agents: /llms.txt · Everything in one file: /llms-full.txt
What's new
0.26.0
- SliderField: a slider drawn as a field. The whole box is the track, the
fill is the value's share of the range and the number sits inside it, so a
bounded property takes one control where it took a Slider with a ScrubField
beside it, and the drag target is the full field. Double-click, Enter or a
typed digit turns the readout into a text input; Escape puts back the value
from before. It sits on the field ladder (
md,sm,xs) and reports a settled change throughonValueCommitted. Added: nothing existing changed.
0.25.1
- One look for a conversation, with a person or with an assistant. The
reader's own message is
tintand the other person's isoutlineeverywhere: AgentRunBlock, ChatThreadBlock, ChatPanel and LandingPage set the reader's side in solidprimary(and the other inmuted), so a chat with an assistant read dark and heavy beside MessageReactionsBlock. Bubble's guidance names the light pair as the usual one;mutedandprimarystay for a busy or dark surface. Changed: those four render lighter; no API changed.
0.25.0
Small text gets its line height back, and a title sits closer to its description.
text-title-sm,text-body-smandtext-mono-mdsnap their line height to half a baseline step. Their ratio falls between two whole steps, so whole-step rounding dropped them to about 1.2 (13px on a 16px line): rows read cramped beside card titles at 1.5, and wrapped descriptions read as a block. They now hold about 1.45 to 1.55 (13px on 20px), and two such lines are whole steps again. CardHeader drops the gap between its title and description: the two are spaced by their own leading, like a row's two lines. Changed: anything set in those tiers is taller: a two-line Entity row by one step (8px at the defaults), abody-smtable cell by half a step, a wrapped description by half a step a line. A card header with a description is about the same height as before.One type role, one tier, across the blocks. An audit of every text style on the canvas found the same role set in different tiers from block to block. Now: a headline figure is
text-mono-xleverywhere (PricingCardBlock, SubscriptionBlock and InvoicePreviewBlock set theirs intext-heading-2, the sans, beside balances and KPIs in mono); a number in a row or ledger istext-mono-md, the size of the text beside it (CartBlock, StorageBlock, RecentOrdersBlock, InvoicePreviewBlock, DeliveryOptionsBlock and DashboardPage usedtext-mono-sm, two sizes smaller, or the sans); a row's name istext-title-smovertext-body-sm, as Entity sets it (ScheduleBlock events and CommentThreadBlock authors weretext-label-md, a size down); ProductCardBlock's badge issmlike every other filled badge in a card. Meter's and Progress's value labels move fromtext-mono-smtotext-mono-caption, the size of the label they sit beside. A chart's centre figure and PricingTableBlock's prices aretext-mono-xltoo. And a title over its supporting line is spaced as CardHeader spaces it wherever it is set by hand (ProfileCardBlock, EventCardBlock, ReserveTableBlock), where each block had picked its own gap.useToday, and blocks that hydrate on any clock.useToday()gives today on the reader's clock without a hydration mismatch: a fixed day on the server and while hydrating, the reader's own straight after, and the next day's once midnight passes. ScheduleBlock, DeviceComparisonBlock, EventCardBlock, DeliveryOptionsBlock and ReserveTableBlock date themselves from it; they readnew Date()at module scope, so a server and a reader either side of midnight rendered different text.A date range changes once, on the second pick. DatePicker
mode="range"committed{ from, to: undefined }on the first pick, so a stray click and Escape replaced a complete range with half of one and emptied the form field. The first pick is now held in the picker and shown as the start, in the calendar and on the trigger;onValueChangefires when the end is picked. Changed: code that reacted to the half range on the first pick no longer sees it.Edge fades attach to an element that appears later.
useEdgeFadetakespresent; CodeBlock passes it, so switching out of prompt mode fades the code like any other block.Quieter lists, and a label for a group of rows.
CardList divided={false}drops the hairline between rows: the rows are spaced by padding alone, a card padding clear of the header, the footer and the card's edge. The newCardListLabelnames a group of rows ("Signed-in devices", "Sources", "Recent"); in a quiet list a label after the first row sets its group off with space, and the footer below draws no rule. CartBlock is a quiet list too. SecurityBlock, CitedAnswerBlock and SearchBlock use both, in place of a hand-padded heading between ruled rows. SearchBlock's status line ("Recent", "3 results") is now the list's label rather than a line of the header.A lighter own-side bubble.
Bubble variant="tint"is the reader's own message as a wash of the brand colour over the thread's surface, for a short thread where the solid primary bubble reads dark and heavy. MessageReactionsBlock pairs it withoutlinefor the other party.Reactions can live inside the bubble, with faces. A
BubbleReactionsrow placed as a Bubble's last child sits under the text, and its pills become soft chips a faint step off the bubble, tinted with primary for the reader's own, so the emoji and the faces carry the row.BubbleReactiontakesavatars: with up to three people the pill shows who reacted in place of the count, past three the count. MessageReactionsBlock uses both; itsreactionsdata now lists who reacted, not a number. A row under the bubble is unchanged.RecentOrdersBlock lines up at any width. Customer is now the first column: hiding the order number in a narrow card left the first visible column without the card's inset, 16px left of the title.
A card's seams hold up around lists and tables. A CardFooter after a CardList or a flush CardContent draws its hairline and padding even when a visually hidden node sits between them (the
sr-onlylive region that announces a removed row); before, the footer lost both, and CartBlock's totals and SecurityBlock's button sat on the last row. A flush CardContent under a CardHeader is set off by half the card padding, so a table's column labels no longer touch the description (DashboardPage's ownmt-4is gone). A trailing control up to 8px taller than an Entity's text no longer makes its row taller, so a list mixing Switch, Badge and small Button rows is even.New: Pill
appearance="ghost", and reactions use it. Nothing drawn at rest, a hover fill off the surface, and a primary tint with no edge when selected. BubbleReaction and BubbleReactionAdd wear it: a row of hairline capsules under a bubble outweighed the two emoji in it, and now only the reader's own reaction is a chip. Nothing to migrate; a Pill you set tooutlineyourself is unchanged.Seven blocks polished. SearchBlock's field, filters and status line are a divided CardHeader, and its floor is four rows by construction, so a full list ends on the card's edge instead of over a blank strip. CartBlock puts the free-shipping note under the button it qualifies. RecentOrdersBlock drops the order number and then the date by its own width, so a narrow card shows customer, status and total without scrolling. CitedAnswerBlock's citations are numbered chips that match the source list, follow the punctuation and never start a line. ScheduleBlock is a day agenda: start times in a column, each event a block in its calendar's palette colour with the people in it, dated from the page load.
Five new blocks show components working together.
AgentRunBlockis one agent turn: send a follow-up and an AgentAvatar thinks, a ToolCall runs, the answer arrives as StreamingText and the ChatComposer's send becomes stop.PostBlockis a feed post with RelativeTime, ShowMore and LikeButton.ReserveTableBlockbooks a day with a bare Calendar and a NumberField, then eases down to a confirmation (a DateTile, the party size and a ConfirmButton to cancel).DeliveryOptionsBlockpicks a RadioCard and rolls the total.PhotoAdjustBlockis a small inspector: PropertyRows that pair a Slider with a ScrubField, a ColorField tint, and Reset and Save at the foot, applied live to the photo. Copy any of them withsable block <Name>.Four more blocks for everyday product moments.
StorageBlockshows a Meter against a plan and a two-press Clear cache that becomes a Progress bar, shows a Skeleton for the size being recalculated, and ends in a toast.StreakBlockputs a habit's current and longest run over sixteen weeks of ActivityHeatmap, with Pills that switch the measure.ShareBlockinvites people from a multi-select Combobox with a role Select, and copies the link from a split button in a ButtonGroup.SearchBlockis a search panel with its three answers: Skeleton rows while it works, results with the match highlighted, and an EmptyState with a way out. StorageBlock and ShareBlock report throughtoast, so the app needs aToastProvider.PhotoAdjustBlock takes its photo as
image. The photo is the block's input, not its copy, so it is the one piece of media a block takes as a prop:<PhotoAdjustBlock image={url} />. Without it the preview paints seeded art, so an app importing the block never requests a path only sableui.com serves. The docs pass their own photo in.Six more blocks fill gaps in the catalog.
CartBlockis a cart and its order summary: lines with a NumberField and a remove button, a total that rolls, and an empty state.SubscriptionBlockis the current plan in billing settings, with a seats Meter, the payment method and a cancel that can be taken back.SecurityBlockputs two-factor, passkeys and the signed-in devices in one card.CommentThreadBlockis a thread with replies one level in and a composer that knows what it replies to.RecentOrdersBlockis a DataTable card for a dashboard, with a status filter and clickable rows.CitedAnswerBlockis an assistant's answer with numbered citations, each previewing its passage in a ContextCard, over the list of sources.New:
IconTile. One icon on a small square tile, sized and cornered like a square Avatar, filled from the surface's well, the muted surface or a palette family. FeatureGridBlock, SearchBlock and LandingPage hand-built it three different ways; they now use it.Looks that blocks used to fake with classes are variants now.
ToggleGroup appearance="tiles"makes each Toggle a stat tile that switches a chart (DeviceComparisonBlock); Cardvariant="featured"is the raised surface with a primary edge (PricingTableBlock's recommended tier); Avatarcutoutrings an avatar in the surface it sits on (ProfileCardBlock); CardHeaderdividedcloses a header with a hairline (ChatPanel); CommandMenuPanelelevation="raised"and Browserelevation="hero"replaceshadow-*classes. All of them read existing tokens.Breaking: block callbacks follow one naming rule. A callback names the verb the person performed and takes one typed payload; two different answers get two callbacks; a toggle reports
on<State>Change; a list row reports its id first. The rule is in CONTRIBUTING.md. To migrate:FeedbackFormBlock:onDone(sent, feedback?)→onSkip()andonSend({ score, notes }).EventCardBlock:onRespond("join" | "decline")→onJoin()andonDecline().PricingTableBlock:onChoose(tier, period)→onChoose({ tier, period }).MessageReactionsBlock:onReact(messageId, emoji, on)→onReactionChange(messageId, { emoji, reacted }).NotificationSettingsBlock:onChange(id, on)→onSettingChange(id, enabled).ProfileFormBlock:onSave(formData)→onSave({ displayName, handle, bio, timezone }).
Every card block's title is a heading. CardTitle renders as
h2in a card block (h3under a block's own heading, as in PricingTableBlock), so a dashboard built from blocks can be navigated by heading. A figure in the title slot, such as a balance, stays adiv. A test holds every block to it.The new blocks speak once, and only when something happened. SearchBlock announces "Searching" once (its spinner is decorative) and its list has a floor, not a fixed height, so a roomy density no longer spills out of the card. AgentRunBlock keeps one live region mounted and changes its words. PostBlock's comment button is named "24 comments", and its ellipsis opens a real menu (
onPostAction), withonLikeChangeandonSaveChangebeside it. PhotoAdjustBlock names each field "Exposure value" beside the "Exposure" slider. StreakBlock says "Longest 23 days". ShareBlock's link access is controlled and reported (onAccessChange), its invite toast waits foronInvite(return a promise and a rejection says the invites were not sent), and its copy group is named "Share link".Sample dates follow the calendar. ReserveTableBlock, StreakBlock, DeliveryOptionsBlock, DeviceComparisonBlock and EventCardBlock date their samples from the page load, as PostBlock does, so none opens on a day that has passed.
The Blocks page gives feedback, and sample links stay put. It mounts a ToastProvider, so StorageBlock and ShareBlock show their toasts there. Sample links in blocks and page shells (
/docs/getting-started,/pricing, sites on.example) no longer open the docs' 404 when clicked on sableui.com; the source you copy is unchanged. The page-shell previews are built from the catalog, so a new pattern opens without a docs edit.Page shells tidy up. BrandLandingPage lays its illustration out with
Grid, FeedPage's images fall back to seeded art instead of a broken-image glyph, and the block contract in CONTRIBUTING.md now matches the blocks: callbacks for each outcome, no app-specific hooks in patterns, headings, live regions and relative dates.A Calendar given a width fills it.
className="w-full"now spreads the seven columns across the container, so the first and last days sit on its edges. Before, the grid stayed at its own width on the start side while the month arrows spread out. In a container narrower than seven day cells, the cells now give up width instead of running out of it. A calendar at its natural width is unchanged.ToolCall shows the tool's name by its own width, not the window's. The mono name after the title appears once the call is 24rem wide. In a narrow card on a wide screen it used to squeeze the title to an ellipsis.
ApprovalBlock and DeviceComparisonBlock hold together when narrow. Below its designed width ApprovalBlock stacks its three answers with the primary on top, where they used to run out of the card. DeviceComparisonBlock puts its totals under the title by the card's width; it used the window's, so a narrow card on a desktop crushed the title into a sliver.
The Customize canvas has fifteen more scenes: the nine new blocks, and six that already shipped (Approval, VerifyCode, GoalProgress, DeviceComparison, MessageReactions, DangerZone).
New guides for the first hour.
sable docs nextjscovers the App Router: the"use client"providers file and root layoutsable initprints, and a script that applies the stored colour mode before first paint.sable docs color-modecovers light, dark and system, a dark default, and the stylesheet every alternate theme needs.sable docs troubleshootingmaps eachsable doctorcheck to the symptom you see. On sableui.com they are pages under Guides, beside the two migration guides, which now have pages too.The setup docs match what
sable initdoes. It wires the fonts and IconProvider itself only on Vite; on Next.js it prints them, and it never adds antialiasing or theme CSS. The README, AGENTS.md, llms.txt and the registry'sconsumeblock now say so, and agent setup is described once, in AGENTS.md. llms.txt no longer claims icons fall back to Reicon without an IconProvider (they render nothing), and AGENTS.md's tone example names a real token.Every component that needs the client says so. Button, Card, Input, Dialog, Tooltip, Icon and some 45 other modules called hooks without a
"use client"directive, and the build keeps each module's own directive and adds none, so rendering<Button>in a Next.js Server Component threw. They carry it now, anduse-client.test.tsfails on any module that calls a hook, creates a context, sets a handler or passes a function prop without it.A failed
toast.promisestays until it is read. The promise's error outcome, a success carryingactionProps, and atoast.updatethat turns a toast into an error or gives it an action now persist liketoast.error, unless they name atimeout. Before, they took the provider's five seconds. The same applies throughuseToast().Every word a component supplies can be translated. One convention, now in CONTRIBUTING.md: a flat
<role>Labelprop with an English default, or a function when the words carry a value. New: Dialog and SheetcloseLabel; Banner and ToastProvider/ToastClosedismissLabel; PaginationpreviousLabel,nextLabel,pageLabel(page); CodeBlockcopyLabel,copiedLabel; ChatComposerattachLabel; SearchInputclearLabel; CommandMenusearchLabel,clearLabel,resultCountLabel(count); VideoplayLabel; MarqueepauseLabel,playLabel; ShowMoremoreLabel,lessLabel; FeedbackratingLabel; AttachmentuploadingLabel; DatePickertimeLabel,hourLabel,minuteLabel; ColorFieldtransparentLabel,hexLabel,eyedropperLabel; ComboboxInput/ComboboxChipstoggleLabel, ComboboxChipsremoveLabel; NumberFielddecrementLabel,incrementLabel; ScrubFielddragLabel; FontPickersearchPlaceholder,emptyLabel; TreeRowexpandLabel,collapseLabel; AppShellskipLinkLabel; Carousellabel,previousLabel,nextLabel,slideLabel,positionLabel,dotsLabel,dotLabel,pauseLabel,playLabel; MenuLinkItemnewTabLabel.aria-label-literals.test.tsfails on a literalaria-labelin a component.Standalone icon buttons reach 44px under touch. Dialog's and Sheet's close, Banner's and Toast's dismiss, CodeBlock's copy and Carousel's prev/next arrows grow their hit area to 44px on a coarse pointer without moving a pixel (
hitTargetTouchinlib/hit-target). Controls packed in a row (pagination numbers, calendar days, chips, tree disclosures, carousel dots) keep the 24px WCAG floor: their spacing, not their slop, sets the target. The accessibility foundation now says so instead of promising 44px everywhere.Pickers and fields take part in forms. DatePicker takes
name,form,required,readOnlyand submitsyyyy-MM-dd,yyyy-MM-ddTHH:mm,HH:mm, oryyyy-MM-dd/yyyy-MM-ddfor a range; a required picker, including inside<Field required>, blocks submit and focuses its trigger. ColorField submits#rrggbb,#rrggbbaaortransparent; DisclosurePicker and FontPicker submit the chosen value, even while closed; ScrubField submits its committed number. DatePicker and ScrubField forwardrefand the props a Field clones.DatePicker picks ranges and times, in your locale.
mode="range"picks{ from, to }in two picks and closes (DateRangeis exported).granularity="time"is a time-only field.locale(a date-fns locale) localises the calendar and the label together.ScrubField's Escape reverts. It committed the draft it meant to discard, and Enter reported the value twice.
One size ladder for fields.
smon Input, ComboboxInput, ComboboxChips, NumberField (alsoxs), DatePicker and DisclosurePicker/FontPicker, so a toolbar row ofsmfields andsmbuttons is one height.prop-vocabulary.test.tsholds them to the same ladder.DataTable sorts server data.
sort+onSortChangecontrol the sort andmanualSortingskips the local sort, so a sortable header on server-paged rows reports the click instead of reordering one page. Strings compare withIntl.Collator(newlocale): case-blind, accent-aware, "file2" before "file10". DataTable forwardsrefand DOM props to its<table>. The sort header is now TableHeadsortable/sortDirection/onSort, for hand-built tables too.ContextMenu has Menu's parts. Every part below the trigger is now Menu's own: ContextMenuItem takes
iconanddescription, and ContextMenuLinkItem, ContextMenuSubmenu, ContextMenuSubmenuTrigger, ContextMenuRadioGroup, ContextMenuRadioItem and ContextMenuCheckboxItem are new. MenuLinkItem withtarget="_blank"tells screen readers it opens a new tab.Tabs stand vertically and scroll when they overflow.
orientation="vertical"is styled; a list wider than its room scrolls with an edge fade and brings the active tab into view; TabsPanel shows a focus ring.Smaller fixes. Tooltip caps at 20rem. AccordionTrigger takes
headingLevel(2–6). SheetContent takesshowCloseButton. WorkspaceCanvas takes focus from the skip link, and Workspace and AppShell takemainId. Entity rows takerenderfor router links, witharia-current="page"when selected. RelativeTime takesnowandlocale, and renders unparseable input as text instead of throwing. ColorField swatches show a focus outline and take{ value, label }. The standalone Tree toggle shows a focus ring and points the right way under RTL. Carousel's inactive dots clear 3:1 (70%, from 40%). Calendar's months wrap by the room they have, not the viewport'ssmbreakpoint. Combobox documents ComboboxValue, ComboboxClear and ComboboxItemIndicator. Every exported component setsdisplayName.AGENTS.md says Sable does not support RTL yet. Layout mirrors; directional icons and Carousel's arrow keys do not.
Breaking:
styles.cssno longer scans the package. The published stylesheet carried its own@sourceover all ofdist, so every app generated the classes of every component, block, pattern and*.meta.jsexample string whatever it scanned itself, andsable sourcestrimmed nothing. Your stylesheet now owns the scan, as the README's recipe andsable initalready set it up. Measured, minified and gzipped: the whole-package@sourceis about 49 KB,sable sourcesfor Card, Button and DataTable about 26 KB (it was 49 KB either way before), and Sable's own CSS with nothing scanned about 20 KB. The README's figures said 32 KB and 12 KB; they now say what ships. The build,check-packageandthemes.test.tsall refuse a stylesheet with an@sourcein it.motion="off"and<MotionScope level="off">still CSS motion. A theme declares its durations already multiplied by--motion-scale, and a custom property inherits as a finished value, so on a scope's plain wrapper setting the scale changed nothing: hover colours, pops, fades, slides and disclosures kept playing inside an "off" scope (amotion-interactivemeasured 0.15s). The policy rule now zeroes the duration ladder whereverdata-motion="off"or"reduced"is written. The OS preference and<MotionProvider>on<html>worked before and still do.Focus is visible under forced colors. Components draw focus as a box-shadow ring, which Windows High Contrast removes.
styles.cssnow puts a 2pxHighlightoutline on:focus-visibleunderforced-colors: active, for every component at once. The accessibility foundation's claim and its no-go now match what ships.Server rendering without a theme flash or a hydration mismatch.
SableThemeProviderno longer reads storage or the media query while rendering: the server and the hydrating client render the defaults, the stored choice arrives in the re-render React makes right after hydration, and the provider writes<html>only after hydration. NewsableThemeScript(options)and<SableThemeScript />(from@sableui/reactand@sableui/react/themes, safe in a Server Component) apply the stored mode and preset before first paint: inline it in<head>with the provider's options and putsuppressHydrationWarningon<html>. A client-only app reads the stored choice on its first render, as before.Inline
targetgetters stop churning.SableThemeProviderandMotionProviderkeeptarget={() => el}in a ref, so a parent re-render no longer re-runs their DOM writes (the theme provider injected a transition-suppressing sheet and forced a reflow each time; the motion provider removed and re-setdata-motion).applySableColorModeandapplySableThemedo nothing when the element is already in that state.useSableTheme()without a provider reports what<html>shows. It used to answer "dark" whatever the page said; it now reads.darkanddata-sable-themeand follows them.A preset whose CSS is missing says so. Each bundled theme declares
--sable-theme-id; in development,SableThemeProviderwarns once whendata-sable-themenames a bundled theme the page is not painting, and names the import that fixes it.Verdant's overlay is a surface again. It was authored at 60% and 70% alpha, so
bg-overlay/85behind a media pill multiplied it again (3.6:1 over a white photo) and its scrim dimmed about half as much as every other theme's. It is opaque, like the contract says, andthemes.test.tsnow holds every theme's overlay to alpha 1 and its ink to 4.5:1 onoverlay/85over white.The chart palette is in the contract.
CHART_TOKENS(chart-1…chart-8) is documented insable token, mapped tobg-chart-n/fill-chart-n, and gated for every bundled theme in light and dark: neighbours apart under normal vision and protanopia/deuteranopia, every series at least 2:1 on the page and a card. The gate found the amberchart-4at 1.85:1 on Meridian's, Prism's and Ember's tinted light pages; those three now deepen it.Compact type only ever compresses, under any theme. The workspace remap read each tier's default size, not the theme's
--type-<tier>-size, so a preset that set a tier below the ui tier saw it grow inside a compact panel.Presencefollows the theme's tempo. Without adurationit takes--motion-duration-enter/--motion-duration-exitand enters on--motion-ease-decelerate, so Ember's slower enter, Prism's quicker one and the customizer's motion speed reach it. Adurationyou pass still scales by--motion-scale.Theme CSS sheds what nothing read. The unused steps of the Sable theme's hue ramps (59 of 78), Ember's
ember-*andsoot-*ramps, Meridian'smeridian-ember-*ramp and--meridian-ember-ink,--theme-shadow-2xs,-xsand-2xl(never mapped) in Meridian and Prism, and Verdant's unread title trackings. A test now fails on a theme declaration nothing reads. Meridian and Prism also flatten--theme-shadow, the one step their "no shadows" ladder missed, soshadowno longer draws in them.Islands get native controls in their own mode.
.darkand.lightsetcolor-scheme, so scrollbars and form controls in a dark island are dark.Icon aliases keep their meaning.
rotate-ccwandrefresh-ccwdrawreplay(counter-clockwise reads as undo), andmore-verticalandx-circle, which drew a different glyph, no longer resolve: they warn with the nearest names instead.Docs catch up with the code. The eyebrow is
text-overline(or<Label eyebrow>), notlabel-xs, in DESIGN.md and the typography foundation. DESIGN.md lists the real control ladder (28 / 32 / 40 / 44 / 48) and 7px popup rows. CONTRIBUTING states the real override rule: a theme's dark arms are (0,2,0)–(0,3,0), so an app override must match them (example included). Layout primitives say what a rhythm unit is (one baseline step, sogap={2}isgap-4) instead of "8px". On sableui.com, Color lists every role from the contract with its intent and pairings, plus the chart palette; Typography measures every tier live and adds the missing ones; Presets explains the import, the provider and the silent failure; Surfaces adds popover and names the--z-*layers; Spacing & sizing draws on--spacingand measures. The site sets--type-base: 14instead of a 14px root, so it no longer overrides the reader's browser text size.Migration.
- Left and right SheetContent shows a close button by default: drop your own
header X or footer Close, or pass
showCloseButton={false}. - Carousel
slidesToShowbreakpoints measure the carousel's own width, not the window: lower the keys (lg: 3tomd: 3) if you sized them against the viewport. - TabsList draws its divider as an inset shadow and scrolls when it
overflows: a className that restyled its
border-bshould set the shadow (orshadow-none) instead. - DatePicker
formatOptionsformats inlocale(en-US by default), not the reader's browser locale: passlocaleto keep a localised label. - DataTable
rowKey's index is always the row's index indata: if yours expected the sorted position, key by a stable id. - DisclosurePicker's root
id,aria-describedbyandaria-invalidnow land on its trigger: target the root withrefor adata-*attribute instead. - ColorField names a transparent value "Transparent" (was "transparent"):
update queries, or pass
transparentLabel. - ContextMenu parts are Menu's parts, so React DevTools shows Menu's names (MenuItem). Props are a superset; nothing to change.
"use client"modules export client references to a Server Component: readMENU_ITEMand other constants from a client module, not a server one.- An app whose stylesheet imports
@sableui/react/styles.csswith no@sourceof its own now gets unstyled components: add@source "../node_modules/@sableui/react/dist/**/*.{js,mjs}";(path from your stylesheet) or runsable sources --write.sable doctorreports it. - Server-rendered apps: render
<SableThemeScript />(same options as the provider) in<head>and addsuppressHydrationWarningto<html>, or the first paint shows the default mode and preset until hydration. useSableTheme()with no provider returns<html>'s actual mode and preset instead of always "dark".- CSS that read a removed theme variable (
--torch-red-500,--ember-600,--soot-900,--meridian-ember-ink,--theme-shadow-xs…) gets nothing: use the generated palette (--red-500) or a semantic token. <Icon name="more-vertical">andname="x-circle"render nothing: useellipsisandxmark(or your own glyph throughcomposeIconSets).- Verdant's scrims and media pills are darker; Meridian, Prism and Ember chart
their fourth light-mode series in a deeper amber;
Presencewith nodurationruns on the theme's enter/exit tokens.
- Left and right SheetContent shows a close button by default: drop your own
header X or footer Close, or pass
Breaking: the Reicon icon set is vendored, outline first, and solid has its own subpath.
reiconIconSetno longer importsreicon-reactat runtime: its glyphs are generated into the package (pnpm icons:reicon), coordinates rounded to 2 decimals, with no visible change (pixel-compared at 480px). It carries the outline weight for every contract name and the solid weight only for the glyphs Sable's own components fill (LikeButton's pressed heart, play, pause, next, previous, stop, the overflow dots, circle-check and gem).IconProviderplusreiconIconSetdrops from 275 kB to 99 kB minified (87 kB to 28 kB gzip).reicon-reactis no longer a dependency. To migrate:variant="solid"on any other icon now draws the outline. For the full solid weight, compose the new set in front:composeIconSets(reiconSolidIconSet, reiconIconSet), withreiconSolidIconSetfrom@sableui/react/icons/reicon-solid.- Code that imported
reicon-reactdirectly, relying on Sable to install it, must add it to its own dependencies. - The glyph's
<svg>no longer carries Reicon'sreiconclass.
Breaking: Scroller scrolls natively by default.
smoothWheelnow defaults tofalse, so a vertical Scroller attaches no wheel listener and the browser scrolls it off the main thread. To keep the eased mouse wheel, passsmoothWheel. A horizontal Scroller still maps a vertical wheel sideways (wheelScroll).Progress and Meter fills slide instead of resizing. The fill is full width and slides in to the value, so a change animates
translateon the compositor rather than re-running layout every frame of the ease. It looks the same; the track clips the hidden part. The indicator's inlinewidthis now100%, with the empty share in--sable-fill-offset, so a test that readstyle.widthshould read that property instead.Edge fades stop measuring on every render. Scroller, CodeBlock and TabsList re-measured their scroll position after every render, a forced layout per instance whenever a parent re-rendered. They now measure when the region or its content resizes, when a child is added or removed, and on scroll.
ThinkingOrb: one animation loop for every orb. Orbs on a page share a single frame loop, and the ink is read on mount, resize and theme change instead of a computed-style read per orb per frame.
TrafficTrendBlock and DeviceComparisonBlock build their date formatters once. Each tick label made a new
Intlformatter throughtoLocaleDateString.Copied blocks and patterns keep
"use client".sable block <Name> --code,sable pattern <Name> --codeandregistry.jsoncut the source after its marker, which dropped the directive the package file starts with; pasted into a Next.js app, a block that uses state broke as a Server Component. The emitted import header now opens with the directive whenever the source has it.DateRangeis exported from Calendar too. It was exported beside DatePicker; Calendar's module (and so the root) now re-exports it, so a range calendar types its state withimport { type DateRange } from "@sableui/react"and never importsreact-day-picker, which an app does not depend on directly.An interactive Entity's name has a space in it. The row's accessible name ran title and subtitle together ("Refund policyhelp.atlas.example"); it is now "Refund policy help.atlas.example". Nothing moves visually.
sable searchfinds docs by title, through punctuation. Doc search matched slugs only, sosable search "next.js"found nothing; it now compares with punctuation dropped and reads each doc's title, and a doc hit's summary is that title. The--listfooter for patterns and blocks no longer promises a skeleton of "~25 lines".PanelSection leaves 4px under its header. A header action is as tall as the header, so its hover fill touched the first control beneath. Every section gains the same 4px, whether or not it has an action.
0.24.0
- Breaking: a saved theme stays in its own app. localStorage is shared
across a domain, so another Sable app's saved theme or colour mode could
replace
defaultThemeIdanddefaultPreference. An app that setsdefaultThemeIdnow stores both under keys of its own,sable-theme-id:<id>andsable-color-preference:<id>. Its visitors' saved choices reset once. To keep them, or if a script reads those keys before paint, passthemeStorageKey={SABLE_THEME_STORAGE_KEY}andcolorStorageKey={SABLE_COLOR_STORAGE_KEY}. - TextSwap, CardStack and Tilt cover changing labels, small collections and
optional pointer depth. They follow full/subtle/off motion and reuse the
current measurement and control APIs. CardStack opens and closes as one eased
movement: the height and every card travel together on the theme's slow
duration and standard curve. Tilt ramps its lean up as the pointer arrives
instead of jumping to it, holds a compositor layer only while it leans (so
text neither pops nor sits soft), and
maxAngle={0}eases it flat. Three new blocks put them to work in the Web and iOS canvases:InvoicePreviewBlock(a rolling total and a Send button that reports its own progress),ScheduleBlockandProjectCollectionBlock. - Interrupted Presence transitions resume from the displayed state. Reversing an enter or exit samples opacity and transform before canceling the old animation.
- Motion guides explain choice, performance and interruption. Retrieve them through the installed CLI or the selected published version's MCP docs tool. Canvas Still now stops JavaScript-driven motion as well as CSS motion.
- The iOS tab bar's selection is a liquid lens. Press a tab, or drag along
the bar, and the selected pill lifts, grows and refracts the tabs it passes
over. Releasing a drag selects the tab under it, through that tab's own
onClick. The bars' refraction is abackdrop-filter, which only Chromium draws; the lens bends a copy of the tabs it owns instead, so it refracts in Safari and Firefox too. At rest it is the same flat pill as before. Nothing to change:IosTabbardraws it. A sideways drag belongs to the bar (touch-action: pan-y), and the lens holds still whenMotionProvideror aMotionScopeturns motion off, as well as under reduced motion. - TrafficTrendBlock's footer fits a narrow card. Below 28rem the observation moves to its own line instead of wrapping mid-phrase.
- Chart labels no longer overlap at the end of the axis. Labels are spaced, then the last is pulled inside the plot, which could push it into its neighbour. That neighbour now gives way, so the newest date stays. It showed on phones and with long labels at any width.
- Focus finds its way back through a closed overlay. Open a dialog from a
CommandMenuitem and close it, and focus fell to<body>, because the search box it came from had gone. It now returns to whatever opened the menu.
0.23.2
- The chart docs list
tooltip'scursorandorder. Both shipped in 0.23.0 but were missing from the props onAreaChartandLineChart.BarChartlistsorder; bars always take a band, socursordoes nothing there.
0.23.1
- Every
CardListrow is the same height. First and last rows took the full card padding against the card's edge, so a list on its own had two rows taller than the rest. That was already gone beside aCardHeaderorCardFooter; now it is gone everywhere. - A
DialogHeaderin aStacktakes theStack's gap. Its own 16px margin was added on top, so the space under the header was bigger than the space under anything else in the dialog. Outside aStacknothing changes.
0.23.0
Fixes and options from building a finance dashboard on Sable.
- Charts stop stretching the page. The hidden data table took its full
height, because
sr-onlydoes not clip a table. A 92-row series added about 800px of empty scroll and could push a sticky sidebar away. - A missing value is no longer a zero.
null,undefined,""and non-numbers now break the line and the fill. They leave the tooltip, read as a dash in the data table, and no longer pull a fitted axis down to zero. - Dense charts keep up with the pointer. Below 24px per data position, the cursor, dots and tooltip track directly instead of gliding.
- Chart options.
yAxisSide,yAxisWidth,categoryTicks,domain("auto"or[min, max]),axisFormatterandreferenceLineson all three cartesian charts;lineWidthon area and line;fillStrengthon area. A series takesdashed, which with missing values gives you a forecast.tooltiptakescursorandorder. - A stacked tooltip reads top to bottom, the way the chart does. Pass
tooltip={{ order: "series" }}for the old order. - Focus stays in the overlay that opens as another closes. The closing one could pull focus back behind the new one when its opener had gone, as a menu item's has.
- The strip beside a modal is gone. Base UI holds the scrollbar's gutter while a modal is open, in every app, and nothing fixed can paint there. The gutter now takes the scrim's colour, or the surface of a sheet beside it.
- Focus rings survive
AccordionPanelandCollapsiblePanel. The clip's margin never applied, because Chromium rejectscalc()there. The clip now stays open at the sides, sobleedbuttons are whole too. Scroller's bar floats over the content. A vertical list now lines up with the field above it. Scrolling stays native.overflow-y-autoandscrollbar-quietare no longer classes on the region; a test that looked for them should readstyle.overflowY.Fieldlabels reach their control. ASelectin aFieldleft<label for>pointing at nothing, with or without an id, so a click on the label did nothing.Fieldalso kept replacing an id set on an inner control, as in<InputGroup><Input id /></InputGroup>.CardListrows match. A first or last row beside aCardHeaderorCardFooternow has the same padding as the rest, and the header's hairline sits the card padding below the title.AppShell's main takes focus in the flush frame too, so#main-contentworks as a focus target for a skip link or a route change.- Smaller fixes.
Entitydraws its focus ring inside the row, so a card no longer clips it.Card render={<button />}lays out like a card.Pillonly setsaria-pressedwhen you passselected. SegmentedToggleGroupandThemeSwitcheroptions reach 44px on touch. - A segmented switch always keeps a choice. Pressing the chosen option of a
single-select segmented
ToggleGroupnow does nothing. For an optional filter that can be cleared, use the default appearance ormultiple. - Component options.
Field labelTrailing,SelectTrigger size="sm",Dialog size="lg"(720px),Avatar fit="contain",Entity subtitleWrap,ToggleGroup stretch,MenuRadioItem indicatorSide, anddata-slot="card"on theCardroot. Segmented labels stay on one line. - Presets can set the button shape with
theme-button-radius. - Two new checks.
sable preset --checkwarns when a control fill nearly matches the surface beneath it, or a dark popover matches its card.sable lintreports aTabsListwith noTabsPanel(tabs-without-panels). sable searchfinds icons, by name and by other sets' names.
0.22.0
Vivid art avatars, and one theme fewer.
- Misses that point somewhere useful.
sable component Stacksuggested Tabs, andBoxsuggested Checkbox. A name that is a layout primitive, pattern or block now names the command that has it (sable layout Stack), and the names models bring from other libraries (Box, Container, Flex, Modal, Text, Typography, Heading) get Sable's answer. Misspellings still get the nearest match. The hosted MCP gives the same answers, and its instructions now map the CLI commands in them to its tools. - Vivid art avatars.
Avatar variant="art"was a mesh gradient under a dark scrim, which turned to mud at 40px. It is now two vivid neighbouring colours in a plain gradient, with no scrim and no shader to load, and each person still keeps their own colour from the theme. White initials sit below 4.5:1 on colours this bright. Passalt, which carries the person's name. The look comes from a newGradientArt variant="linear", for art at avatar and icon sizes. - Atelier is gone. The deprecated theme is removed, along with
atelierThemeand the./theme/atelierand./theme/atelier.cssexports. To migrate, drop those imports and anydata-sable-theme="atelier", or move tosable, the replacement it already pointed to. A storedatelierchoice falls back to your default theme on its own. The six featured themes are unchanged.
0.21.0
An agent gets its own face.
AgentAvatar. The default avatar for an AI agent's turns: a sable looking out of its den. It peeks at rest and climbs out to look when the pointer comes near. It sinks low to think and comes up to talk, so the message row needs no spinner of its own.stateisidle,thinkingorspeaking;sizeis the Avatar ladder. Passlive={false}on every agent turn but the newest, so a long transcript settles instead of watching the reader from every row. It is drawn from the foreground, background and muted tokens, so every theme and dark mode works. All agent avatars on a page share one animation loop.motion="subtle"keeps the states and drops the tracking, blinks and twitches; reduced motion draws each state still.- No more "AI" initials. "AI" in a circle reads as a person called A. I.
The ChatPanel pattern, the Bubble, Message, Marker and ChatComposer docs
and the Bubble example now use AgentAvatar, with ChatPanel's in-flight turn
driven from its
pendingflag. A newagent-initialslint rule flags an Avatar with an"AI","Bot"or"GPT"fallback.
0.20.1
Glitch adopted 0.20 and reported back. Two of the four gaps were Sable's.
TreeRow selectOnFocus={false}. WithTree selectionFollowsFocus, the arrows clicked every row with anonClick, including Glitch's artboard rows, whose click switches the active artboard and expands it, so the tree changed shape as you arrowed through it. A row that opts out is only focused as the arrows pass; Enter, Space and a pointer click still activate it.- Code follows compact density.
text-mono-mdandtext-mono-captioncompress to the chrome sizes (12px and 11px) inside a compact scope, as the body and label tiers already did. A CodeBlock in a compact settings screen stayed at 13px beside 12px inputs. Code keeps its own weight;mono-lgandmono-xlstay metric display.
0.20.0
A second audit of Glitch, a design tool built on Sable, after its upgrade to 0.19. What it turned up was mostly Sable's: checks that disagreed with the app's own lint scope, a doctor note that doesn't apply to Next.js, and two behaviours an editor needs that Sable didn't have, so the app wrote them by hand.
- Menu rows take a
shortcut.<MenuItem shortcut="Ctrl S">Save</MenuItem>ends the row with the command's key, muted and end-aligned, so a column of them lines up and stays muted under the highlight. Text or ghostKbdcaps. OnMenuItem,MenuCheckboxItemandContextMenuItem. It is a label: bind the key yourself. Apps used to push a span right by hand. Tree selectionFollowsFocus. The arrow keys select the row they land on, the way a layers panel does, instead of only moving focus. The row gets a click carrying the key's Shift, so its ownonClickstays the one selection path and Shift+Arrow extends a range. Ctrl/⌘+Arrow moves focus only. A disclosure-only row or aTreeAddRowis only focused, never clicked. Passaria-multiselectablewhen Shift extends. Glitch handled ArrowUp/Down on every row to get this.sable checkuses the app's lint scope. Without--ignore, it takes the--ignoreglobs from the package.json script that runssable-lint, and says so on the lint line. A design tool's document colours live in its source; itslint:designskipped them, andsable checkfailed on them. That taught the next agent to "fix" the artwork. Still no config file: the globs come from a command anyone can read, and--ignorereplaces them.- No dedupe note for Next.js. Next resolves React to its own bundled copy,
so
sable doctorno longer asks for aresolve.dedupethat doesn't apply.doctor --fixalready skipped it. - Checks find a menu bar built from separate menus. Two or more titled
menus side by side with no
Menubar(literal triggers, or a local wrapper likeBarMenu label="File"used more than once) is listed under rebuilt parts. A title is the signal: a row menu repeated down a list is not a menu bar. Adoption now offers aTopBarWorkspaceBarfirst, thenAppHeader.
0.19.0
A compact work tracker, built on Sable by an agent, rebuilt about thirty parts Sable already ships. Every gap behind those rebuilds is fixed here: a lookup that couldn't find parts, checks that couldn't see the app's own CSS, and components that had no variant for a dense layout.
--type-baserebuilds the type scale at another base size. Set--type-base: 14(a unitless px number; the default is 16) on:root, a[data-sable-theme]scope or in a preset'stokens.shared, and every page tier scales bybase / 16, including each theme's own tier values and any per-tier override. Spacing follows, because the baseline step is derived from body size. The workspaceui-*tiers stay absolute px, and compact still only ever shrinks text. Don't change the root font-size to get a denser UI: it scales every rem in the app, not just the type.- New
text-ui-title(14px / 600 / 20px leading, tokens--type-ui-title-*). Inside a compact scopetext-title-lgmaps to it. It used to collapse to 12px, the same size as the description under it. - A comfortable scope inside a compact one gets page type back.
<Density value="comfortable">around a reading view (an overview, notes, docs) in a Workspace used to reset the control sizes but not the text, which stayed at 11px. - Tables follow density. TableHead's height, TableCell's padding and the
table's text tier read density tokens. In a compact Workspace that is a 28px
head, 32px rows and
text-ui-body, with no consumer CSS. - Compact on a touch screen uses the comfortable control ladder. Under
pointer: coarsethe 24/28/32 ladder, measured from mouse-driven editors, becomes 28/32/40. - Workspace's body is its only stretching row. The grid always assumed a
toolbar, so a Workspace without one put the body in the auto track and
clipped the status bar. The root is now a flex column, which holds for every
combination of slots. Migration: drop any
grid-template-rowsoverride on the Workspace root. - Workspace and Panel on small screens. Workspace takes
bottomNav, a row shown belowlg. Panel takesnarrow="sheet" | "hidden"withopen,onOpenChange,sideandbelow: below the breakpoint an inspector becomes a Sheet and its content renders once. A Sidebar moved into that sheet fills it. NewuseMediaQueryanduseBelowBreakpointhooks are exported. A WorkspaceBar can also sit at the top of one column, so the inspector runs the full height beside it, as in Linear. - DataTable groups rows.
groupBy,groups(each with an icon, an action anddefaultExpanded),collapsibleand controlledexpandedGroupsgive one table with one header and a header row per group that carries a toggle, a count and an add action. Sorting applies within each group, and select-all acts on the visible rows. - The Sidebar rail is one grid, at either density. New
SidebarGrouplabels a run of items, so a rail no longer has to borrow SideNav for its groups. NewSidebarAccountis the account row: the avatar in the icon slot, the label and one detail line on the label column, and an up-down chevron. Make it the account Menu's trigger and put Settings, appearance and sign-out in the menu. Inside a compact scope such as a Workspace, the whole rail takes 32px rows and 20px icons, and the header matches the chrome bar's height. Before this, a tool's footer mixed a ghost Button, an Entity patched with[--entity-py:0]and a Badge, and the rail's icons and labels landed on four columns. DashboardPage uses the new parts. - Underline tabs in a WorkspaceBar sit on the bar's hairline. They used to
draw a second, shorter rule that stopped after the last tab, with the mark
floating above the bar's edge. Tabs guidance now steers a view switch in tool
chrome to
variant="pill". MenuSubmenuTriggertakesicon, as MenuItem does, so a submenu row lines up with the icon rows around it.- New icon
chevron-up-down(Lucide'schevrons-up-downresolves to it). - Avatar:
2xs(20px) andxs(24px),shape="square"for a workspace, project or org mark, and a palettetonefor the initials fallback. - DatePicker:
size="xs"for a property row, andformatOptions(Intl.DateTimeFormatOptions) for the trigger text. - CollapsibleIndicator needs no setup. It no longer needs the
group/collapsibleclass on its trigger. Newdirection="end"gives a side caret that turns down on open, mirrored in RTL. - Icons: new
users,archive,kanban,sliders,helpandsidebar. About 90 Lucide and Heroicons names now resolve to Sable's (settings→gear,menu→bars,check-circle→circle-check). A development build warns once for a name the set can't draw, and names the nearest ones. - A toast clears an open side sheet on a phone. It used to move to the
top, over the sheet's close button. It now sits below the sheet's header
inset, tunable with
--sable-sheet-top-inset. - Workspace surfaces derive in oklab. The canvas, panel, field, hairline
and shell-ground mixes used
color-mix(in oklch, …). On hex colours Chrome resolves that to a colour with no hue, painted as 0°: a brown cast on a cool graphite preset's canvas. Bundled themes write oklch and never showed it, but presets and apps write hex. The heatmap's empty cell moves to oklab too. --nav-heightis defined (56px). AppShell's bottom padding read it with no fallback, so the padding was dropped.- Agent tooling finds parts.
sable component PropertyRow(orPanel,WorkspaceBar,CollapsibleTrigger) answers with the parent component; it used to be ERR_UNKNOWN_COMPONENT. Search indexes parts, and an exact name ranks first. Newsable icon [name]lists the drawable names and resolves aliases. sable checksees rebuilt parts. A new "Rebuilt parts" block reads class names in the app's markup and the app's own CSS. It flags a breadcrumb, top bar, property row, status dot or avatar stack built by hand; fixed bar and row heights; selectors reaching into Sable's components; and a chevron rotated onaria-expanded. Icon names passed through an app's own wrapper are checked too. These are notes, and the skill asks the agent to answer each one.sable checkwarns on one-mode colour. Colour tokens set for light with no dark value now produce a warning, and an app with no ThemeSwitcher gets a note. The skill now ships both modes, as a preset with a ThemeSwitcher under SableThemeProvider, unless the brief rules one out.- New pattern:
TrackerPage. A records workspace in the tool register, the reference shape for an issue tracker, a support queue or a pipeline. It has a Sidebar rail of grouped views ending in an account menu (with appearance), Breadcrumbs and pill Tabs in WorkspaceBars, a filter row, one grouped DataTable, a docked inspector of PanelSection property rows with a pinned comment form, and a comfortable reading tab. Below lg the rail and the inspector become sheets and BottomNav takes the last row.sable pattern TrackerPage --skeletonhas the tree. Pattern metadata takeskeywordsnow, so "issue tracker", "like Linear" or "support queue" lands on the shell first. - Guidance for a records workspace.
building-a-toolnow covers the shape of an issue tracker, a support queue or a pipeline: the shell, the decisions that keep it one system (one rail grid, the account as a row and a menu, one grouped table, an inspector that renders once, page-sized reading tabs, pill tabs in chrome, both modes,type-basefor "compact") and a "you want / use / not" table built from what a real build rebuilt. The skill routes a tool, tracker or "like Linear" brief there;building-a-pagepoints trackers to it;creating-a-presetexplainstype-base. sable checknotes compositions another part does better: SideNav inside a Sidebar, an Entity or Badge in the rail's footer, a DataTable per group inside Collapsibles, underline tabs in a WorkspaceBar, and a native date input. Notes, never failures. On the build that prompted this release they flag four drifts, each at its line.- The skill searches before it builds. It looks up a part by its plain name and role before writing any class or component for it. A style or layout disagreement means using the variant or prop, or reporting the missing variant, never rebuilding the part.
- Migration: run
sable sources --writeafter upgrading. Panel now imports Sheet, so the generated sources file is stale until it is rewritten, and doctor says so.
0.18.0
A year at a glance: the contribution graph, built so a phone, a keyboard and a screen reader can all read it.
- New:
ActivityHeatmap. A calendar heatmap: one value per day as a grid of weeks by weekdays — the GitHub contribution graph, for any daily measure. Pass days as"YYYY-MM-DD"with a value (or a date-to-value map); levels come by quartile, as GitHub's do, unless a day brings its own.categoriescolour days by source instead of intensity, andmergeActivitytags each day with its source orboth. The grid is a realrole="grid"table with one tab stop: arrows step a day or a week, each cell is named with its date and value, and the tooltip shows on hover, focus and tap. It fills the width down tosize; narrower, the weeks scroll sideways and open on the latest, while the weekday labels stay outside the scroller. Days are read as calendar days, never instants, so no time zone shifts one. Prompted by a consumer site that hand-built one from 371 buttons and broke on phones. - New:
@sableui/react/adapters/github.fromGitHubGraphQLandfromGitHubContributionsApiturn GitHub's contribution data into heatmap days. Pure transforms: fetch on your server and pass the result in. - New:
activityLevelsandactivityGrid. The level scale and the week grid behind the heatmap, exported for a custom legend, a summary stat or another layout. ChartTooltipContentwith no rows draws just its label, so a caller's own content sits on the standard tooltip card.- Layout primitives take
classNameover their own layout. Row, Stack, Grid, Columns, Col, Center, Region, Page, Bleed, AspectBox, Spacer, SplitPane and GridOverlay setdisplay, direction, alignment, gap, inset, cap, ratio and size inline, and an inline declaration beats every utility, so<Row className="max-lg:hidden">orhidden md:flexsilently did nothing. The grid and split rules instyles.csswere unlayered too, sohiddenlost to them whatever its specificity. Layout now lives in classes merged throughcn(), with prop values passed as CSS variables those classes read, and the layout rules sit in@layer components. A utility inclassNamewins at any breakpoint (max-md:flex-col,md:gap-6,lg:grid-cols-3); the props work as before. Migration: aclassNamethat used to be ignored on a primitive now applies, and a test readingstyle.gaporstyle.maxWidthreads--sable-row-gap,--sable-region-maxand the like instead. PageHeader size="lg". A display-size page title for an editorial page (a personal site, a marketing page, an article index):text-display-lgover atext-body-lglede capped at the prose measure.md, the default, is unchanged. Keeplgoff app routes: display type stays out of product chrome.SectionHeader size="lg". The major-section tier,text-heading-2over atext-body-mddescription, for an editorial page's sections under aPageHeader size="lg". It stops at heading-2 because heading-1 is the page title's, one per route. Actions stay centred on the title's first line at every size.SearchInputtakessize(md|sm|xs), on the same ladder as Input, Select and Combobox.smis the toolbar field on--control-sm,xsthe inset tool-panel field; the magnifier, padding and clear button scale with it and stay centred. Before, it was fixed at 40px and matched nothing in a toolbar.Pill size="lg". A 32px chip on--control-sm, the toolbar height Buttonsmand SearchInputsmshare, so a filter row beside a search field is one height in either density.MediaImageandMediaTiletake a crop focus.positionsets where the image sits in its frame and takes any CSSobject-positionvalue ("35% 50%","top"), besidefit. MediaTile forwards it to its cover.- Dialogs return focus to whatever opened them.
Dialog,AlertDialogandSheetrecord the element focused whenopenturns true and send focus back to it on close, with or without a trigger. Before, a dialog opened from your own button lost focus to the page whenever a field inside autofocused, CommandMenu's included. An explicitfinalFocusstill wins. DialogContent keepMounted. Keeps a closed dialog's content mounted and hidden, so a half-written draft survives Esc or a stray click and is still there on reopen. Opt in for drafts the user may come back to.- Eight more icon names.
briefcase,layers,microphone,video,broadcast,newspaper,paletteandgamepadjoin the contract, mapped in the Reicon set, for a portfolio that imported reicon-react directly for its work, audio, video, live, press, design and games sections. - Setup writes the skill into the instructions every task reads. A skill
loads only when a request names it, so "add a pricing page" in a wired app
could skip it: the agent saw Tailwind and a stylesheet, wrote its own Button
and Modal, and put Sable's tokens on them.
sable setup --agent(andsable init) now also writes a short managed block intoAGENTS.mdandCLAUDE.mdthat sends every UI request through the skill. Only the text between its<!-- sable:begin -->and<!-- sable:end -->markers is Sable's;--no-instructionsskips it. Migration: from 0.17, runpnpm update @sableui/react --latestthenpnpm exec sable initonce; after that,sable upgradedoes both. - New:
sable upgrade. One command to update: installs the latest@sableui/reactwith the project's package manager, then runs the new version'sinit, so the skill entries, the instructions block and the checks are the new release's. Safe on an app that already works. - "Move this app onto Sable" is a request the skill understands. It checks
the app, shows the swaps once, asks, and moves them a screen at a time; it
never starts a new build.
initsays so when an app's UI barely uses Sable, and its next step for a ready app is now a plain request, not mode syntax. - Adoption, in
sable check,sable gradeandsable doctor. How much of the UI composes Sable, which app-built components do by hand what a Sable component already does (aModal→ Dialog, aSearchBar→ SearchInput, behaviour first), and what the app already stands on: nothing, its own primitives, or another library. Never a failure.checklists the swaps and, when adoption is low, makes "ask the user about moving onto Sable" the first review step;doctorwarns. The skill andsable docs auditing-an-appsay how to put the choice to the user, more firmly when the app has no foundation of its own. - The skill triggers on any UI work in a Sable app. Its description now says so, even when the request doesn't mention Sable.
sable init --hook. Adds the Claude Code Stop hook that runssable checkbefore a task can end. Run in a terminal, init asks;--no-hookdoesn't.CodeBlock wrap. Wraps long lines instead of scrolling them, for prose in a code face: a prompt to paste into an agent, a log line. Code keeps scrolling.
0.17.0
Knowing where you are: a rail that follows a long read, and an approval that shows an agent's call the way agent products do.
- New:
SectionRail. A slim vertical rail of dots beside a long read — a case study, an essay, a long landing page — one per section. A bar marks the section being read and glides to the next as the page scrolls; hovering or focusing a dot names it in one tooltip that travels between dots (TooltipGroup). Picking a dot jumps there with the page's ownscroll-behavior(instant under reduced motion), and the bar goes straight to the pick rather than stepping through every section in between. Passrootwhen the content scrolls inside an element: only that element moves, never the page around it. Links are real#idanchors, so it works without script. Promoted from carldecaire.com's case-study rail. - New:
useActiveSection(ids, { offset, root }). The scroll spy behind it, exported for a contents list you draw yourself. The current section is the last whose top has crossed the reading line; at the end of the scroll the last one in view wins, so a short closing section is still reachable. ApprovalBlockasks the way agent products do. It wraps the call's ownToolCall— tool name and exact input, open on arrival — that turns to Allowed or Denied once answered, and offers Deny / Always allow / Allow once. The details table and the "for the rest of this chat" checkbox are gone;onApprove({ remember })is unchanged, withremembernow true for Always allow. The example is an agent asking to run a command.
0.16.0
Five pieces of the calm, product-chrome look that AI and B2B tools share: tick-bar budgets, pastel art, filled fields, an inset frame and a dither texture. Each is told through the theme, so every preset can wear it.
- New: segmented meters.
<Meter segments={40} />draws the bar as a row of ticks — a spend limit, credits left, a lead score, months of data — read at a glance. Any reading aboveminshows at least one tick, and when the value changes the fill runs through the ticks from the edge it is leaving. Size the count to the track (about one tick per 8px) so a tick stays taller than it is wide.shape="ring"ignores it. - New:
GradientArt intensity="soft". The same art as a pastel of itself: lifted and quieted, bright in dark mode too. It is a stage for floating chips, logo tiles and card header bands, not a surface for text. - New: the field tokens,
fieldandfield-border. Every text field — Input, Textarea, Select, Combobox, SearchInput, NumberField, OTPField, DatePicker, InputGroup, ChatComposer and CommandMenuTrigger — now paints this pair, outlined on the card by default exactly as before. A theme fills them all at once with--theme-field: var(--muted)and--theme-field-border: transparent. Canvas has a matching Fields control (Preset / Outline / Filled), and presets may set both hooks. A hand-built field wearingborder-field-borderis caught bylookalike-controllike one wearingborder-input. - New:
AppShell frame="inset". Fromlg, the rail and a small gap sit on one ground and main becomes a rounded, bordered panel that scrolls inside itself while the rail stays put. The Sidebar in the slot drops its border and fills the row, and its footer rule spans the content column rather than running out into the gap; belowlgnothing changes. The ground is a new derived token,shell-ground— one step off the rail, so the panel reads as lifted even in themes whose rail is the page colour; tune it with--theme-shell-ground. Inset moves the desktop scroll fromwindowto#main-content, so scroll listeners (restoration, scroll-to-top, scrollspy) must targetmain. - New utility:
texture-dither. A faint field of tiny squares that dissolves, painted inborder-strongso it follows every theme — decoration for behind an empty state or a page header.--dither-fade,--dither-sizeand--dither-colortune it. - Status and tone colours at graphic strength. Meters, segmented bars,
status dots, chart series and the soft tints behind badges, banners and
notes were painted with the label fills — dark enough to carry white text,
so in light mode they read brown, forest green and plum. They now read new
-marktokens (success-mark,tone-warning-mark,destructive-mark,tone-info-mark,tone-1/2/3-mark): the same hue lifted and saturated, held to a 2:1 visibility floor on the page instead of a text ratio. Every bundled theme tunes its own in both modes, and keeps its character — Ember's olive, Poppy's pastels and Atelier's grey tone stay theirs; a preset sets--theme-*-markor gets one derived from its fill. Labels are unchanged: solid badges, banners and buttons keep their fills, and text keeps-text.markFor(from@sableui/react/presets) derives a mark the same way, and Canvas moves the marks with any tone it generates. - Canvas: a brand colour no longer flattens the tones. Info is treated as the status it is: it leans toward the brand within the blues instead of being repainted (Brand only made it the brand, so a green brand's info read as success; the schemes spun it anywhere). A status also keeps 25° off the brand's own hue when its band allows, so a green brand gets a teal success rather than a second copy of itself. And Brand only is a family you can tell apart — a deep brand, a lighter neighbour and a muted sibling — instead of one hue in four near-identical depths.
- Table:
numericon TableHead and TableCell is now documented. - New: search matches light up. Combobox and CommandMenu paint the typed
text in each row's label, on a tint of the theme's
highlight. It uses the CSS Custom Highlight API, so rows get no<mark>wrappers and their accessible names stay whole; browsers without it simply show no paint. Combobox lights only what was typed, not a label a pick filled in.highlightMatches={false}turns it off on either. - New hook:
useMatchHighlight(query, { selector }). The same paint for a results list you filter yourself, such as a SearchInput over a table: it returns a callback ref for the results container. - Textarea: text you are editing no longer rewraps above the caret when
the field sits inside a
text-prettyortext-balanceblock (text-wrap-style: stable). ChatComposer gets the same fix.
0.15.0
Motion with some life in it: small things that turn on now land like events, told through the theme rather than one-off styles, and chat reactions that answer you the way a messaging app does.
- New:
LikeButton. A pressed-or-not toggle for a like, a star or a save, with its count. Pressing it on fills the glyph, which blooms past its size and settles while a ring opens and dots spray out in the theme's palette families, and the count rolls up a digit; pressing it off is quiet. It shows the viewer's like at once and goes back tocountexactly whenevercountchanges, so pass the server's total.icon,tone(a palette family) andlabelmake it a star or a save;motion="subtle"keeps the fill and drops the flourish. - New recipe:
motion-bloom. A small glyph landing in its on state grows from nothing to 1.2 and settles. Remount the glyph (a changingkey) to replay it;--motion-bloom-delaylets a ring lead. Expressive. - New:
<Burst>. The follow-through behind a bloom — a disc that hollows into a ring, then dots thrown outward — coloured by palette families, so it re-themes. Plays when itstriggerchanges, never on mount, and renders nothing below full motion. - Toast: a status glyph instead of an accent bar. A typed toast now leads with the same glyph and ink as Note and InlineStatus (success, info, warning, and the destructive glyph for errors), and it blooms in once the card has landed — and again in the spinner's place when a loading toast settles. The coloured bar down the leading edge told the type by colour alone. A stacked deck now springs as cards step back and fan out; leaving toasts still take the standard curve.
- Feedback: the chosen rating mark blooms as it is picked.
- Icons:
replayandmotion. A single circular arrow for watching something again from its start (refreshreads as fetching again), and a play mark in a dashed ring for a motion or playback setting (sparklesreads as AI). - New:
ReactionPickerandMenuReactions. The quick row of emoji you react to a message with.ReactionPickeris a toolbar for a popover or a hover bar;MenuReactionsis the same row as checkbox menu items, for the top of the menu a message opens on right click or long press. The emoji bloom in one after another as it opens and magnify under the pointer. - Bubble reactions celebrate. When a
BubbleReactionbecomes the reader's own — pressed, or added already on to a row that has rendered — the emoji blooms and copies of it spray out, and the count rolls. Taking a reaction back is quiet, and the reactions a page loads with stay still. Newlabelnames a pill ("Party, 3"); newBubbleReactionAddis the smiley pill that opens a picker.BubbleReactionsnow hides itself while empty, so render it for every message: staying mounted is how the first reaction still celebrates. A Bubble shows a focus ring when it is made focusable as a menu trigger. - New block:
MessageReactionsBlock. A thread you can react to from a right-click / long-press menu or the add-reaction pill. <Burst>:particleandplayOnMount. Throw copies of a glyph instead of dots (no ring, travelling upright), and play once on mount for a glyph that exists because of the action.- Icon:
emoji. A smiley, for an add-reaction control. - Motion guidance: amplitude scales with smallness (a glyph travels far, a
surface barely), a moment is staged (main object first, follow-through
after), and only a person's own choice is celebrated. In
sable docs motionand DESIGN.md.
0.14.0
Motion that is crafted by default and calm on request, and the first pieces for agent products.
New: two motion levels, and
subtle. Motion is now essential (colour and focus feedback, press, overlay arrival, disclosure, loaders, chart hover) or expressive (glides, rolling numbers, drawn ticks, shakes, staggers, chart arrival and morph, scroll reveals, spring overshoot). Expressive durations also multiply by--motion-expressive, which the newsubtlepolicy sets to 0, andsubtletakes the overshoot out ofease-springandease-bounce. Sofull(the default) plays both,subtlekeeps every answer and drops every flourish, andoffstills everything. Set it app-wide with<MotionProvider policy="subtle">, for a region with the new<MotionScope level="subtle">, or per component with a newmotionprop. Scopes and props can only turn motion down:fullon a component means "inherit", so nothing can override a reader's reduce-motion setting.useMotion()gainsexpressive, anduseMotionLevel(motion)resolves a component's prop against everything around it.RevealandTextRevealare expressive: undersubtlethe content is simply there.New recipes:
motion-glide(one indicator travelling to the selected option),motion-shake(a refused answer, driven by the newuseShake()),motion-tick(a mark that draws itself in),motion-appear(a small control mounting in place, through@starting-style),motion-arrive(items a user action adds to a list, staggered) andmotion-size(easing between sizes, with the newuseAutoSize()measuring a label change).sable utility <name>has each one.New:
NumberTicker. A number that rolls to its new value, digit by digit, keyed by place value, so 999 → 1,000 rolls the columns it keeps and grows the one it gains. It formats throughIntl.NumberFormat, reads as plain text to assistive tech and copy, and lands without a roll undersubtle.NotificationBadgecounts and thePieChart/RadialChartcentre values now roll through it.New:
ConfirmButton. An inline two-step for low-stakes destructive actions. The first press arms it: the label changes, the button eases to the new width, a thin line drains while it waits, and the armed state is announced. A second press withintimeoutconfirms; Escape, a click elsewhere, blur or the timeout disarms it, and a double-click cannot confirm.DestructiveActionModalstays the answer for high stakes.New:
TooltipGroup. Wrap a row ofSimpleTooltips and they share one tooltip: moving along a toolbar, it glides to the next button and its label slides across instead of closing and reopening.Selections travel.
Tabsrenders a gliding indicator in both variants (the underline and the pill), and a changed panel fades in. Single-selectToggleGroup appearance="segmented"has one fill that glides and resizes to the pressed option.ThemeSwitcheruses the same recipe, andCarousel's active dot eases its width.SideNavandSidebarNavdraw the current page as one fill that glides to the new item when the page changes inside a persistent layout. Menu, Select and Combobox highlights keep their glide, which is now expressive.Calendar pages with direction. Going to the next or previous month slides the old grid out toward the edge it leaves by and the new one in from the other, over a short travel with a fade (react-day-picker's
animatemode on Sable keyframes, mirrored in RTL). It is on at full motion only (aDatePicker's calendar follows the app or scope policy);Calendartakesmotion, and an explicitanimatestill wins.Sidebar collapse eases. Collapsing to the icon rail eases the width instead of jumping 192px in one frame, so the content beside it visibly takes the room. Icons stay on one column throughout and labels fade back in on reopen.
Sidebartakesmotion;subtlesnaps.Focus outlines ease in.
motion-interactivenow also transitionsoutline-color,outline-widthandoutline-offset, so a keyboard focus ring drawn withoutline-*grows from the element's edge over the fast step instead of appearing in one frame. Instant under reduced motion.States finish their story.
OtpFieldshakes once when it turns invalid, and its digits take the destructive colour.CodeBlock's copy button swaps to a check in place and announces "Copied".Feedbackshows a drawn check and a thank-you before it closes. A loadingButtonkeeps its width: the spinner lays over the label instead of replacing it. TheChatComposergrows with an ease, and its send and stop swap in one button.SearchInputandCommandMenu's clear buttons appear rather than pop. Expanding aTreefolder settles its rows in, staggered. TheCheckboxtick draws in from its leading stroke.Fixed: disclosure chevrons snapped. Tailwind v4's
rotate-*writes the standalonerotateproperty, whichmotion-interactivedid not list, so the chevrons onAccordion,Collapsible,TreeandShowMorejumped 180° in one frame while the panel beside them eased. The recipe now listsrotate.DataTable's sort chevron rotates instead of swapping glyphs.Chart hover dims mix toward the surface. The bars, slices and rings that are not under the pointer now step back by mixing toward the surface colour instead of fading, so gridlines no longer strike through a dimmed bar and a dimmed ring stays solid over its track.
Deprecated:
animateon charts. Every chart takesmotioninstead.animate={false}maps tomotion="subtle"(no arrival or morph, hover feedback kept); usemotion="off"to still everything.Motion declaration is a build gate. A component that reacts to the pointer or carries state must declare its four motion slots (arrival, response, transition, activity) in its meta, or decline each with a reason. It used to be a report, and 36 components said nothing; all of them now answer.
Docs: a new Interactions page shows the catalog by task (inspect, select, confirm, recover, succeed, finish loading, type, point, notify). Every preview has its own motion level and Replay. Playgrounds gain a Motion row and Copy for agent, which copies the exact JSX, imports, install commands, the active theme and
sable component <Name>. The Motion page sets the policy to Full, Subtle or Off and shows the two levels side by side.New:
ToolCall. One tool an agent called, as a quiet row inside its turn: a status glyph, what it did in plain words, the tool's name in mono, and one word for where it is (running,awaiting,complete,error,denied). Input and output sit behind a disclosure, as formatted JSON or as a rendered result passed aschildren. A failure's message shows under the row without opening anything. When a call settles, its spinner swaps for the outcome in place (motion-icon-swap), and that's the only motion in the row. The change is announced once, and a thread restored from history announces nothing.New:
ApprovalBlock, in a new "AI & agents" block family. An agent asking permission for one call: the question in plain words, what can't be undone, the call's details, an "allow for the rest of this chat" Checkbox, and Deny / Allow. Neither button is focused on arrival. After a decision, one status line replaces the buttons, focus moves to it, and it's announced.onApprove({ remember })andonDeny()report the answer.
0.13.2
What to use instead, wherever a component is the wrong pick.
- New: a don't can name its replacement.
usage.bestPracticesentries takeinstead: ["Banner", "Dialog"], set on 48 don'ts across the families that get confused: Toast, Banner, Note and InlineStatus; Dialog, Sheet and Popover; Select, Combobox and DisclosurePicker; Progress, Meter, Spinner, Skeleton, PageLoader and ThinkingOrb; Tabs, Stepper and the navs; Checkbox, Radio, Switch and Toggle. The build fails if a name isn't a real component or subcomponent, so a rename can't leave a pointer to nothing. sable component <Name>ends with "not for". At compact detail, the default, it now lists those don'ts in one line each with what to use instead (✗ Use Select for very large or fuzzy lists. → Combobox). Before, the don'ts only showed at--detail full.--jsoncarries the same list asnotFor, and the markdown mirrors end each one with→ use **X**.
0.13.1
Sable from any agent, and setup that starts with sable init everywhere an agent looks first.
- New: a hosted MCP server at
https://www.sableui.com/api/mcp. Three tools,search,getanddocs, give the same answers as thesableCLI, with nothing installed first. Passversionto match the version a project has installed; each answer comes from that version's own published CLI. Add it withclaude mcp add --transport http sable https://www.sableui.com/api/mcp(Cursor, VS Code and Codex take the same URL). Once Sable is installed, the CLI stays the default: it's offline and always matches node_modules. - The agent entry points lead with
sable init.llms.txtand the Sable skill now install withpnpm add @sableui/reactand thenpnpm exec sable init, and keep the manual steps as whatinitdoes. Before, they listed the manual wiring only, so agents did by hand what one command does. - Fixed:
llms.txtcalledIconProvideroptional. It's required for icons. Without it every<Icon>renders nothing.
0.13.0
Tone scales that keep their steps apart, whatever the tone.
- Breaking: tone scales are one ladder, and the tone sits on its nearest
step. Every tone scale (
tone-1-*…tone-3-*,tone-info-*,tone-warning-*,success-*,destructive-*) now uses one shared ladder of depths per mode, sobg-tone-1-100andbg-success-100are the same depth. The tone lands exactly on the step nearest its own lightness, not always on 500. Before, a tone near one end of the range squeezed five steps into the little room left past it: in dark mode, light status colours (Poppy, Prism) had 600–950 almost indistinguishable, and deep tones in light mode crowded 800–950. Now the steps either side stretch to keep the ladder's ends. Migration: where you used*-500to mean the tone, use the tone token (bg-success,text-tone-1). The other steps keep their roles (100 a wash, 700/800 text), but may be a little lighter or deeper than before. - Tone steps stay in sRGB for any hue. A tone scale's chroma falls from the tone toward each end of the ladder, under a bound fitted per step over the whole hue circle, so a customised or app-defined tone can't push a step out of gamut. This replaces the fixed caps on the light steps.
- Yellow sits a little deeper in dark mode (500 at L 0.78, was 0.82), so its 800–950 no longer crowd against the ink.
- The palette tests hold spacing. Neighbouring steps of every scale, in every theme and mode, are at least 3 apart in OKLab (the 50→100 washes 1.4), and every tone sits exactly on its nearest step. Before, the only check was that each step moved 0.005 in lightness, and 73 of 224 scales had a pair of neighbouring steps under 3 apart.
0.12.0
Getting to a working first component, finding the right example, moving over from shadcn, and the components that move called for: Menubar, NavigationMenu, InputGroup, ButtonGroup, CaretMenu and bottom-sheet snap points.
- New:
sable initwires an app in one step. Run it afterpnpm add @sableui/react. It installs what is missing with your package manager (React, Tailwind and its build plugin), puts the CSS imports in order, adds React dedupe and the Tailwind plugin to a Vite config (apostcss.config.mjsfor Next.js), loads Figtree and DM Mono, and wraps a Vite starter's<App />inIconProvider. Then it installs the agent skill and runssable doctor. What it can't change safely, such as a Next.js layout or an unfamiliar config, it prints as the snippet and the file it belongs in.--dry-runshows every change first. - New:
sable doctor --fixapplies the same fixes to whatever doctor flags in an app that's already set up, then checks again. A fix that didn't take is reported as unverified, not done. Doctor also gains two warnings: Tailwind missing from the Vite or Next.js build (css:build), and the theme's fonts never loaded (fonts). sable searchfinds examples. Every component example is searchable by what it shows:sable search "multiple selection"or"server errors". A hit names its own retrieve command,sable component Combobox --example "Multiple selection", which prints that one example with its imports. Examples are capped per component and per list, so a component name still lands on the component.- New: a migration guide from shadcn/ui and Radix.
sable docs migrating-from-shadcnmaps what changes everywhere (asChildbecomesrender, values become arrays, menu rows takeonClick,data-[state=open]:becomessable-open:), the tokens, lucide icons, and every shadcn component to its Sable counterpart, or what to compose where there isn't one.converting-an-apppoints to it. - New lint rule:
shadcn-leftover. Flags imports still coming from the old stack (@radix-ui/*,@/components/ui,lucide-react,sonner,vaul,cmdk,input-otp,next-themes) and anyasChildprop, which a Sable trigger silently ignores. A deliberate keeper takes a reasoned disable. - The agent skill has a
fixmode.$sable fix <target>(or/sable fix) repairs one scoped defect on a short path: it reads only the contracts the change touches, then runssable checkon the changed files and looks at the affected state. It escalates topolish, and its full finish checklist, when the change grows. Runsable setup --agent --updateto refresh installed entries. - ChatComposer can send attachments without text. Pass
allowEmpty={files.length > 0}and send enables on the files alone;onSendreceives"". Tie it to the pending files: a constantallowEmptyleaves send enabled with nothing to send. - ChatComposer: on a phone or tablet, Return starts a new line. A soft
keyboard has no Shift+Return, so on a touch device (
pointer: coarse) the defaultsendOn="enter"now behaves asmod-enter: Return breaks the line, the send button sends, and ⌘/Ctrl+Enter still sends from a hardware keyboard.aria-keyshortcutsreports whichever is in effect.footernow also takes a function of the send key in effect, so a keyboard hint can stay true:footer={({ sendOn }) => sendOn === "enter" ? "Enter to send" : null}(null removes the row). Migration: a fixed "Enter to send" footer is wrong on touch; switch it to the function form, as ChatPanel has. - Combobox documents server-backed search. A new "Async search" example
and the props it uses (
filter={null},onInputValueChange,itemToStringLabel) show how to show results a server already filtered. - New:
Menubar. An application's row of menus (File, Edit, View) over Base UI's Menubar. Each menu is an ordinaryMenuwith aMenubarTriggeras its title. The bar is one tab stop with ←/→ between titles, and once a menu is open, pointing at a neighbour opens it. - New:
NavigationMenu. A site header's primary nav: a bar of links and triggers, where a trigger opens a panel of links on hover, click or Enter. One shared panel moves along the bar and resizes to each trigger's content. Links take your router's link throughrenderand mark the current page withactive; panel rows take adescription. Belowmd, hand the same destinations to a Sheet with a SideNav, as the docs show. - Pagination can render real links.
pageLink={(page) => <Link to={?page=${page}} />}makes every page control a link that crawlers follow and readers can open in a new tab. The current page keepsaria-current; the arrows at the ends stay disabled buttons.onPageChangeis optional withpageLink. - New:
InputGroup. An Input with addons inside the same field: a prefix or suffix ("https://", ".com"), an icon, or a borderless Button such as copy or reveal. One shell, one focus ring, one error state; inside a Field, the label, description and error reach the Input. - OverflowMenu documents responsive actions. Secondary actions inline
when the container is wide, folded into the menu when it's narrow, the
primary action always inline.
sable search "responsive action menu"finds it. - Sheet: snap points for bottom sheets.
<Sheet snapPoints={[0.4, 1]}>gives a bottom sheet stops between closed and fully open; a swipe moves between them, andsnapPoint/onSnapPointChangecontrol the active one (newSheetSnapPointtype). With stops the sheet shows a drag handle, and the part below the screen becomes padding, so content scrolls andSheetFooterstays visible. Other sides ignore stops and a development build says so. Every bottom sheet now also rides above the on-screen keyboard (measured fromvisualViewport). - New:
CaretMenuanduseCaretTrigger, mentions and slash commands on any text field. The hook watches a Textarea, Input or ChatComposer (fieldRef) for a trigger character at the caret (@,/at the start,#) and reports the query. CaretMenu shows suggestions there, driven by ↑/↓, Enter, Tab and Escape while focus stays in the field. The app supplies the items and what choosing one does:trigger.replace("@Sam Rivera ")inserts a mention as text, and a command runs andreplace("")clears it. The value stays a plain string; chips inside the field need a rich-text editor, which Sable doesn't ship. - ChatComposer: an Enter someone else handled doesn't send. A listener
on
fieldRefthat handles Enter and callspreventDefault()owns it. It's how CaretMenu picks a suggestion instead of sending, and how an app adds key behaviour of its own. - ChatComposer keeps focus after Stop. Stop turns back into send in place, and with an empty field that send is disabled, which dropped focus to the page. Focus now moves to the field, except on touch, where it would raise the keyboard unasked.
- Scroller eases the mouse wheel. New
smoothWheel(on by default): a notch eases toward its target instead of jumping, on either axis, the inertia a library like Lenis adds but scoped to the region. Only a mouse wheel is eased: trackpads and touch keep their own momentum, keys and scrollbar drags stay native, it releases at the ends so the page scrolls on, a nested area that can still scroll (a code block, a textarea) keeps the wheel, a region that smooths or snaps in CSS is left to the browser, and anything else that moves the region (scrollIntoView, a scrollbar drag) stops it at once. Reduced motion turns it off. NewuseSmoothWheel()gives a scroll container of your own the same thing. - New guide:
sable docs building-a-chat. Wires Sable's chat parts to any streaming source: which part owns what and what stays with the app, a turn's lifecycle mapped ontobusy,onStop,streaminganddisabled, where each failure goes, announcing a turn once rather than per token, and rendering model output without injecting HTML. - New guide:
sable docs extending-a-component. What to do when a component doesn't do what you need: compose withrender, fill a slot, hold the state and reach the element, add behaviour on top (mentions as the worked example), change the look through tokens and presets rather than overrides, patch a defect, and tell a library gap from app work. - The shadcn migration guide now maps every component. Menubar, NavigationMenu, InputGroup, ButtonGroup, link Pagination and drawer snap points all have counterparts.
- Fix: a horizontal Scroller no longer widens its container. Its outer
box kept the default
min-width: auto, so inside a grid or flex column a strip of cards grew to its full length and never scrolled. It now shrinks to the column and scrolls with its edge fade. The Scrolling page's own example was showing exactly this, and also lackedorientation="horizontal". useCopytakes a function.useCopy(() => fetch(url).then((r) => r.text()))produces the text only on click; a pending promise goes to the clipboard as a ClipboardItem so Safari still counts it as part of the click. NewCopySourcetype.- New:
ButtonGroup. Buttons joined into one control, such as a split button (an action beside the chevron that opens its menu) or a short run of related actions. The children stay ordinary Buttons with their own variants and sizes. The group squares their inner corners, collapses bordered seams into one hairline and draws a seam between filled ones. Button now reads a per-side radius (--button-radius-s/--button-radius-e, falling back to--button-radius) and rendersdata-variant, which is how the group does it without overriding a class. - Menu rows can carry an icon and a description.
MenuItemtakesiconanddescription, a quieter second line saying what the action does; with a description the icon sits in a small tile spanning both lines. - New:
MenuLinkItem. A menu row that navigates: a real<a>, so it opens in a new tab, middle-clicks and copies as a link. Withtarget="_blank"it addsrel="noopener noreferrer"and a trailing ↗. - Icon contract:
arrow-up-right. Added for links that leave the app. An app with its own icon set should map it; Reicon's set already does. - sableui.com: a Copy page button on every page. Each page with a
Markdown version has a split button in its header. Copy page copies the
page as Markdown, fetched only when you click. The menu behind the chevron
opens the Markdown file, starts a ChatGPT or Claude chat that reads the
page (Claude tries the desktop app first and falls back to claude.ai), and
copies the setup command (
pnpm add @sableui/react && pnpm exec sable init). The Markdown files are the same ones the site publishes at/<page>.md; both now come from one table (apps/docs/src/markdown-twins.json). - New:
Sidebar surface="page". The rail paints the page's own surface and ink, with no border, instead of the theme's--sidebar-*set. Use it when a full-width header sits above the rail: a tinted or dark rail (Verdant, Meridian) starting under a page-coloured bar reads as pasted on. The default,surface="rail", is unchanged and still right for a full-height rail. Overridingbg-background text-foregroundon a Sidebar never worked, because the rail re-points those tokens at its own; use the prop instead. sableui.com's docs rail now uses it.
0.11.0
- New:
PropertyGroup, a collapsible group inside a PanelSection. The row names the group, summarises its value while closed (a word, a few swatches, or both), and opens with +/− to the rows beneath. It's sized for a tool panel, where an Accordion is page furniture. Groups open independently and stack with a hairline between them. - sableui.com's Customize panel: the Color section is rebuilt on it. It now reads Brand color, then Primary action (with colour dots), then three groups: Color palette (the families and Pull to brand), Tones (tones and status) and Neutrals. Each group summarises itself with its own swatches, and Tones and Neutrals are chosen from a list that previews what each option would paint. The section has its own Reset.
0.10.0
A palette generated from the theme, numbered extra tones, and sample content that isn't a marketplace.
New: a generated palette for every theme. Nine families (
neutral,red,orange,yellow,green,teal,blue,purple,pink), each 50–950, plus a scale under every tone (tone-1…3,tone-info,tone-warning,success,destructive; step 500 is the tone). They come as utilities (bg-blue-100,text-tone-1-700) and variables. Each family keeps its hue and leans toward the brand (half the gap, at most 15°), and neutral is the theme's own page mixed toward its ink. It's all CSS computed from the theme's tokens, so presets, customizer looks and an app's own--primarycarry into it. Steps follow the mode:bg-blue-100 text-blue-800reads in light and dark.--theme-palette-harmony(newPALETTE_TOKENS, accepted in presets) sets how far the families lean, andPALETTE_COLORS,PALETTE_SCALESandPALETTE_STEPSexport the names. See DESIGN.md → Generated palette.New: Badge, Pill and StatusDot take a palette family as
tone. For a category with no meaning attached (a tag, a label, a project colour):<Badge tone="teal">Research</Badge>or<Pill tone="blue" selected>. Badge draws a family in every appearance. A Pill rests on the family's wash and turns solid when selected. They paint from newpalette-*slots thatdata-palette="<family>"fills (PALETTE_SLOT_TOKENS), so no component names a step, and an app can use the same hook. Thesable token palettecommand andllms/reference/token-intent.mddocument the palette for agents.sableui.com's Customize panel has a Harmony control: how far the generated families lean toward the brand, from 0% to 200%. It's exported as
--theme-palette-harmony.Breaking: Tailwind's other colour families are switched off, and
neutral,redand the rest now paint the theme's palette, not Tailwind's.slate,gray,zinc,stone,amber,lime,emerald,cyan,sky,indigo,violet,fuchsiaandrosegenerate nothing.sable-lint'spalette-refnow allows the generated palette in apps and still flags theme-internal ramps and the switched-off families. Components still use roles only.Breaking:
edition,collectibleandstandardare now tones1,2and3. They were named for one product. They are the three extra colours a theme defines beyond its status colours, and the product decides what each means. Rename tokens--tone-edition→--tone-1,--tone-collectible→--tone-2and--tone-standard→--tone-3, with their-foregroundand-darkpartners and utilities (bg-tone-1,text-tone-1-foreground). Rename thetoneprop values the same way (tone="edition"→tone="1") on Badge, Banner, StatusDot, Meter, SegmentedBar, CheckboxCard, RadioCard, GradientArt'stonesand the chart series. Tone 1 is the lead: the strongest of the three, and the first in a chart's default cycle. Saved presets that use the old names are read under the new ones, so they keep working.Blocks, patterns and examples use generic content. The demo data was written for an art marketplace (editions, collectors, mints, SOL prices). It is now an ordinary SaaS workspace and store. Only copy changed.
sableui.com's Color page follows the customizer. Its tone swatches re-declared the preset on themselves, so a customized brand never reached them.
Vertical rhythm: spacing is measured from the type.
- The baseline comes from the type.
--baselineis one line of body text (size × leading) and--baseline-stepdivides it into thirds, 8px at the default 15/24. Line heights round to the step (they rounded to 0.25rem), and--spacingis half a step, which at Sable's defaults is exactly the 0.25rem it was, so the default theme does not move.--rhythm-unitis one step and--grid-gutteris 2 or 3 steps, snapped. It is a rhythm, not a lock: nothing pins text to lines. See DESIGN.md → Vertical rhythm. - A theme picks how open its text is and how finely a line divides:
--theme-leading-scaleand--theme-baseline-split(newRHYTHM_TOKENS, accepted in presets). Breaking (visual): Prism and Poppy set--spacingby hand; they now set a leading scale instead, so their gaps follow their type. Prism's body is 16/21 on a 7px step, Poppy's 15/27 on 9px. A preset that sets--spacingstill works, but its gaps no longer follow its type. - Card's edge and row rules take no space. The edge is an inset outline
and CardList / CardFooter rules are inset shadows, so the padding is whole
steps. A Card
classNamethat setborder-*colours should setoutline-*instead (the pricing table's featured tier does). - Section and page headers: the title-to-description gap is one step
(
gap-2, wasgap-1). - Lists:
sable-listitems are one step apart (were 6px),sable-list-dlrows two steps (were 12px). - DisclosurePickerOption takes
onRemove(andremoveLabel), for options the person added: a trash glyph at the row's end on hover or focus, and Delete or Backspace on the focused row. Removing never picks. - sableui.com: an imported preset can be removed from the Customize panel's preset list. A page whose code fails to load (a tab opened before a deploy) reloads onto the new deploy instead of going blank, and any page that still fails says so with a Reload button.
- sableui.com: pages load into a Skeleton of their own layout (the header, the first section, the canvas grid, the homepage hero) instead of a centred spinner, so the content lands where the placeholder stood.
- sableui.com: Customize's Character pad moves the leading (Compact ↔ Airy) and every gap follows; Advanced shows the line and step and its step anchor sets the step directly. Grid & layout shows the line and step live, and no longer claims the grid folds 12 → 6 → 4 → 2 → 1 by itself.
0.9.1
Fixes from a review of 0.9.0.
- Stacked toasts stay on screen beside an open Sheet. Moving a bottom stack to the top left stacked toasts hanging from the top edge, off the screen. They now re-anchor with the stack. A top Sheet also sends a top stack to the bottom.
- Toasts clear a Sheet of any width. A side Sheet publishes its real width
(
--sable-sheet-right-w/--sable-sheet-left-w) while open, so one widened withclassNameis cleared too. - Form no longer takes focus back after a slow submit if the person has moved to something outside the form. It also keeps looking for a few frames, for errors set in a transition or an action that render late.
- A loading Button refuses Enter and Space in its own
onKeyDownas well as clicks, so a menu trigger rendered as a busy Button stays shut. Tab still moves on. - Stepper's phone layout follows each step's status. A flow driven by
status, or one that has finished, kept the wrong title or none. sable checkonly warns about the whole-package@source. A single-module@sourceor an@source notexclusion no longer reads as one.- CommandMenu's clear button is out of the tab order and doesn't take focus from the field when pressed. Esc still clears from the field.
- sableui.com shows the 0.9 additions: plain Fieldset, RadioCard and Field
trailing, the MediaTile product tile, CommandMenuleading, async Button, the Stepper on a phone, SkipLink, toasts beside a Sheet, and a note on each reference layout. Build with Sable, Blocks and Page shells say they are starting points.
0.9.0
A storefront built on 0.8.2 (and the same brief on shadcn) found the seams below: focus lost after async actions, controls clipped in accordions, and slots a shop needs that the parts did not have. It also built its own search panel, and it was good. This release makes that the expected outcome rather than a rule bent.
Apps on Sable shouldn't all look alike
- Behaviour is fixed; layout is yours. The skill and
AGENTS.mdnow sort the catalog three ways. Behaviour (controls, fields, overlays, anything with focus or keys) is always used. Parts (Card, Entity, AspectBox, Badge) are composed freely. References (patterns, blocks, and compositions such as MediaTile) are used when their layout fits the brief; otherwise the agent composes its own from parts, and that is not a gap. - Signature surfaces. The brief names the one to three surfaces where a product's identity lives (a shop's product card and search). The agent designs those from the brief's direction, and takes Sable's defaults everywhere else.
sable searchandsable componentmark references with ◇ and name the parts to compose your own from (referenceandpartsin JSON).sable check's surface list reads as notes. "→ Sable has Card" replaces "→ consider Card", and the reuse inventory records "used it" or "kept ours, because…" with neither treated as a failure. A new note flags arrow keys handled by hand: list keyboard navigation is behaviour CommandMenu, Combobox, Menu and Toolbar already own.
Upgrading from 0.8
- Button
loadingno longer setsdisabled. A busy native button getsaria-disabledand refuses presses itself, so it keeps focus. Disabling the focused button sent focus to<body>, and a sheet the action opened had nowhere to return it. A test assertingtoBeDisabled()on a loading button checksaria-disabled="true"now. - A horizontal Field is a few pixels taller. Its row is padded to a Switch's height, so the control no longer overflows the Field's box.
Fixes
- Focus moves to the first invalid field after your own validation. Form
focused it only for its own checks. Errors your handler sets on Fields now get
the same, once
onSubmit(or the promise it returns) is done, with or withoutnoValidate. - Controls in an AccordionPanel are no longer clipped. The first checkbox
or switch lost its top edge, and focus rings their left edge.
motion-disclosureclips with a small margin, and horizontal Fields contain their control. - Toasts keep clear of an open Sheet. A toast on the sheet's edge covered its footer (Check out) or its close button. With room, the stack moves beside the sheet; on a narrow screen, a bottom stack moves to the top.
- Field forwards
data-*,idand other props to its root. sable gradeaccepts native input attributes (inputMode,enterKeyHint,autoCapitalize,autoCorrect,pattern,list,accept,capture). It flagged the ones the form contract asks for.sable checkwarns whensable sourcestrims nothing. With the whole-package@sourcestill beside the generated file, Tailwind scans all of Sable anyway.
New
- Button
onClickcan return a promise. The button showsloadinguntil it settles and ignores presses meanwhile, from the first click on. Abusyflag in state took effect a render late, so three fast clicks added three items. - Field
trailing. Vertically, it sits beside the control: a promo code's Apply button. Horizontally, it sits at the end of the label's line: a facet count. - RadioCard
trailing, end-aligned on the title's line: a delivery option's price. - MediaTile
meta,srcSetandsizes.metaholds the lines under the subtitle (price, sale price, finishes, a Badge), so a product tile is a MediaTile. - CommandMenu items take
leading(a thumbnail or Avatar in place oficon), and the field has a clear button once there is a query. Fieldset variant="plain": the group and its legend without the card. It names a radio group inside a form that is already framed.- Stepper compacts on a phone. A horizontal stepper narrower than 28rem keeps every disc and only the current step's title; the other titles stay for screen readers.
SkipLink, AppShell's skip link on its own, for layouts that are not an AppShell.
0.8.2
- A suggested stack for blank-slate apps. Sable still depends on no router,
data or form library, and an app keeps the ones it has. Starting from
nothing, the skill,
AGENTS.md,sable docs getting-startedand the install recipe (registry.json→consume.stack) now suggest Vite + TypeScript with TanStack Router, TanStack Query, TanStack Form for forms with validation logic, and TanStack Table once a table outgrowsDataTable. sable docs tables-with-tanstack: when to move fromDataTableto TanStack Table (server-side data, column visibility or resizing, grouping, virtualised rows), and how to render it with Sable'sTableparts,Checkbox,ButtonandPagination, with server data through TanStack Query and bulk-action selection.DataTablestays dependency-free.
0.8.1
sable checkshows doctor's notes. Warnings and notes fromsable doctordon't fail the check, so a passing check printed none of them. They now list under the doctor line, and when the app still scans all of Sable, the finish steps add one: trim the CSS withsable sourcesto the components the app imports. The skill says to act on check's notes, and the install recipe (registry.json→consume.cssSources) andsable docs getting-startedmentionsable sourcesbeside the whole-package@source.
0.8.0
The same support-workspace app was built twice, on Sable and on shadcn, and this release closes every gap the comparison found: two silent layout and form bugs, the component defects, row selection, a sanctioned way to patch a component while its fix ships, and CSS that only carries the components an app imports.
Upgrading from 0.7
<Form noValidate>now means your code owns validation.onSubmitalways runs and each Field shows theerroryou set; nothing checks the Fields or the browser first. It used to skip only Sable's extra browser check, while Form still blocked an emptyrequiredField.validationMode,errors,onFormSubmitandactionsRefdo nothing with it. DropnoValidateto keep Sable's validation, and word its messages with Field's newmessages.- A Switch's knob stays white when on. It took the primary's label ink, so
a mid-light brand colour gave a dark knob. It now turns dark only on a track
lighter than L 0.9 (a dark mode's near-white primary). Set
--theme-switch-thumb-onto choose your own. - PageHeader holds 20rem for its title before actions may share its row, so on a phone the actions sit under the title instead of squeezing it to one word a line.
Everything in this release
- Nested
Grid,ColandSplitPaneno longer inherit their parent's breakpoints. A breakpoint a nested one left unset read its ancestor's value, so acols={2}Grid inside a 12-columnlgColumns drew 12 tracks, and a nestedspan={6}Col spanned 9. Each now resets its own. Field messageswords a failed native constraint:messages={{ valueMissing: "Enter a subject." }}, instead of the browser's "Please fill out this field."- Text around an expression stays one label.
All ({count})rendered as "All ( 12 )" in Button, Pill, Badge, NotificationBadge, Toolbar and pill Tabs: each text child was its own flex item, spaced by the gap. Adjacent text now joins into one. - Toggle spaces an icon from its label, like Button.
- SidebarHeader grows to hold a second row (a search field under the brand)
instead of clipping it at 64px. Give that row
basis-full. BreadcrumbLinktakesrender, so a router link navigates in the app instead of reloading the page.- DataTable checkbox selection.
selectedKeysandonSelectedKeysChangeadd a checkbox column, each box named byrowSelectionLabel, and a select-all box that acts on the rows shown and goes mixed when some are checked. Checked rows take the selected fill; a box never opens the row. The docs show a bulk-action bar with a live status. sable patchfixes a component in place while the library fix ships.sable patch Card --reason … --repro …records why and how to check it, and prints your package manager's patch steps (pnpm patch,yarn patch, or patch-package). Every build now shipsdist/file-hashes.json, andsable doctorre-checks each patch on upgrade: it fails when Sable changed a patched file, quoting the changelog for that component, until the repro says--keepor--drop. Seesable docs patching-a-component.sable sourceswrites@sourcelines for just the Sable modules an app imports. The whole-package@sourceships every component's classes (about 32 KB gzipped); an app on Card, Button and DataTable measured 12 KB.sable doctorfails when the file goes stale, since an unlisted component renders unstyled.- New lint rule
form-required-error: arequiredField with anerrorinside a validating Form, where that error can never show for an empty field. - Icons:
tag,paperclip,chart,flagandat-sign. CommandMenustacked rows:stackedputsdetailunder the label, for results only their detail tells apart.- A one-setting
SettingsMenuopens straight to its options under the row's label: one click, not two. ChatComposer sendOn="mod-enter"for long-form replies: Enter breaks the line, Cmd/Ctrl+Enter sends.- Docs:
sable learn --templatestates its evidence rules (inside the project; different before and after files); MessageScroller names its scroll options ({ animate }, notbehavior); Button explainsuseCopy(text); andreviewing-a-designsays to scroll through, or capture with reduced motion, before calling a below-the-fold chart empty.
0.7.1
Fixes from building a customer-support app on 0.7.0 with an app-owned preset, plus guidance for choosing a page width. Nothing to migrate.
- A table in a flush card keeps the card's corners.
Cardnow clips to its rounded corners when it holds aCardContent flush, as it already did for aCardList. The hover fill of an edge-to-edgeTableorDataTablerow and aTableFooter's tint no longer poke square corners out past the card's. - Only body rows hover.
TableRowlifts on hover insideTableBody; header and footer rows stay still, since nothing there responds to a click. - SideNav and Sidebar icons stay level with their labels at any spacing step. The icon box was sized in spacing steps around an icon sized in type, so a theme with a step other than 4px shrank the box and dropped every icon about 2px below its label. The box is now sized in the icon's own unit and centred with flex.
- A donut's number holds the centre. In
PieChartand a full-ringRadialChart,centerLabel's value sits on the centre and its caption hangs below, instead of the pair splitting the centre between them. centerLabel.valuetakes a number. It is written in full up to 9,999 and shortened from 10,000 on (10.2K,102.1K,1.2M), in the chart'slocale. A string still shows as written, for units.- Presets can set page widths.
page-insetand the role caps (region-form,-feed,-content,-wide,-full) are preset tokens, so a product's widths live in its preset rather than app CSS. They are opt-in:sable preset --templateand Canvas exports leave them out, so a preset never overrides widths an app already sets.PAGE_WIDTH_TOKENSlists them. - Guidance for choosing a page width.
sable docs building-a-pagehas a table of whichmaxto use by what the person does on the page, and when to go fluid. The Region docs sayfullis the largest cap (edge to edge isbleed) and show a fluid workspace; the old "Fluid dashboard" example was capped and is retitled.reviewing-a-designasks for a 1920px capture of a capped or fluid route, where the choice shows, and the skill's brief records each route's width. - A pasted preset gets applied. Canvas's "Copy for agent" message now asks
the agent to apply the preset and build the app, not only save it. The skill
treats a preset supplied for an existing app as a restyle,
sable docs using-presetshas an "Apply to an existing app" section, and a passingsable preset --checklists the steps that make an app use the preset. TrafficTrendBlockfits a narrow card. Below 24rem its range toggles move under the title instead of squeezing it.
0.7.0
A dogfooding release. An agent built a music streaming app on Sable with Sable's own skill, and this release closes the gaps it hit:
- media tiles, an image fallback and a persistent player dock;
- section headers, portrait avatars and in-place pickers;
- labelled sliders and focusable text links.
The package is also much smaller per import,
sable checkruns the whole finish check in one command, and lint now catches hand-assembled lookalikes of Sable components.
Upgrading from 0.6
- Icons are opt-in. Wrap the app once in
<IconProvider set={reiconIconSet}>, withreiconIconSetfrom@sableui/react/icons/reicon. Without it, every<Icon>(including those inside Sable components) renders nothing, andsable doctorreports it. SableThemeProviderdefaults to"system". PassdefaultPreference="dark"to keep the old first-visit mode.Grid minItemWidthkeeps its empty columns (auto-fill). Passtrack="fit"where a fixed set should stretch across the row.- Button's side padding is a variable. A
px-*className on a Button no longer matches its optical alignment (bleed). Set--button-pxinstead.
Everything in this release
SableThemeProviderfollows the visitor's OS on a first visit.defaultPreferencenow defaults to"system"instead of"dark". A stored choice still wins. Behaviour change: an app that relied on the implicit dark default should passdefaultPreference="dark"(or its preset'sdefaultMode).Slidernames the slider, not its wrapper.aria-labelused to land on the Root'srole="group", so screen readers announced an unnamed slider. It now goes to each thumb's input. NewgetAriaLabel(per thumb, for ranges) andgetAriaValueText(e.g. a seek bar's "1:23 of 3:45").- AppShell
dockslot for persistent chrome such as a now-playing or call bar. It is full width and sticky to the bottom, abovebottomNavon mobile, and the app Sidebar shortens to clear it. link-underlinecarries a focus-visible outline in--ring, so plain text links meet the focus floor without app CSS.- Media icons:
shuffle,repeat,repeat-one,volume,volume-low,volume-off,queue,music. --theme-art-brandhook. Ember's and Prism's art (and the default art ground) key off it, falling back to--primary. Set it wherever the primary action stops being the brand, such as a neutral black/white primary, so the art keeps the brand colour.sable lint'sstatic-interactiverule reads variants, not substrings. A capability query like[@media(hover:none)]:opacity-100is no longer mistaken for a hover style.- Breaking: icons are opt-in.
<Icon>no longer falls back to Reicon, so an app that brings its own set ships none of Reicon's artwork (about 190 KB minified). Without anIconProvider, icons render nothing and a development build warns once.reiconIconSet,reiconIconNamesand the deprecatedfallbackIconSetmoved off the root (and/icons) barrel to@sableui/react/icons/reicon. Migrate: wrap the app once in<IconProvider set={reiconIconSet}>withimport { reiconIconSet } from "@sableui/react/icons/reicon". - Smaller bundles: the package ships one module per source file.
distkeeps thesrclayout instead of a few large bundles, so a bundler drops every component an app does not import. Importing onlyButtonused to pull in about 70% of the library under esbuild; the import paths and exports are unchanged. Each module also keeps its"use client"directive. - GradientArt loads its WebGL renderer on first paint. The shader code
(about 43 KB minified) is a separate chunk, so a plain
Avatarno longer ships it, and art still shows its CSS stand-in until the shader fades in. OtpFieldresolves Base UI's OTP parts when it first renders, so apps that never use it no longer carry Base UI's OTP Field.sable check: one command to run before calling a build done. It runssable doctor,sable lintandsable gradeon the given paths (defaultsrc), prints one pass/fail summary, exits 1 if any fails, and then lists the review steps no tool can verify (rendered design, journey, motion, reduced motion, reuse inventory, lessons).--jsonreturns{ type: "check", data }. The skill's finish checklist now opens the skill and starts with it.sable setup --agentoffers a Claude Code Stop hook that runssable check --stop-hookbefore Claude can end a task: on failure it exits 2 with the findings on stderr, so Claude keeps working (once; a second consecutive block lets it stop). Setup prints the exact.claude/settings.jsonentry and writes it only with--hook, merging into existing settings. The command is one plain invocation with nocd,&&or${…}, so it runs under Git Bash and PowerShell 5.1 alike;sable check --stop-hooklocates the project fromCLAUDE_PROJECT_DIR(plus--root <dir>for a workspace package, reached with the package manager's workspace flag).sable gradejudges each import against the subpath it came from. It checked every@sableui/react/*import against the root barrel, so correct imports from/blocks,/presetsor/icons/reiconread as hallucinations (25 in Sable's own docs app). Each subpath's surface is now read from the packageexports, an unpublished subpath is reported as such, andreiconIconSetimported from the root is caught. Props and icon names are judged only on components imported from Sable (aliases followed), not on an app's ownPageHeaderorIcon, and not on JSX inside template-literal code samples. Media attributes such asautoPlayare accepted.sable doctorchecks icons. An app that imports Sable with no<IconProvider>fails with the fix, since every icon would render nothing.- Global flags work on every command.
sable learn --search "…" --densefailed with "Unknown flag: --dense";--denseand--detailare now taken out before a command hands off to its script, and--json --denseprints that script's JSON on one line. A switch no longer swallows the next word (sable component --dense Button), and a bad--detailvalue is an error on every command. - Every utility in styles.css is retrievable.
sable utility motion-icon-swapanswered ERR_UNKNOWN_UTILITY: the 24motion-*/animate-*recipes were only names intokens.motion.recipes. They now have full entries (familymotion), andsable utility text-heading-1resolves the paired type tiers. A test asks the CLI for every@utilityand@custom-variant, with an explicitINTERNAL_UTILITIESlist for deliberate exceptions. - Providers are in the catalog. New
sable provider [Name]andregistry.json → providerscover SableThemeProvider, IconProvider, MotionProvider, ToastProvider, TooltipProvider, CodeHighlightProvider, DensityProvider and PresentationProvider: whether each is required, where it goes, props and examples.sable component SableThemeProvideranswers with the provider, and search finds them. The build fails on an exported*Providerdocumented nowhere. sable docs AGENTSserves the package's AGENTS.md (also README, CONTRIBUTING, DESIGN, CHANGELOG and llms), the file llms.txt points agents to first. An unknown doc now lists the package and task guide names.sable lint --jsonreturns{ type: "lint", data: { violations, … } }. The skill already told agents to pass--json; it printed text.sable preset --checkwarns when a preset is newer than the installed Sable. A preset authored with a latersableVersionused to validate silently. It still validates, but now prints both versions and the upgrade command for the project's package manager;--jsoncarries it aswarnings: [{ code: "WARN_PRESET_NEWER_SABLE", authoredWith, installed, suggestion }].--cssreports the same warning.sable grade --templateshows what an artifact looks like. It now starts with one example screenshot and one example report artifact (they fail validation until replaced with real captures), andsable docs reviewing-a-designlists every artifact field with its meaning.SheetList: edge-to-edge rows in a Sheet (a queue, notifications, a picker), the Sheet equivalent ofCardList. Entity rows line up withSheetHeaderinstead of sitting 12px in, with no--entity-pxoverride. The Sheet's padding is now the--sheet-pvariable.SidebarBrand: the brand row on the same grid asSidebarItem, with the mark in the icon slot and the name on the label column. It collapses to the mark. The dashboard and settings patterns use it.- GradientArt gives each seed its own variant of the palette. The palette turns by up to ±20° of hue and ±0.04 lightness, so presets whose art is one colour family (Ember, brand-derived palettes) still tell artists and covers apart. The same seed still paints the same art.
- Selected table rows paint their fill on the cells, each overlapping the next by 1px, to rule out hairline seams at fractional column widths.
MediaPlayerBlock's seek bar runs in seconds. The readouts follow the drag, and the slider announces "1:24 of 3:40".static-interactiveexplains display-only hovers. When a hover only flipsdisplay, visibility or an underline, the hint points at an opacity swap ormotion-icon-swapinstead ofmotion-interactive.- ThemeSelector draws each theme as a miniature of itself. Each tile is
the theme's background, "Aa" in its display face, a card, and a primary
button whose corners scale from the theme's real radii, so it shows shape as
well as colour. Four of six themes used to come out as the same
white-and-black strip. Names sit in the app's face, so every option is the
same height. The selected tile takes an outline in the app's own ink, and
list rows carry a small tile. A light preview is now pinned with
.light, so a dark page no longer paints it dark. The docs' Customize panel uses this component instead of its own preset tiles. - Segmented controls follow the theme's control shape. ThemeSwitcher and
ToggleGroup
appearance="segmented"take--button-radius, the same corners as Button: square in Meridian, 12px in Poppy, a capsule in Sable. sable lintcatches assemblies, not just controls. Four new consumer rules (new in 0.7.0, sosable-lint --since 0.6.2lists them) find pieces built from Sable's utilities and tokens, which every token rule passes:lookalike-grid(a rawgridover mapped or repeated items, or an auto-fillminmax()track →Grid, with thecolsmap spelled out),lookalike-card(an<a>,<button>or router<Link>with a card's radius, surface and padding →Card render={…}),lookalike-avatar(a round fixed-size box holding an image, GradientArt or initials →Avatar) andlookalike-media-frame(aspect-*+overflow-hiddenaround media →AspectBox). Each needs a signal beyond the classes, so a form grid, a text link, a status dot or an empty ratio box is left alone. The docs site's own item grids now composeGrid.sable gradeandsable checklist app-owned surfaces. Elements with a card fill, a bordered padded box, a media frame or a fixed-size circle are listed with the component to consider (inventoryin--json). The list is never scored and never fails a check; it is the starting point for the reuse inventory.MediaTile: a cover-first tile for albums, videos, podcasts, galleries and shelves. Square,videoorpostercover, a title and subtitle that can each be links (href/render={<Link />},subtitleHref/subtitleRender), anactionover the cover's corner and abadgeon it. The whole tile follows the title's link without wrapping anything in an<a>, so the artist link and the play button stay separate controls; Tab goes title → subtitle → action.MediaImage: an image with a fallback. It fills its box, rests on a muted surface while loading, fades the image in, and paints GradientArt seeded by the item when there is nosrcor it fails to load. It uses Base UI's image-load tracking, the same Avatar uses, so a failure before hydration is still caught.MediaPlayerBlockandProductCardBlockuse it for their artwork; add the image URL to their content constant.reveal-on-hoverutility for row and tile actions that wait for hover. It hides the action only on devices that can hover, shows it on hover or focus within the nearestgroup(ordata-reveal-scope) and while its menu is open, and fades on the motion tokens. The action stays in the tab order and the accessibility tree, and touch devices always show it.sable lint'sstatic-interactiverule accepts it as a recipe and now suggests it for a hand-writtengroup-hover:opacity-*reveal.stretched-linkutility. One link covers its whole item while the item's other controls stay clickable, and its focus ring goes around the item (--stretched-link-radius).SectionHeaderheads each section below the page title: an h2 by default (titleAsfor h3/h4), an optional description, and actions on the title row, such as a "View all" link or two small buttons. The actions drop beneath the title only when the row runs out of room.sizesets the look apart from the level (mdtext-heading-3,smtext-heading-4), and the title always carries an id (titleId, or a generated one) for<section aria-labelledby>. It shares PageHeader's title row and has no outer spacing, so the section's gap sets the rhythm. PageHeader's docs now point a second heading to it.- Avatar
xl(96px) and2xl(160px) for portraits: profile headers, artist heroes and roster tiles. The initials move totext-heading-2/text-display-lg, about a third of the circle as at row sizes. Astatusindicator and its cut-out ring scale with the portrait, and the photo fades in over the resting surface. AvatarGroup stays atsm–lg. - Breaking:
Grid minItemWidthkeeps empty columns (auto-fill). With one or two items,auto-fitcollapsed the empty tracks and stretched each item across the row, so a single search result rendered as a full-width cover. Newtrackprop:"fill"(default) keeps items at their size whatever their count;"fit"restores the old stretch for a fixed set designed to span the row. Migrate: addtrack="fit"to a grid of a known, fixed number of cards that should share the row (a KPI row, plan tiers). - New
DisclosurePicker: a property row that names the current value and opens its list in place, beneath the row, instead of in a popup, for a tool panel where the choice is made while looking at what it changes. Parts:DisclosurePickerTrigger(optionallabelcaption andmedia, the value, a chevron that flips),DisclosurePickerPanel,DisclosurePickerList(a listbox: arrows move, Enter/Space/click pick and close),DisclosurePickerOption(optionalmediaandnote) andDisclosurePickerEmpty, plususeDisclosurePicker()for a list it does not own, such as a Tree. Search is opt-in (searchon the panel), for lists past about a dozen options. Keyboard opens move focus to the search field or the chosen option; Escape and picks return it to the row.size="xs"sits on the property-grid rung. - New
FontPicker, built on DisclosurePicker: the row names the family in its own face, and the list draws each family in itself. Fonts and loading come from the app (fonts,loadFont(font, "preview" | "use")); Sable bundles no catalog. Search is on by default; passsearchable={false}for a short list. - Button
bleed— optical alignment for borderless buttons. A ghost or link button carries padding you can't see, so at the start or end of a row its label sat ~12px inside the edge the row shares.bleed="start" | "end" | "both"pulls the box out by exactly its own padding (the size's new--button-px, which the padding now reads; the icon side's optical padding when an icon sits there; an icon-only size's inset to its glyph), so the label lands on the edge while the hit area and hover fill keep their full size. Logical sides, so RTL mirrors. A no-op on variants with a visible edge (primary, secondary, outline, destructive, floating, field, on-color, on-color-outline). SectionHeader and PageHeader actions, PageHeader's back control and CardAction now align their outermost ghost/link Button automatically (it rendersdata-bleed="auto";bleed="none"opts out); when a header's actions wrap beneath the title, the first one aligns to the start edge. Applied in the dashboard, feed and list-detail patterns and the task-list and verify-code blocks (the feed's hand-set-ms-3is gone). Migrate: replace-ms-3/-me-3nudges on ghost buttons withbleed; to retune a button's padding set[--button-px:…]rather thanpx-*. DisclosurePickercommits on Enter, not on every arrow key. Its list was a radio group, whose checked state follows focus, so each arrow press calledonValueChange: in the docs Customize panel the first ArrowDown on the preset row switched presets (or opened "discard changes?"), and on a font row loaded every family passed. The list is now arole="listbox"ofrole="option"rows: ArrowUp/ArrowDown, Home/End and type-ahead move focus (roving tabindex) and apply nothing; Enter, Space or a click picks, applies and closes; Escape closes with the value untouched.aria-selectedmarks the committed value.onValueChangefires once per pick, and not when the pick is the current value. ArrowUp from the first option returns to the search field. New onDisclosurePickerOption:media(a leading tile),disabled,textValue(what type-ahead matches). Changed from the unreleased radio version: the list takes div props instead of RadioGroup props, options are no longerrole="radio", andDisclosurePickerEmptybelongs in place of the list, not inside it. FontPicker inherits it: arrows walk the families, Enter picks and loads one. ThemeSelector'slayout="list"stays a radio group (instant switching is standard there); its guidance now says to use a DisclosurePicker list withThemePreviewmedia when a switch has a cost.
0.6.2
llms.txtnames the default theme correctly. Its summary still called the default theme Base, which was renamed Sable in 0.4.0; the first line an agent reads now says Sable.- sableui.com is readable without JavaScript. Every docs page now carries
its content as plain HTML in the page itself, so an agent fetching a URL such
as /getting-started gets the install steps rather than only the title (the
app replaces that copy when it boots). Every page is also available as
markdown at its own URL plus
.md, for example /getting-started.md, and each page opens with links to that, /llms.txt and /llms-full.txt.
0.6.1
sable lintcatches a status fill retuned without its text. Since 0.6,text-destructive,border-destructive,ring-destructiveand the rest read--destructive-text; onlybg-destructivereads the fill. An app that set--destructive(or--success,--tone-warning,--tone-info) and stopped there painted its buttons in its own red and its error text, borders and rings in the theme's, and nothing said so. The new consumer rulestatus-text-driftreads the app's stylesheets for a status fill set without its-textin the same theme and mode, and names the mode that is missing. It needs only the stylesheet, so it reports even wherelabel-contrastcannot measure.sable graderuns it too.
0.6.0
Art from the theme
GradientArt, placeholder artwork painted by a shader. A static WebGL mesh gradient (Paper Shaders' static mesh gradient;variant="grain"for their grain gradient) painted from the theme, for covers, banners, tiles and avatars with no image yet.seedfixes each item's composition and leading colour, so a row of covers or avatars stays individually recognisable in every theme; children render above the art. It paints once on mount, on resize and when the theme changes, through one WebGL context shared by every instance, so a page of avatars costs one context. A CSS gradient stays underneath for prerendered pages and browsers without WebGL2.- Each preset has its own art direction. New optional
--art-*tokens (art-1…art-6,art-ground,art-warp,art-softness,art-grain;ART_TOKENSin the contract) set the art's palette and character, through--theme-art-*hooks like the workspace surfaces. Ember burns (fire falling off into warm black), Poppy is candy blobs, Prism airbrushed pastels, Verdant stained glass, Meridian grainy monochrome, Atelier a dark studio with one amber glow; Sable keeps its tones. The colours derive from each theme's own tokens where its art direction allows, so a brand change carries into the art. Presets may declare the hooks too. Avatar variant="art". The fallback paints the initials overGradientArtseeded by the person (the initials, thenalt, orseed), so everyone without a photo gets their own colour and keeps it wherever they appear. The default staysneutral.- Blocks and patterns use it. The product card, media player and profile
card blocks and the auth page paint their placeholder art with
GradientArtinstead of hand-written CSS gradients, and the avatars across the blocks and page patterns usevariant="art". - New dependency:
@paper-design/shaders0.0.81 (Apache-2.0), pinned exactly while it is pre-1.0. Only the two fragment shaders and the noise texture are imported; the notice is inTHIRD_PARTY_NOTICES.md.
Labels on filled colours
- Labels on brand and status fills now have to pass APCA as well as WCAG. A
filled control's label is held to 4.5:1 and APCA Lc 60 in both modes, for
primary,sidebar-primary,highlight,destructive,success,tone-warningandtone-info. The ratio alone let dark ink on a bright red through at Lc 38–46, which reads muddy. Every shipped theme is tested against both floors, with no exceptions. - Status colours have a separate token for text.
--destructive-text,--success-text,--tone-warning-textand--tone-info-text.text-destructive,border-destructive,ring-destructive,outline-,decoration-,fill-andstroke-now read the-texttoken; onlybg-destructivereads the fill. The class names are unchanged. A dark-mode fill can now sit low enough for a white label while error text stays light enough to read on a dark card. Badge's soft status tones and the destructive Menu item mix their ink from the-texttoken too: from the fill, Meridian's dark destructive menu item measured 3.8:1; every theme now clears 4.5:1. Migration: if your app retunes--destructive(or--success,--tone-warning,--tone-info), set its-textas well, or text, borders and rings keep the theme's colour. Presets saved on 0.5 keep working: a missing-texttoken takes its fill, which is what text read before. - Destructive buttons have white labels in dark mode. In Sable, Atelier,
Ember, Meridian and Verdant the dark destructive fill moved down (Sable
68%→59%, Meridian 66%→55%, Atelier 66%→58.5%, Verdant 64%→57.5%, Ember
62%→58%) and its label went from dark to white. Error text reads the lighter
-textvalue, so it is no darker than before. - Dark highlights have white labels in Sable and Ember. Sable's dark
--highlightwent from 70% to 57% and Ember's from 65.2% to 58%; dark ink on the brighter fill read at Lc 42–46. - Small status fixes. In Ember, Atelier, Meridian and Verdant, dark
successandtone-infoare a little lighter so the dark label clears Lc- In light mode, Sable's
text-tone-infois one step darker and Verdant'stext-tone-warningis 51%; both measured just under 4.5:1 onmuted.
- In light mode, Sable's
Lint and CLI
- New
sable lintrule:label-contrast. It finds an app's overrides of a brand or status fill or its-foreground, completes the pair from the installed theme and measures both modes. Findings carry file:line and the nearest pair that reads: the fill's lightness moves, the hue stays. Keep a deliberate brand pair with/* design-lint-disable-next-line label-contrast -- <reason> */.sable graderuns the same rule. Apps that passed lint on 0.5 can fail it now. sable preset --checkmeasures labels on fills. A failing pair stops the check withERR_PRESET_CONTRAST, the suggested pair and a ready-to-pasteexceptionsentry. Presets accept an optionalexceptionsarray (rule,mode,token,reason); an accepted pair is reported with its reason on every check instead of failing.@sableui/react/presetsexportspresetLabelContrast()and the measuring helpers (checkLabelledFills,fitFillToInk,inkFor,inkPolarity,labelContrast,LABELLED_FILLS,BRAND_FILLS,STATUS_FILLS).
Sheets own their actions
- A sheet lays out the actions inside it.
CardFooterhas anactionsprop for a footer that holds only buttons. Inside a bottomSheetContentor anIosSheet, that footer becomes a full-width stack pinned to the bottom: the primary on top, every button at the cta height. On a page nothing changes.SheetFooterstacks the same way in a bottom sheet, capped atmax-w-smand centred; side sheets keep the right-aligned row. DangerZoneBlock, FeedbackFormBlock and ProfileFormBlock mark their footers. - Only the sheet's own content. A Dialog, Popover or side Sheet opened from inside a bottom sheet presents a page again, so its footer is a row. Only the outermost flat Card in a sheet bleeds into the sheet's padding (lining its content up with the sheet's title and close button), and only that card's footer stacks; a card nested inside it is left alone.
PresentationProvider,usePresentationand thePresentationtype let a custom container declare itself a sheet.IosSheet background="opaque"keeps the floating medium-detent shape but fills it solid, like SwiftUI's.presentationBackground, for forms whose fields would otherwise sit on whatever the glass blurs. In an iOS sheet, a form or grid between the content and its action bar keeps its own layout. The iOS target is marked beta, andsable target iosprints its layout rules.
Components
- Tab triggers space a badge or icon from the label. Pill and underline
TabsTriggeruse--control-gap, as Button does; the label's trimmed span had dropped a typed space, so a badge touched the text. - NotificationListBlock puts the unread dot before the time, so the times line up on one right edge.
On sableui.com
- Customize was redesigned. Simple is gestures over previews: the character
pad, one shape preview for corners and depth together, a live palette strip
of what the page is painted with, single-line font rows. Advanced is a
property grid in the workspace register (compact density,
PanelSection,PropertyRow/PropertyPair,ScrubField,Select): one exact anchor per domain with the ladder it resolves to beneath it. Mode, Reset all and Export sit in a footer both views share, and every section resets on its own. - Status colours lean toward the brand within their meaning. Destructive, warning and success each move toward the brand inside a hue range the presets already ship (destructive 5–30°, warning 50–90°, success 140–175°), warning keeps 30° from destructive, and saturation follows the brand at half strength with a floor. Advanced has a Status lean control.
- Customize fits labels to brand and status fills: the label ink is chosen once, from the brand as picked, and each mode's fill moves to meet it.
- The homepage now says what is true: Sable is open source under MIT and installs from npm.
0.5.0
- Stacked toasts.
<ToastProvider stacked>stacks toasts like a deck of cards: the newest in front, older ones peeking out behind it a step smaller, so a burst of toasts no longer takes over the corner of the page. Hovering or focusing the stack fans it out into the list. It works at everyposition.ToastContentis the new part that holds a toast's row; in a stacked viewport it hides the cards behind the front one. Collapsed, the deck casts one shadow rather than one per card, so a theme with hard offset shadows (Poppy) stays clean. - Depth in Customize. On sableui.com, Customize has a Depth control (Flat ↔
Lifted) and a Shadow style (Preset, Soft, Crisp, Offset). They write the five
--theme-shadow-*tokens for light and dark, so the CSS export and preset download carry them. Depth scales the reach and strength of every step together; lifting a flat preset such as Meridian brings in soft shadows. The shadow takes the preset's neutral hue. Advanced replaces the slider with exact numbers set on the largest step, which the others follow: light angle (90° is overhead), distance, blur and opacity. Blur takes one blur-to-distance ratio, so an Offset shadow can be softened; opacity is set in light mode and dark mode darkens in proportion. - Knob shadows stay on their track. The Switch thumb, Slider thumb and
ColorField handle used
shadow-sm, the elevation step for raised surfaces. Where a theme or a Depth setting made that a long offset (Poppy's hard drops), the shadow fell outside the switch's track. Knobs now take--knob-shadow, one small contact shadow that themes can set through--theme-knob-shadow. In Sable it looks the same as before. - Pill tabs take the theme's button shape.
TabsList variant="pill"triggers used the small radius, so in Sable they were rounded rectangles beside pill buttons. They now read--button-radiusasButtondoes: pills in Sable, 12px in Poppy, square in Meridian, and a theme's own button shape wherever it sets one. - CodeBlock no longer scrolls code under its copy button. Without a
filename header, the copy button floated over the code, so on a narrow
screen a long line ran underneath it. It now has its own column beside the
code. The code's edges fade while there is more to scroll, like
Scroller's. - Scroller's edge fades follow content and size changes. They were measured on mount and on scroll only, so a list that grew, shrank or was resized kept the fade it started with until it was scrolled.
- Icons no longer redraw on every render. The default Reicon set and the
brand set rewrote their SVG each time a parent re-rendered (React 19
re-applies
dangerouslySetInnerHTMLwhen the object changes). Inside a toast that never settled and froze the page. - A card that is only a header keeps its bottom padding.
CardHeaderleaves the bottom padding to the content that follows it; with nothing after it (a stat card: label, number, sparkline) the number sat on the card's edge. - Line and area sparklines span their own range. They used to include zero, so a run from 12 to 26 used only the top half of the box: a flat squiggle over a solid block. Bar sparklines keep the zero baseline, since a bar's length is the value.
- Combobox chips are balanced. The remove button was a full 28px icon button, which swelled each chip into a 34px pill and left more room after the label than before it. It is now drawn to the chip (20px, with a 14px X) and keeps a 28px pointer target, so the label and the X sit evenly in a 23px chip.
0.4.0
The default theme is now called Sable
The default theme was called Base, which read too close to Base UI, the library Sable's components are built on. It is now Sable. It looks the same.
- Theme id
base→sable(data-sable-theme="sable",setThemeId("sable")). @sableui/react/theme/baseandtheme/base.css→theme/sableandtheme/sable.css.styles.cssstill includes it, so most apps import nothing new.baseTheme→sableTheme.- A stored
basechoice is no longer a known id, soSableThemeProviderfalls back to the default, which is Sable.
Themes
- Panel fields read in dark mode.
panel-fieldwas the canvas tone, 3% ink off the panel, which measured 1.04:1 on a dark panel. It is now mixed from the panel at 9% ink (1.15:1 dark, 1.25:1 light), with hover a step further at 12%. - Ember's dark-mode primary button has white text. The fill is now Ember's light-mode orange-red. On the old, brighter fill the dark label passed WCAG but read muddy (APCA Lc 42); white now clears both (4.8:1, Lc 76). The sidebar's active item follows.
Agent tools
sable-lintno longer reportshand-derived-surfaceon the value of a--theme-*hook, such as--theme-panel-field: color-mix(…). Tuning a derived token is what the hooks are for.sable grade --ignore <glob>skips the same pathssable-lint --ignoredoes, so a data layer of document colours is not counted as contract violations. Ignored files are still fingerprinted.
0.3.2
Workspace panels
panel-fieldandpanel-field-hovertokens. The fill of a compact control docked in a panel, and its hover step. They default to the canvas tone and the raised panel step, so nothing changes visually. Thexsfield rung (Input, SelectTrigger, Combobox, ScrubField) now wears them, and a panel control of your own can too, without a lint exception.<Button variant="field">. A button that sits amongxsfields in a panel row, such as a font picker or an add action: the inset field fill and the field's corner instead of a pill. Use it withsize="xs"or"icon-xs".
Agent tools
sable gradechecks props against each component's real type, so props a component forwards to Base UI (Toggle'spressed,Combobox'sfilter) are no longer reported as hallucinated.registry.jsoncarries the result aspropSurface.sable gradereads the icon names your app adds withcomposeIconSetsfrom.sable/icons.json({ "names": [...] }), or from--icons <file>, and stops counting them as off-contract.sable setup --agent --root <dir>writes the skill entries in an ancestor directory. In a monorepo, run it in the workspace package that depends on Sable with--rootat the repository root. The entries resolve Sable through that package.
0.3.1
Charts
- Smoother hover. The tooltip is anchored to the data instead of chasing the pointer, and glides between positions; the cursor and the active dots glide too. Moving within one data position no longer re-renders the chart. Hover feedback has its own quick timing — dimming the other bars no longer waits out the arrival stagger.
- Active dots on stacked areas draw above every series, so a later fill no longer covers the dot below it.
Presets
- Presets may carry the chart palette (
chart-1…chart-8). Optional — a preset without them inherits Base's validated set. On sableui.com, Customize now generates a chart palette from the brand and the Palette setting, held to the same colour-blind and normal-vision separation checks.
iOS
- Layers portalled out of an iOS prototype (a toast stack, a menu) read the prototype's safe-area geometry, so a toast placed under the status bar shows there instead of below the screen.
0.3.0
Blocks, charts, and the components they needed.
Breaking
DotsMenuis nowOverflowMenu(overflowMenuMeta, same props). The name says what it is for — the "more actions" menu — rather than how its trigger is drawn.
New
- Blocks — section-sized compositions on a new
@sableui/react/blockssubpath and inregistry.json → blocks: 40 of them across Auth, Settings & team, Commerce, Dashboard, Marketing, Social & messaging, Media & files, Navigation and System (sign-in, pricing table, team members, invoice history, FAQ, 404, chart cards…). Copy one and edit its content constants; props are onlyclassName,framedand the primary action's callbacks.sable block --list,--family,--skeletonand--coderetrieve them, and the docs have a Blocks page with live previews and copyable code. - Charts —
AreaChart,BarChart,LineChart,PieChart,RadarChart,RadialChartandSparkline, in SVG with no dependency, for dashboards, landing pages and decks. Stacked and 100% stacked, grouped, horizontal and diverging bars, smooth/linear/step curves, gradients, dots and labels, donuts with a centre value, gauges, legends with icons, and tooltips with dot/line/dashed indicators, formatters and totals. Lines draw on, bars rise and slices sweep in as a chart scrolls into view, and new data eases from the old shape — all on the motion tokens. Every chart carries its data as a table for assistive tech and steps through it from the keyboard. - Chart palette —
--chart-1…--chart-8, eight series colours validated for colour-blind separation, a normal-vision floor, a lightness band and a chroma floor, in light and dark. Every theme inherits them; a theme may override the set.chartColor(i)hands the same colours to a charting library. DateTile— a calendar-page date (month band over the day), with lining figures so a display face never drops the day below centre.SegmentedBar— one bar split into the parts of a whole, read aloud as a single labelled image.CardTitletakesrender, so a card's name can be a heading (render={<h2 />}).Entitytakesselectedfor the current row of a selectable list.- Icons:
stop,key,wallet,thumbs-up,thumbs-down. sable-lintlints a single file as well as a folder.
Components
- Sidebar: components placed in the rail ink with the rail's own tokens, so a dark rail on a light page keeps its account row legible.
- Entity: hover and selected fills step off whatever surface the row sits on.
- ChatComposer: the stop control is a filled square, not an ✕.
- CommandMenu: a long detail no longer squeezes the label.
Fixes
- The registry's derived imports for patterns and blocks include hooks called
with a type argument (
useRef<…>() —ListDetailPage's copied source was missing itsuseRefimport.
0.2.0
A design and polish pass across the library, its page patterns, and the site.
Breaking
Descriptionis removed. Label/value lists are now typography on the native element:<dl className="sable-list-dl">with<dt>/<dd>children, andsable-list-dl-2for two pairs a row inside an@container. Colour a status value with atext-*utility on its<dd>.DescriptionItem,DescriptionTerm,DescriptionDetail,descriptionVariantsanddescriptionMetago with it.
New
- List utilities for semantic HTML:
sable-list(bullets),sable-list-numbered,sable-list-dlandsable-list-dl-2, documented under Typography → Lists. sable-frame-tool: a frame for edge-to-edge tool chrome that keeps the theme's radius and passes concentric geometry to what's inside. PanelSection rows grow their inset with the corner and compact fields curve parallel to it; unframed, panels keep their 8px inset.KbdGroupfor keyboard combinations.
Components
- Bubble: the tail is a drawn ear on every corner style, flat through fully pilled, with a softened tip and a filleted inner corner; square themes keep it sharp. Bubbles reserve the tail's space so grouped runs line up.
- Checkbox / CheckboxCard: the check and dash read at a consistent ~1.6px weight on the filled box.
- EmptyState: the glyph stands on its own, with no disc, and can be an image or illustration.
- Skeleton: one eased sheen passes through every skeleton on screen as a single wave, a highlight in light and dark, and rests off-screen under reduced motion.
- Stepper: indicators no longer rise above sticky headers or navigation bars.
- BottomNav / Button: badge dots sit on the icon's corner.
- Toast: enters from the edge it is anchored to, and portals to
<body>so a transformed ancestor can't trap it. - Refinements to Card (concentric inner radius, footer seams), Table and DataTable, Avatar, Badge, Pill, Kbd, Combobox, Select, NumberField, SideNav, ThemeSelector, ChatComposer and more.
Presets
- Verdant and Meridian lift cards and popovers above the page in light mode, so fields read as boxes to type in. A theme test now holds every preset to it.
iOS
IosSheetfollows iOS 26: Liquid Glass at the medium detent, floating and concentric with the screen; opaque at the large detent; a glass close button and a centred title.
Page patterns
- All eight rebuilt as fuller examples. Dashboard, Settings, Auth, List–detail and Feed now tell one product story; Landing shows the library working; Brand landing and Chat are polished.
0.1.1
- Published with npm trusted publishing: releases come from
sableui/sable's release workflow with provenance and no stored token. No library changes.
0.1.0 — first public release
Sable is on npm as @sableui/react: pnpm add @sableui/react. No registry setup
or token is needed. Follow the installation guide to wire
React, Tailwind CSS 4 and the stylesheet.
Components and layout
- About 100 components on Base UI behavior: forms, selection, menus, dialogs and sheets, data display, tables, navigation, feedback, messaging, media and workspace tools. Every example on the site is built from Sable's own components.
- 13 layout primitives and 8 page patterns (auth, dashboard, feed, settings, list–detail, landing, brand landing, chat).
- Semantic tokens for color, type, spacing, shape, surfaces and motion; spacing follows the density control, and motion honors reduced-motion settings.
styles.csspaints the page ground on<html>, so dark mode is readable from the first render.
Six presets
- Base: neutral surfaces, soft corners, and Figtree typography.
- Meridian: cream and ink, square panels and buttons, and flat surfaces.
- Prism: compact spacing, IBM Plex typography, crisp corners, and blue actions.
- Verdant: forest tones, warm paper, and serif headings.
- Ember: warm surfaces, light headings, and orange-red actions.
- Poppy: bold headings, cream and plum, rounded panels, and offset shadows.
Every preset supports light and dark modes. Try them on the homepage or tune them in the canvas, then download a portable preset or copy its CSS.
Build with your agent
- One package-owned skill for Codex, Claude Code, Cursor and compatible agents:
build an idea, develop a preset from inspiration, audit existing work, and
polish the result. Run
pnpm exec sable setup --agentto install it. - The
sableCLI serves the catalog in pieces (components, patterns, tokens, utilities, guides), checks a project's wiring withsable doctor, and lints withsable lint, which catches restyled components, hand-built lookalikes, raw colors and fixed spacing. - Presets are portable files the package validates and turns into scoped CSS.
iOS prototypes
- Optional
@sableui/react/iosfor clickable iPhone prototypes: screens are Sable components in your preset, inside iOS chrome (status bar, navigation bar, tab bar, sheets) drawn by Konsta UI, an optional peer installed only for iOS. sable target iosgives each component's decision;sable-lintflags direct Konsta imports.@sableui/react/ios/previewframes a prototype at iPhone size.