Components. Recipes you select, not CSS you fork.
Every component here is drawn by a recipe foldkit-mixins-ui ships, in a theme made from a few knobs. Open one to pick its variants and read its code, or make a theme and watch them all change.
Previews are drawn in the theme you made.
Edit it- Button
An action, in three tones, five treatments and three sizes.
- Button group
Related buttons joined into one control: icons, a split menu, a field, words, either way up.
- BadgeDraftProNeutralInfoLiveReviewFailed
A status pill toned by the value it carries.
- Alert
A notice in four tones, tinted or bold: inline in the content, or a banner across the page.
- Card
Invite your team
Everyone you invite can edit every page.
NewThree seats left on the Starter plan.
A surface with media, a title, content and actions, pressable and dismissible.
- Card group
Starter
One editor and three pages.
FreeTeam
Ten editors and every page.
$12Business
Sign-on and audit logs.
$40Enterprise
Talk to us first.
Soon
Cards as one choice, with a highlight that follows the pointer between them.
- Input
We send the receipt here.
A labelled text field with a description.
- Textarea
A field for more than one line: it grows with its text up to a number of lines, counts toward a limit, and holds a row of controls.
- Select
The native select, styled like the fields beside it: options, groups, a placeholder, and the states.
- Checkbox
A choice that is on or off, its state in your Model.
- Switch
A setting that takes effect at once.
- Avatar
A picture of someone, or their initials when it does not load.
- Kbd
Press Enter to send.
A key on the keyboard.
- Separator
A rule between groups of content.
- Skeleton
A placeholder where content is still loading.
- Spinner
Work in progress, announced politely.
- Table
Recent invoices Invoice Status Amount INV-001 Paid $250.00 INV-002 Pending $150.00 INV-003 Paid $350.00 INV-004 Overdue $450.00 Rows and columns, numbers aligned to the end; sorted, chosen and opened by the application.
- Breadcrumb
Where a page sits, and the way back up.
- Pagination
Pages of a long list, the current one in your Model.
- ItemDeploy finished2 minutes agoProduction is live.
A row of a list: media, a title, a line and actions.
- Empty
No results for “invoices 2019”
Check the spelling, or search every folder.
What a list shows before it has anything in it.
- Disclosure
One button that shows and hides one panel, with a chevron that turns.
- AccordionSeats, invoices and receipts, billed monthly.Invite people, remove them, and assign their roles.Mint a key per service, scope it, and revoke it.
Sections that open under their headings, one at a time or several.
- Checkbox group
A question answered with any number of options, under its legend.
- Number field
From 1 to 12; the arrow keys step it.
A number typed or stepped, inside its bounds and on its step.
- Input OTP
A one-time code in cells, typed, pasted or filled from a text message.
- Hover card
A card of more about a link, shown while the pointer or focus rests on it.
- CommandCalendarSearch emojiCalculatorProfileBillingSettingsKeyboard shortcutsDocumentationContact support
Nothing run yet
A search field over every command, filtered as you type and run by Enter.
- Resizable
Two panels and a handle between them, dragged or stepped by the arrow keys, collapsed and nested.
- SidebarAcmeada@acme.dev
The navigation of an application in groups, collapsed off the page or to a rail of icons, and in a sheet on a phone.
- Menubar
Nothing chosen yet.
A row of menus with one tab stop, the arrows moving from one open menu to the next.
- ProgressUploadingPreparing
How far work has gone, as a bar or a ring, sliding or turning while the end is unknown.
- MeterBatteryStorage used
A measurement within its range, coloured by how near it sits to the best value.
- Scroll area
- Release 0.24.0
- Release 0.23.0
- Release 0.22.0
- Release 0.21.0
- Release 0.20.0
- Release 0.19.0
- Release 0.18.0
- Release 0.17.0
- Release 0.16.0
- Release 0.15.0
- Release 0.14.0
- Release 0.13.0
- Release 0.12.0
- Release 0.11.0
- Release 0.10.0
- Release 0.9.0
- Release 0.8.0
- Release 0.7.0
- Release 0.6.0
- Release 0.5.0
- Release 0.4.0
- Release 0.3.0
- Release 0.2.0
- Release 0.1.0
A box that scrolls instead of the page, its bars thin or drawn over it.
- Virtual list
Ten thousand rows that scroll as thirty, since only the rows in view are drawn.
- Window list
Town 1
Town 2
Town 3
Town 4
Town 5
… 995 more, drawn as the page scrolls past them. Open the page to try it.
A list of thousands that scrolls with the page, drawing only the rows in view.
- Steps
- AccountCompletedYour details
- PlanCompletedPick a tier
- PaymentCard or invoice
- ReviewUpcoming
An ordered list of steps, those done checked, the current one marked, joined by a line.
- RatingYour stay
A score out of five stars, halves or hearts, chosen with a press or the arrows, or shown read-only to any fraction.
- Password input
At least twelve characters.
A password field with a toggle that shows it as text.
- Tags input
- effect
- foldkit
A list of tags as removable chips, added with Enter or a comma.
- Input copy
A read-only value with a button that copies it, and says it did.
- Sheet
Twelve results near you.
A dialog from an edge of the screen whose handle drags it between resting points and away, a drawer as on a phone.
- Drawer
A panel docked to the bottom of the screen that peeks or opens beside the page, which stays live.
- App shell
The page frame: a skip link, a header with its status and actions, an optional side column, the main region and a footer.
- Color pickerAccentHueAlpha
A color from a saturation and brightness area, hue and alpha tracks, typed in hex, rgb, hsl or oklch, or picked from the screen.
- Tree view
- src
- components
- button.ts
- tree.ts
- index.ts
- tests
- tree.test.ts
- pnpm-lock.yaml
- README.md
Nothing chosen yet.
Nested rows that open and shut, one tab stop, the arrows moving through what shows.
- CarouselDunesCoastRidgeValley1 of 4
Slides in a track that snaps, with previous, next, dots or thumbnails, several at once, and a rotation that pauses.
- Navigation menu
The links of a site in a row or a column, the current page marked by a line that glides to it, and panels of links under its triggers.
- Segmented
A few options in a tray, one pressed, with a pill that slides to a new press.
- Tabs
Six people, three open milestones, one launch.
Panels of one place, one shown at a time, moved between by the arrow keys; with icons, counts, a scrolling row and tabs that close.
- Radio group
One choice of a few, each with a line that explains it.
- SliderVolume
Applies to this device only.
PriceA number, or a low and a high one that cannot pass each other, across or upright, with marks, ticks and its value shown.
- Dialog
A modal that holds focus until it is answered or Escape dismisses it; as an alert dialog, only an answer closes it.
- Popover
A panel placed beside its button, closed by Escape or a press outside.
- Tooltip
A hint on hover or focus, after a short wait.
- Menu
Nothing chosen yet.
report.pdfNothing chosen yet.
Actions behind a button, at the point a right press lands, or down a submenu beside its row.
- Listbox
A custom select: one value or several from a list that opens under its button, with icons, descriptions, groups, a trailing part, a clear button, and your own rule for what may be chosen.
- Combobox
A field that suggests as you type, and keeps one suggestion or several as chips, with a clear button and an empty panel.
- CalendarSunMonTueWedThuFriSat
A month of days to pick from, one day or a start and an end, with its months and years a press away.
- Date picker
A date behind a button, picked from a calendar that opens under it.
- File drop
A zone to drop files on or click to browse, tinted while a drag hovers.
- Toast
A notice in the corner that goes by itself, or when dismissed.
- Chat messageWhich sizes does the ladder have?AdaTwo ends, 36px and 28px, with the step knob between them.
A message with its sender, time, status and actions: the user’s in a bubble, an answer as text, a sender’s run grouped, and a streamed body that never re-wraps.
- Message scrollerWhat is a recipe?Pieces of style for each slot of a component, picked by its axes.And a slot?A named part of the component, which a style or a Mixin reaches.Can I change one?Extend the recipe, or add a rule in your app layer.Which layer wins?The app layer, after components and variants.
A conversation that follows the newest message while you are at the end, stops when you scroll up, counts what arrives, and holds its place as older messages load.
- Thinking indicatorThinkingSearching the web
An assistant at work, announced politely: dots, a pulse or an icon beside words a band of light sweeps.
- Thinking steps
- Planned the answer done 0.9s
- Found four sources on tide tables.
- Read the sources done 1.1s
An assistant’s reasoning and tool calls as a trace that opens while it runs and says how long it took.
- Questionnaire
An assistant’s questions, answered in the chat and sent as one Message.
- Angle sliderHeading
An angle in degrees from a dial, dragged round or stepped by the keys, with marks.
- TimerTea03:00
A countdown or a stopwatch, started, paused, resumed and reset, each unit its own part.
- MarqueeAcmeGlobexInitechUmbrellaHooliStarkAcmeGlobexInitechUmbrellaHooliStark
Content that scrolls on without a seam, held by a pointer, by focus or by its press.
- Image cropperCrop the photoZoom
A crop of an image dragged and resized by handles and keys, zoomed, turned, locked to an aspect or round, and exported from a canvas.
- Signature padSignature
Strokes drawn with a pointer or a pen and its pressure, smoothed, undone and cleared, with a typed name for whoever cannot draw.
- QR code
Text as a QR code: one SVG path in a quiet zone, a logo over its centre, saved as a PNG or an SVG.
- Chart
Visitors January to June
Visitors Category Desktop Mobile January 186 80 February 305 200 March 237 120 April 73 190 May 209 130 June 214 140 Bars, a line, an area or a donut drawn to scale, with a tooltip, a legend, keys through the points and its data as a table.
- Cascade select
One value chosen as a path through nested options, from a column per level or one level at a time, by the pointer or the arrows.
- Floating panel
A window over the page that its header drags and its edges resize, kept within the viewport, minimized, maximized, and stacked among others.
- Tour
A guided walk through steps beside the elements they explain, the page dimmed around each, with its place, next, back and skip.
- Search field
A search input with a clear button, Escape to clear, and keys of your own beside it.
- Toolbar
One tab stop over a row of controls, moved by the arrows, Home and End, with a group and a rule between sets.
- File input
Images only, any number.
A native file picker with a button for a label, and the chosen files listed with a remove button each.
- File upload
Contracts, invoices and anything else we should read.
Up to 5 files, 5.0 MB each
A field of files, each with a status: picked, dropped or pasted, checked against limits, previewed, and sent by a transport you pass in.
- Picker
One control that is a dropdown on a desktop and a bottom sheet on a phone, with one Model and one Message for a choice made either way, in groups, with a clear button.
- Aspect ratioReserved before it loads
A frame held at one ratio, so the space is reserved before its content arrives.
- Figurets
const total = items.lengthListing 1. The count is read, never stored. Content with a caption that names it, as a figure and its figcaption.
- Frame
Deployments
Everything shipped this week.
Production, from main, 4 minutes ago
Preview, from the billing branch, yesterday
Production, from main, 2 days ago
Updated just nowA tray that holds several panels, with a heading, an action and a note: alerts, rows, a list of items.
- Image
A picture that holds its box before the file arrives, in the asset’s ratio or a crop, and says what it shows or that it is ornament.
- Label
The words that name a control, tied to it by the id it carries.
- Field
We send the receipt here.
The shell around a control you drew: its label and mark, a description and errors, beside it or above it.
- Fieldset
A group of related fields under a legend and a description, disabled together.
- Typography
Heading one
Heading two
Heading three
A lead paragraph sets the page apart from the body under it.
Body copy keeps a readable measure, so a long paragraph stays easy to follow.
Muted, for what is secondary.
Small print for a footnote.A quote keeps its blockquote and a rule.
Typography.view({ level: 'code' })One voice of the type scale, spoken through the element that means it.
- IconCopy
An icon as data, an image with a name when it means something and ornament when it does not.
- Code blocktotals.ts
export const total = 3 // items export const done = "yes"Code with a title, line numbers, a copy button, and the colours of the tokens a tokenizer found.