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.tsx

    The page's main element: room for the fixed nav above, the footer below, and the container.

  • Block

    block.tsx

    One section of a page, named by its block id, with the container inside unless told not to.

  • Header

    header.tsx

    The title row every page opens with: Title, Count, Aside, Arrow and Content on the grid.

  • Section

    section.tsx

    An editorial section under a black rule: a sticky title on the left, the content on the right.

  • Arrow link

    arrow-link.tsx

    A link set in a heading size with an arrow that moves on hover. ↗ when it leaves the site.

  • Related links

    related-links.tsx

    A titled list of arrow links between black rules.

  • Thumbnail overlay

    thumbnail-overlay.tsx

    An arrow or plus over a thumbnail on hover, and a spinner while it opens.

Actions

(06)

  • Button

    ui/button.tsx

    Solid, outline, secondary, ghost, destructive and link, in four sizes and an icon size.

  • Button group

    ui/button-group.tsx

    Buttons joined into one control.

  • Chip

    ui/chip.tsx

    A pill for clickable suggestions. For a static label, use a badge.

  • Toggle

    ui/toggle.tsx

    A button that stays pressed.

  • Toggle group

    ui/toggle-group.tsx

    Toggles that work as a set: one or several pressed.

  • Kbd

    ui/kbd.tsx

    A key, or a run of keys, for a shortcut.

    ⌘K

Forms

(15)

  • Field

    field.tsx

    A form field: label, control, then the error or a hint underneath.

    I'll only use it to reply.

  • Input

    ui/input.tsx

    A single line of text.

  • Input group

    ui/input-group.tsx

    An input with text, icons or buttons attached.

  • Textarea

    ui/textarea.tsx

    Several lines of text.

  • Label

    ui/label.tsx

    The name of a control, tied to it.

  • Field parts

    ui/field.tsx

    Field parts from shadcn: set, legend, label, description and error.

  • Checkbox

    ui/checkbox.tsx

    A yes or no that's part of a form.

  • Switch

    ui/switch.tsx

    An on or off that takes effect at once.

  • Radio group

    ui/radio-group.tsx

    One choice out of a few, all in view.

  • Select

    ui/select.tsx

    One choice out of many, in a list that opens.

  • Number field

    ui/number-field.tsx

    A number with steppers.

  • Calendar

    ui/calendar.tsx

    A month grid to pick a day or a range.

  • Date selector

    ui/date-selector.tsx

    A date filter: is, before, after or between, by day, month or year.

  • Rating

    ui/rating.tsx

    Stars to give or show a score.

  • Cascader

    ui/cascader

    Nested options picked column by column.

Display

(18)

  • Panel

    panel.tsx

    A titled section on a ReUI frame, and the empty state that goes in one.

  • Stat card

    stat-card.tsx

    A metric in a frame: an icon tile, a label and the figure, in rows of cards.

  • Badge

    ui/badge.tsx

    A short status or count. Static, never clickable.

    DefaultSecondaryOutlineDestructive
  • Avatar

    ui/avatar.tsx

    A person's picture, or their initials when there isn't one.

    IG
  • Alert

    ui/alert.tsx

    A message in the flow of the page: a title, a line and an action.

  • Card

    ui/card.tsx

    A surface with a header, content and footer.

  • Frame

    ui/frame.tsx

    ReUI's frame: a tinted header over one or more panels.

  • Item

    ui/item.tsx

    A row with media, a title, a description and actions.

  • Icon tile

    ui/icon-tile.tsx

    An icon on a lit square, in four sizes.

  • Icon stack

    ui/icon-stack.tsx

    Icons stacked into one mark.

  • Empty

    ui/empty.tsx

    A title, one line and at most one action, for when there's nothing yet.

  • Separator

    ui/separator.tsx

    A rule between groups.

    Above

    Below

  • Skeleton

    ui/skeleton.tsx

    A grey bar where content will load.

  • Spinner

    ui/spinner.tsx

    Something is loading and there's no telling how long.

  • Progress

    ui/progress.tsx

    How far along something is.

    x
  • Table

    ui/table.tsx

    Rows and columns of plain data.

  • Timeline

    ui/timeline.tsx

    Events in order, each with a date and an indicator.

  • Chart

    ui/chart.tsx

    Recharts with the theme's chart colours and a tooltip and legend to match.

Navigation

(08)

  • Tabs

    ui/tabs.tsx

    Views of the same thing, one at a time.

    Figma is where I explore.
  • Breadcrumb

    ui/breadcrumb.tsx

    Where a page sits, as a trail of links.

  • Sidebar

    ui/sidebar.tsx

    The app sidebar: groups, menus and a trigger to fold it.

  • Command

    ui/command.tsx

    A searchable list of commands, on its own or in a dialog.

  • Carousel

    ui/carousel.tsx

    A slide-by-slide row, on Embla.

  • Scroll area

    ui/scroll-area.tsx

    A scrolling area with thin, styled bars.

  • Collapsible

    ui/collapsible.tsx

    Content that opens and closes under its trigger.

  • Accordion

    ui/accordion.tsx

    Collapsibles stacked as a list.

Overlays

(09)

  • Dialog

    ui/dialog.tsx

    A window over the page for a task that needs focus.

  • Alert dialog

    ui/alert-dialog.tsx

    A dialog that asks before something can't be undone.

  • Sheet

    ui/sheet.tsx

    A panel that slides in from an edge.

  • Drawer

    ui/drawer.tsx

    A sheet you can drag, for small screens.

  • Popover

    ui/popover.tsx

    Content anchored to its trigger.

  • Hover card

    ui/hover-card.tsx

    A preview that opens on hover.

  • Tooltip

    ui/tooltip.tsx

    A short label for a control, on hover or focus.

  • Dropdown menu

    ui/dropdown-menu.tsx

    A menu of actions that opens from a button.

  • Toaster

    ui/sonner.tsx

    Toasts, through Sonner.

Data

(04)

  • Data grid

    ui/data-grid

    ReUI's data grid on TanStack Table: sorting, filters, column controls, drag and virtual rows.

  • Filters

    ui/filters

    Filter chips and a builder for querying a list.

  • Kanban

    ui/kanban.tsx

    Columns of cards you drag between.

  • Tree

    ui/tree.tsx

    A folding tree, on Headless Tree.

AI

(04)

  • Conversation

    ai-elements/conversation.tsx

    A chat thread that sticks to the bottom as messages arrive.

  • Message

    ai-elements/message.tsx

    One message in a thread, from the person or the assistant.

  • Shimmer

    ai-elements/shimmer.tsx

    Text with a light passing over it while the assistant works.

  • Suggestion

    ai-elements/suggestion.tsx

    Prompts to start from, in a row that scrolls.

Brand

(03)

  • Wordmark

    brand/wordmark.tsx

    My name, drawn.

  • Builtwell logo

    brand/logo-builtwell.tsx

    Builtwell's mark.

  • Builtwell wordmark

    brand/logo-builtwell-wordmark.tsx

    Builtwell's mark with its name.

Motion and scroll

(05)

  • Lenis

    lenis/index.tsx

    Smooth scrolling for the whole site.

  • Scroll trigger sync

    lenis/scroll-trigger.tsx

    Keeps GSAP's ScrollTrigger in step with Lenis.

  • GSAP runtime

    effects/gsap.tsx

    Drives GSAP from Tempus, the site's one frame loop.

  • Fold

    effects/fold

    Content that folds at the top or bottom of the screen as it scrolls past.

  • Real viewport

    ui/real-viewport

    The real viewport size as CSS variables, for mobile browsers whose bars move.

Not yet described

(01)

  • ui/cursor-preview.tsx