Build Components

HomeCatalogue

Parts catalogue

137 parts, each one tested as both a React + Tailwind file and plain HTML, CSS and JavaScript. Search it, narrow it by type and group, then open one to set it up and take it away.

Every part

Search by name, by what it does, or by another word for it. Press slash or Control K to jump here.

Show parts of type

137 parts

  • Date picker

    Inputs · Date & time

    One date or a range, typed in your format, with month and year views and earliest/latest dates.

  • Modal dialog

    Overlays · Dialogs

    Centred dialog or bottom sheet. Focus stays inside, Escape closes, motion respects reduced-motion settings.

  • Searchable select

    Inputs · Choice

    Type to filter a long list, pick with the keyboard or the mouse, with matches highlighted.

  • Form validation

    Inputs · Forms

    Your rules, and error messages that say what went wrong and how to fix it.

  • Site header

    Page sections · Headers & footers

    Logo, links, call to action and a mobile menu that behaves.

  • Tabs

    Navigation · Within a page

    One area, several panels. Arrow keys move between tabs, in a row or down the side.

  • Shopping cart

    Content · Shop

    Lines, quantities, removing, delivery and totals, as a panel or a drawer.

  • Carousel

    Content · Media

    A row of slides that scrolls, swipes and steps, with dots, a counter and optional rotation.

  • Mega menu

    Navigation · Site navigation

    Several columns of links under one heading, opened by click or hover, closed by Escape.

  • Site footer

    Page sections · Headers & footers

    Brand, links, social profiles and the legal line. Plain HTML, no JavaScript.

  • Call to action section

    Page sections · Conversion

    Heading, supporting text and actions. Plain HTML, no JavaScript.

  • Accordion

    Content · Articles & text

    Sections that open one at a time, or all at once, with the content in the page from the start.

  • Tooltip

    Overlays · Popups

    A short note on a control, opened by hover and by keyboard focus, closed by Escape.

  • Dropdown menu

    Navigation · Menus & commands

    A button that opens a list of actions: arrow keys, type to jump, Escape to close.

  • Popover

    Overlays · Popups

    An anchored panel you can use: focus moves in, Escape closes it and comes back out.

  • Toast notifications

    Overlays · Popups

    Messages that appear, announce themselves, pause while you read and clear themselves.

  • Data table

    Content · Data & apps

    Rows that sort by value, select by row and stack into cards on a phone.

  • Pagination

    Navigation · Steps & pages

    Numbered pages with gaps, previous and next, as links or as buttons.

  • Breadcrumbs

    Navigation · Steps & pages

    The trail back up the site, collapsing to first and current on a phone. No JavaScript.

  • Stepper

    Navigation · Steps & pages

    Where you are in a multi-step flow, with each state said in words. No JavaScript.

  • Sidebar navigation

    Navigation · Site navigation

    Sections of links with the current page marked, folding into a drawer on a phone.

  • File upload

    Inputs · Drag, drop & draw

    Choose or drop files, with the kind and size checked and every change announced.

  • Multi-select

    Inputs · Choice

    Pick several from a long list, with each choice removable and every change announced.

  • Password field

    Inputs · Text

    Rules read with the field, strength said in words, and a show button that says its state.

  • OTP input

    Inputs · Text

    Boxes that fill as you type, take a pasted code whole, and say when the code is complete.

  • Range slider

    Inputs · Numbers

    One value or a range, on native range inputs that keep their keyboard and announce their unit.

  • Search with suggestions

    Navigation · Menus & commands

    Point it at any data, nested or flat, and search it from anywhere with ⌘K.

  • Time picker

    Inputs · Date & time

    Type a time any common way or pick from a list, in 12- or 24-hour, with earliest and latest times.

  • Tree view

    Navigation · Within a page

    Folders and items as deep as you like, with the full arrow-key model, type-ahead and one Tab stop.

  • Drag-and-drop list

    Inputs · Drag, drop & draw

    Reorder by dragging, by keyboard or with move buttons, with every move announced.

  • Drawer

    Overlays · Panels

    A panel that slides in from a side or the bottom, keeps focus inside and closes with a swipe.

  • Cookie consent

    Overlays · Dialogs

    Accept and reject side by side, nothing ticked in advance, and a way back to change your mind.

  • Card payment fields

    Inputs · Forms

    Number, expiry and code that format as you type, name the card type and catch typos before paying.

  • Product tour

    Overlays · Popups

    Steps that point at parts of your page, move focus with them, and can be skipped at any moment.

  • Infinite feed

    Content · People & status

    A list that loads more on request or as you scroll, keeps your place and says when it has ended.

  • Lightbox

    Content · Media

    Thumbnails that open a full-screen viewer with arrow keys, swipe, captions and focus kept inside.

  • Split panes

    Content · Data & apps

    Two panels and a divider you can drag, move with the arrow keys or collapse with Enter.

  • Switch

    Inputs · Choice

    An on/off control that says which it is in words, on a real checkbox so the keyboard comes free.

  • Rating

    Inputs · Choice

    Stars to pick a rating, in whole or half stars, or an average shown as one figure a screen reader reads in full.

  • Segmented control

    Inputs · Choice

    A handful of choices side by side, on radios, so arrow keys and forms work without script.

  • Alert banner

    Feedback · Messages

    Inline messages that say their tone in words first, and only interrupt when it is an error.

  • Skeleton

    Feedback · Loading & progress

    Placeholder shapes while content loads, announced once in words instead of as empty boxes.

  • Empty state

    Feedback · States & guards

    A calm screen for nothing-to-show, saying what happened and exactly what to do next.

  • Avatar group

    Content · People & status

    Overlapping faces or initials, with the extra people named rather than hidden behind a number.

  • Badge

    Content · People & status

    Status pills whose words carry the meaning, so colour is never doing the work alone.

  • Tag input

    Inputs · Text

    Type and press Enter to add a tag; each one is removable and every change is announced.

  • Quantity input

    Inputs · Numbers

    Minus, a real number field and plus, with the new amount and its limits said in words.

  • Currency input

    Inputs · Numbers

    Type an amount freely; it is tidied on leaving and sent to your server as a plain number.

  • Phone input

    Inputs · Text

    Country code beside the number, digits grouped the local way, one value for your server.

  • Inline edit

    Inputs · Text

    A value that turns into a field on click, with Enter to save, Escape to cancel, and focus kept.

  • Colour picker

    Inputs · Choice

    Named swatches as one radio group, plus the browser's own picker for anything else.

  • Back to top button

    Navigation · Within a page

    Appears once you have scrolled, and moves focus to the top as well as the page.

  • Reading progress bar

    Navigation · Within a page

    A progress bar for how far you have read, and a contents list that marks the section you are in.

  • Language switcher

    Navigation · Site navigation

    Languages written in their own language, as real links carrying lang and hreflang.

  • Filter bar

    Inputs · Forms

    Chips that are real toggles, removable pills for what is on, and one status line that sums it up.

  • Data grid

    Content · Data & apps

    A table with a header that stays put, sortable columns reporting aria-sort, and columns you can resize by arrow key.

  • Kanban board

    Content · Data & apps

    Cards that move by button as well as by drag, with focus and announcements following them.

  • Confirm dialog

    Overlays · Dialogs

    The dangerous button stays off until the words are typed exactly, with the reason said out loud.

  • Session timeout

    Overlays · Dialogs

    An idle warning that counts down, speaks at the marks worth hearing, and treats Escape as staying.

  • Unsaved changes guard

    Feedback · States & guards

    Asks before leaving only while there is something to lose, in the page and on closing the tab.

  • Offline banner

    Feedback · Messages

    Says the connection went and what is being kept, politely, with a retry that actually re-checks.

  • Keyboard shortcuts dialog

    Overlays · Dialogs

    One key brings up the shortcut sheet — unless you are typing, where ? is just a question mark.

  • Pricing table

    Page sections · Conversion

    Plans with a monthly/yearly radio group, a badge in words on the highlighted plan, and prices exactly as you write them.

  • Stat cards

    Content · Data & apps

    KPI tiles as a description list, with the change written in words so colour is never the only clue.

  • Activity timeline

    Content · Articles & text

    An ordered list of what happened, with real time elements and the older entries behind one button.

  • Comment thread

    Content · People & status

    Comments and replies as nested lists, a box that cannot post nothing, and a count that follows along.

  • Product card

    Content · Shop

    Variant options as real radio groups, out-of-stock said in words, and an add button that waits for every choice.

  • Chat

    Inputs · AI

    An assistant for your site: answers from your own list, or streams from your AI, inline or as a floating panel.

  • Prompt input

    Inputs · AI

    The Ask anything box: Enter sends, suggestions fill it, and the question goes to your chat or results page.

  • Menu

    Content · Shop

    A restaurant or café menu: dishes by section, each with its price, a description and dietary marks.

  • Reviews

    Content · Shop

    Reviews with stars read as words, the average, and a bar for each number of stars, worked out from the reviews.

  • Donate

    Page sections · Conversion

    A donation box: amounts to choose or type, once or monthly, and a button that says what it gives.

  • Product grid

    Content · Shop

    A shop's products as cards: a name that links, its price, a note such as New, and a picture with its description.

  • Signature pad

    Inputs · Drag, drop & draw

    Draw a signature with a pointer, or type the name instead — the alternative is the whole point.

  • Code block with copy

    Content · Articles & text

    Copy to clipboard with a real fallback when the clipboard is refused, plus line numbers that never get copied.

  • Toolbar

    Navigation · Menus & commands

    One tab stop for the whole bar, arrow keys inside it, and toggles that report their state.

  • Countdown

    Feedback · Loading & progress

    Digits that tick every second without being read out every second — the announcement follows the coarse reading.

  • Time slot picker

    Inputs · Date & time

    One radio group across every day, taken slots said in words, and announcements that carry the day as well as the time.

  • Multi-step wizard

    Navigation · Steps & pages

    One step at a time, focus moved to each step's heading, and a needed field you cannot walk past.

  • Checkbox group

    Inputs · Choice

    Boxes under one question, an everything box that shows the mixed state, and a count said politely.

  • Radio cards

    Inputs · Choice

    Choices as cards that are still real radios: one tab stop, arrow keys, and unavailable said in words.

  • Textarea with counter

    Inputs · Text

    A character count that is read out at the marks that matter, not on every keystroke.

  • Select field

    Inputs · Choice

    The humble native select done properly: real label, optgroups, and an error that takes focus back.

  • FAQ

    Content · Articles & text

    Questions and answers on native details and summary, so opening, the keyboard and find-on-page all come free.

  • Details list

    Content · Data & apps

    Label and value pairs that stay paired on a phone, with change links that name their row.

  • Comparison table

    Content · Data & apps

    Plans across, features down, and yes or no printed as words rather than a bare tick.

  • Hero section

    Page sections · Heroes & features

    A page opening whose heading level is yours to set, with a drawn picture panel and no image requests.

  • Feature grid

    Page sections · Heroes & features

    Features as a real list with real headings, glyphs hidden from screen readers and links that name themselves.

  • How it works

    Page sections · Heroes & features

    Numbered steps as an ordered list, so the sequence survives without the drawn circles.

  • Newsletter signup

    Page sections · Conversion

    An email form that writes its own errors, keeps focus on what needs fixing and never pre-ticks consent.

  • Toggle group

    Inputs · Choice

    Several answers to one question as checkboxes drawn like buttons, with the last one refusing to turn off.

  • Value with unit

    Inputs · Numbers

    A number and its unit as two labelled fields and one answer, read back together.

  • Masked input

    Inputs · Text

    Punctuation filled in as you type, nothing refused outright, and the shape said before you start.

  • Date range

    Inputs · Date & time

    Two native date fields that narrow each other, refuse a backwards range and say the span in words.

  • Time range

    Inputs · Date & time

    Opening hours or a shift: two time fields, one step, and how long it is said in words.

  • Dual range slider

    Inputs · Numbers

    A low and a high end as two real sliders that clamp each other, each announcing its formatted value.

  • PIN pad

    Inputs · Numbers

    An on-screen keypad that also answers the keyboard, announcing the count and never the digits.

  • Autosaving field

    Inputs · Text

    Saves after a rest in the typing, says which of four states it is in, and never loses the draft.

  • Form error summary

    Inputs · Forms

    Every problem listed once at the top, focus moved to the list, each line a link to the answer.

  • Address fields

    Inputs · Forms

    A postcode field called what that country calls it, a region field only where one exists, and autofill tokens throughout.

  • Skip links

    Navigation · Site navigation

    Hidden by size rather than removed, so they stay in the tab order, and each one moves focus as well as the scroll.

  • Anchor navigation

    Navigation · Within a page

    An on-this-page list that marks the section being read with aria-current, and moves focus when you follow it.

  • Command menu

    Navigation · Menus & commands

    Ctrl K over a grouped list of actions, with the field keeping focus and aria-activedescendant doing the moving.

  • Menu bar

    Navigation · Menus & commands

    One tab stop for the whole bar, arrows inside it, sideways from a menu opening the next one, and type-ahead.

  • Cursor pagination

    Navigation · Steps & pages

    Newer and older with no page numbers, ends that say why they are stuck, and focus that follows the new rows.

  • Navigation progress

    Navigation · Steps & pages

    A load indicator whose real work is the words: a route change tells a screen reader nothing by itself.

  • Shrinking sticky header

    Navigation · Site navigation

    Shrinks past a threshold, steps aside going down, and comes back the moment anything inside takes focus.

  • Hover card

    Overlays · Popups

    A preview that opens on focus as well as hover, can be dismissed with Escape, and holds nothing you have to click.

  • Bottom sheet

    Overlays · Panels

    Three heights on a native modal dialog, with a handle that is a real button so the heights work without dragging.

  • Loading button

    Feedback · Loading & progress

    aria-busy and aria-disabled rather than the disabled attribute, so the focus and the state survive the wait.

  • Undo snackbar

    Feedback · Messages

    A way back from an action, with a clock that stops while you are using it and can be turned off entirely.

  • Inline confirm

    Feedback · States & guards

    The question replaces the button in its own row, with focus on the safe answer and Escape as the way out.

  • Circular progress

    Feedback · Loading & progress

    A ring that reads back its value with a unit, prints the number, and carries no value at all when it does not know one.

  • Error state with retry

    Feedback · States & guards

    Names what failed, says whether anything changed, offers a retry, and hides the technical line behind a disclosure.

  • Maintenance notice

    Feedback · Messages

    A real time window, what will and will not work, and a dismissal remembered even where storage throws.

  • Help hint

    Inputs · Forms

    Long help behind a named button that stays open, and joins the field's description while it is.

  • Changelog

    Content · Articles & text

    Releases as an ordered list, each kind named in words, with real dates and nothing behind a disclosure.

  • Notification list

    Feedback · Messages

    Every mark-as-read button named with its own item, unread said in words, and a count that stays in step.

  • List with row actions

    Content · Data & apps

    A table whose per-row buttons are each named with their row, so nine buttons have nine names.

  • Order tracker

    Content · Shop

    Where it has got to, said in one sentence first, then a list of stages each with its state in words.

  • Invoice summary

    Content · Shop

    Lines, subtotal, tax and total worked out in whole pennies, in a table whose footer is a real tfoot.

  • Article card

    Content · Articles & text

    One link per card and it is the title, with the whole card clickable through that link rather than a second one.

  • Author byline

    Content · Articles & text

    Who wrote it and when, with both dates said, rel=author on the link, and no misused address element.

  • Image gallery

    Content · Media

    Figures in a list, with empty and described alt treated as the different things they are, and space reserved before loading.

  • Click-to-load video

    Content · Media

    No request to the video host until you press play, a button named with the video, and a titled frame.

  • Pull quote

    Content · Articles & text

    The attribution in a figcaption rather than inside the quotation, and cite used for the work, not the person.

  • Team grid

    Page sections · Heroes & features

    People as a list rather than a stack of headings, with initials instead of photographs and nobody invented.

  • Logo wall

    Page sections · Heroes & features

    Names as text when there is no image, alt that is the name rather than the word logo, and no borrowed endorsements.

  • Page header

    Page sections · Headers & footers

    The page's one h1 in a header landmark, with a named trail whose last step is not a link.

  • Split feature

    Page sections · Heroes & features

    Words beside a picture, with the words first in the source whichever side the picture is on.

  • Stat comparison

    Page sections · Conversion

    Two options compared row by row, with the better one said in words and rows allowed to have no winner.

  • Text section

    Page sections · Heroes & features

    A heading and paragraphs at a reading width, with an optional link.

  • Picture

    Page sections · Heroes & features

    One picture with a description and an optional caption. A drawn placeholder until you set one.

  • Testimonials

    Page sections · Conversion

    Real quotes from real people, with who said them. Placeholders until they are real.

  • Contact details

    Page sections · Conversion

    Email, phone, address and opening hours, labelled, with links that call and write.

  • Post list

    Content · Articles & text

    Blog posts as cards or a list: a title that links, a date in words and a summary.

  • Announcement bar

    Page sections · Headers & footers

    One line of news across the top of every page, with an optional link.