Components
(79)
The parts in my design system package, shared by this site and my OS. 22 are live below; the rest need data, a provider or an open state to show anything, so they're listed by name.
From packages/design-system/components.
Site
(07)
Wrapper
wrapper.tsxThe page's main element: room for the fixed nav above, the footer below, and the container.
Block
block.tsxOne section of a page, named by its block id, with the container inside unless told not to.
Header
header.tsxThe title row every page opens with: Title, Count, Aside, Arrow and Content on the grid.
Section
section.tsxAn editorial section under a black rule: a sticky title on the left, the content on the right.
Arrow link
arrow-link.tsxA link set in a heading size with an arrow that moves on hover. ↗ when it leaves the site.
Related links
related-links.tsxA titled list of arrow links between black rules.
Thumbnail overlay
thumbnail-overlay.tsxAn arrow or plus over a thumbnail on hover, and a spinner while it opens.
Actions
(06)
Button
ui/button.tsxSolid, outline, secondary, ghost, destructive and link, in four sizes and an icon size.
Button group
ui/button-group.tsxButtons joined into one control.
Chip
ui/chip.tsxA pill for clickable suggestions. For a static label, use a badge.
Toggle
ui/toggle.tsxA button that stays pressed.
Toggle group
ui/toggle-group.tsxToggles that work as a set: one or several pressed.
Kbd
ui/kbd.tsxA key, or a run of keys, for a shortcut.
⌘K
Forms
(15)
Field
field.tsxA form field: label, control, then the error or a hint underneath.
I'll only use it to reply.
Input
ui/input.tsxA single line of text.
Input group
ui/input-group.tsxAn input with text, icons or buttons attached.
Textarea
ui/textarea.tsxSeveral lines of text.
Label
ui/label.tsxThe name of a control, tied to it.
Field parts
ui/field.tsxField parts from shadcn: set, legend, label, description and error.
Checkbox
ui/checkbox.tsxA yes or no that's part of a form.
Switch
ui/switch.tsxAn on or off that takes effect at once.
Radio group
ui/radio-group.tsxOne choice out of a few, all in view.
Select
ui/select.tsxOne choice out of many, in a list that opens.
Number field
ui/number-field.tsxA number with steppers.
Calendar
ui/calendar.tsxA month grid to pick a day or a range.
Date selector
ui/date-selector.tsxA date filter: is, before, after or between, by day, month or year.
Rating
ui/rating.tsxStars to give or show a score.
Cascader
ui/cascaderNested options picked column by column.
Display
(18)
Panel
panel.tsxA titled section on a ReUI frame, and the empty state that goes in one.
Stat card
stat-card.tsxA metric in a frame: an icon tile, a label and the figure, in rows of cards.
Badge
ui/badge.tsxA short status or count. Static, never clickable.
DefaultSecondaryOutlineDestructiveAvatar
ui/avatar.tsxA person's picture, or their initials when there isn't one.
IGAlert
ui/alert.tsxA message in the flow of the page: a title, a line and an action.
SavedThe draft is up to date.Card
ui/card.tsxA surface with a header, content and footer.
Frame
ui/frame.tsxReUI's frame: a tinted header over one or more panels.
Item
ui/item.tsxA row with media, a title, a description and actions.
Icon tile
ui/icon-tile.tsxAn icon on a lit square, in four sizes.
Icon stack
ui/icon-stack.tsxIcons stacked into one mark.
Empty
ui/empty.tsxA title, one line and at most one action, for when there's nothing yet.
Separator
ui/separator.tsxA rule between groups.
Above
Below
Skeleton
ui/skeleton.tsxA grey bar where content will load.
Spinner
ui/spinner.tsxSomething is loading and there's no telling how long.
Progress
ui/progress.tsxHow far along something is.
Table
ui/table.tsxRows and columns of plain data.
Timeline
ui/timeline.tsxEvents in order, each with a date and an indicator.
Chart
ui/chart.tsxRecharts with the theme's chart colours and a tooltip and legend to match.
Overlays
(09)
Dialog
ui/dialog.tsxA window over the page for a task that needs focus.
Alert dialog
ui/alert-dialog.tsxA dialog that asks before something can't be undone.
Sheet
ui/sheet.tsxA panel that slides in from an edge.
Drawer
ui/drawer.tsxA sheet you can drag, for small screens.
Popover
ui/popover.tsxContent anchored to its trigger.
Hover card
ui/hover-card.tsxA preview that opens on hover.
Tooltip
ui/tooltip.tsxA short label for a control, on hover or focus.
Dropdown menu
ui/dropdown-menu.tsxA menu of actions that opens from a button.
Toaster
ui/sonner.tsxToasts, through Sonner.
Data
(04)
Data grid
ui/data-gridReUI's data grid on TanStack Table: sorting, filters, column controls, drag and virtual rows.
Filters
ui/filtersFilter chips and a builder for querying a list.
Kanban
ui/kanban.tsxColumns of cards you drag between.
Tree
ui/tree.tsxA folding tree, on Headless Tree.
AI
(04)
Conversation
ai-elements/conversation.tsxA chat thread that sticks to the bottom as messages arrive.
Message
ai-elements/message.tsxOne message in a thread, from the person or the assistant.
Shimmer
ai-elements/shimmer.tsxText with a light passing over it while the assistant works.
Suggestion
ai-elements/suggestion.tsxPrompts to start from, in a row that scrolls.
Brand
(03)
Wordmark
brand/wordmark.tsxMy name, drawn.
Builtwell logo
brand/logo-builtwell.tsxBuiltwell's mark.
Builtwell wordmark
brand/logo-builtwell-wordmark.tsxBuiltwell's mark with its name.
Motion and scroll
(05)
Lenis
lenis/index.tsxSmooth scrolling for the whole site.
Scroll trigger sync
lenis/scroll-trigger.tsxKeeps GSAP's ScrollTrigger in step with Lenis.
GSAP runtime
effects/gsap.tsxDrives GSAP from Tempus, the site's one frame loop.
Fold
effects/foldContent that folds at the top or bottom of the screen as it scrolls past.
Real viewport
ui/real-viewportThe real viewport size as CSS variables, for mobile browsers whose bars move.
Not yet described
(01)
ui/cursor-preview.tsx