# Build Components: every part and its options > Accessible UI components you configure visually and take into your project as plain code: React + Tailwind (Next.js or any React app), HTML/CSS/JS, Vue or Nuxt, Svelte or SvelteKit, Astro, Angular, Solid or a Web Component. No library to install. ## Install a part Every part is a shadcn registry item. Install with your options in the query string: npx shadcn@latest add "https://build-components.devstash.me/r/date-picker.json?theme=dark&accentColor=%237c3aed" Or add the namespace to components.json once, then install by name (with the default options): "registries": { "@build-components": "https://build-components.devstash.me/r/{name}.json" } npx shadcn@latest add @build-components/date-picker The React output needs Tailwind CSS v4. Each part's page also gives plain HTML/CSS/JS, and Vue (Nuxt), Svelte (SvelteKit), Astro, Angular, Solid and Web Component files built on it, to copy or download. Options left out keep their defaults; values that are not valid are ignored. ## Date picker (date-picker, 1.5.0) Accessible date picker (WAI-ARIA dialog + grid) with single or range selection. Page: https://build-components.devstash.me/date-picker · Install: https://build-components.devstash.me/r/date-picker.json - `label`: text, up to 60 characters. Default "Date". Text shown above the field. - `name`: text, up to 40 characters. Default "date". Name of the value sent when the form is submitted. - `minDate`: a date as YYYY-MM-DD, or empty. Default "". Days before this can't be picked. - `maxDate`: a date as YYYY-MM-DD, or empty. Default "". Days after this can't be picked. - `format`: one of DD/MM/YYYY, MM/DD/YYYY, YYYY/MM/DD, YYYY-MM-DD. Default "DD/MM/YYYY". How dates are shown and typed. - `mode`: one of single, range. Default "single". Pick one date, or a start and end date. - `weekStartsOn`: one of monday, sunday. Default "monday". First column of the calendar. - `clearButton`: true or false. Default false. An × button that empties the field. - `todayButton`: true or false. Default false. Jumps the calendar back to today. - `helperText`: true or false. Default false. A short hint under the field. - `helperTextContent`: text, up to 120 characters. Default "Select or type a date.". The hint itself. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `iosOnPhone`: true or false. Default true. On iPhone and iPad: Apple's system font, iOS blue, bigger rows, and a sheet that slides up. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Selected days and focus rings. Text colour adjusts for contrast. - `radius`: a number from 0 to 16. Default 6. Roundness of the field, calendar and days. - `size`: one of sm, md, lg. Default "md". Height of the field and the calendar cells. - `afterText`: text, up to 120 characters. Default "Choose a date on or after {date}.". Said for a date before the earliest. {date} is the earliest. - `beforeText`: text, up to 120 characters. Default "Choose a date on or before {date}.". Said for a date after the latest. {date} is the latest. - `formatHint`: text, up to 120 characters. Default "Enter the date as {format}.". Said when the typing is not a date. {format} is the format. - `badMonthText`: text, up to 120 characters. Default "{month} isn't a valid month. Use 01 to 12.". {month} is what was typed. - `badDayText`: text, up to 120 characters. Default "Day {day} doesn't exist — that month has {max} days.". {day} is what was typed, {max} the month's last day. - `rangeFormatText`: text, up to 120 characters. Default "Enter the dates as {format} – {format}.". Said when a range is not two dates. {format} is the format. - `startErrorText`: text, up to 160 characters. Default "Start date: {error}". Puts the start date's problem in words. {error} is the problem. - `endErrorText`: text, up to 160 characters. Default "End date: {error}". Puts the end date's problem in words. {error} is the problem. - `backwardsText`: text, up to 120 characters. Default "The end date is before the start date.". Said when the end is before the start. - `chooseDateLabel`: text, up to 40 characters. Default "Choose date". Opens the calendar. - `chooseDatesLabel`: text, up to 40 characters. Default "Choose dates". Opens the calendar to pick a range. - `clearDateLabel`: text, up to 40 characters. Default "Clear date". Empties the field. - `clearDatesLabel`: text, up to 40 characters. Default "Clear dates". Empties both dates. - `previousLabel`: text, up to 40 characters. Default "Previous {step}". Read out for the left arrow. {step} is month, year or 12 years. - `nextLabel`: text, up to 40 characters. Default "Next {step}". Read out for the right arrow. {step} is month, year or 12 years. - `monthWord`: text, up to 20 characters. Default "month". Used in Previous and Next on the days view. - `yearWord`: text, up to 20 characters. Default "year". Used in Previous and Next on the months view. - `yearsWord`: text, up to 20 characters. Default "12 years". Used in Previous and Next on the years view. - `chooseYearLabel`: text, up to 40 characters. Default "Choose year". Names the grid of years. - `chooseMonthLabel`: text, up to 40 characters. Default "Choose month". Names the grid of months. - `endPromptText`: text, up to 80 characters. Default "Now choose the end date.". Said after the start of a range is picked. - `todayText`: text, up to 30 characters. Default "Today". The button that jumps to today. - `headingDaysHint`: text, up to 160 characters. Default "change month and year". Read out after the month. - `headingYearsHint`: text, up to 160 characters. Default "back to calendar". Read out after the years. - `headingMonthsHint`: text, up to 160 characters. Default "change year". Read out after the year. ## Modal (modal, 1.4.0) Accessible modal dialog (WAI-ARIA dialog pattern) with title, body and actions. Page: https://build-components.devstash.me/modal · Install: https://build-components.devstash.me/r/modal.json - `triggerText`: text, up to 40 characters. Default "Open dialog". Label of the button that opens the modal. - `title`: text, up to 80 characters. Default "Subscribe to updates". Heading at the top. It's also the modal's accessible name. - `body`: text, up to 300 characters. Default "Get an email when new components are released. Unsubscribe any time.". The main message, read out together with the title. - `primaryText`: text, up to 30 characters. Default "Confirm". The main action. - `initialFocus`: one of title, primary. Default "title". Title suits longer content; primary suits quick confirmations. - `closeOnBackdrop`: true or false. Default true. Clicking outside closes it. Escape always does. - `position`: one of center, bottom. Default "center". A centred dialog, or a sheet attached to the bottom edge. - `animation`: one of none, fade, scale. Default "fade". Switched off automatically for people who prefer reduced motion. - `closeButton`: true or false. Default true. An × in the top corner. - `secondaryButton`: true or false. Default true. A second, quieter button such as Cancel. - `secondaryText`: text, up to 30 characters. Default "Cancel". Its label. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `iosOnPhone`: true or false. Default true. On iPhone and iPad: Apple's system font, iOS blue, bigger buttons, and a sheet that slides up. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Primary buttons and focus rings. Text colour adjusts for contrast. - `radius`: a number from 0 to 24. Default 8. Roundness of the modal and its buttons. - `size`: one of sm, md, lg. Default "md". Maximum width of the modal. - `closeLabel`: text, up to 40 characters. Default "Close". Read out for the × in the corner. ## Searchable select (searchable-select, 1.5.0) Accessible combobox (WAI-ARIA combobox with list autocomplete) that filters as you type. Page: https://build-components.devstash.me/searchable-select · Install: https://build-components.devstash.me/r/searchable-select.json - `label`: text, up to 60 characters. Default "Country". Text shown above the field. It also names the list. - `placeholder`: text, up to 60 characters. Default "Start typing to search". Hint inside the empty field. Keep instructions in the label or helper text. - `options`: a JSON array of objects with label. Default 14 items. The choices people can pick from, in this order. - `noResultsText`: text, up to 80 characters. Default "No matches. Try a different spelling.". Shown and announced when nothing matches what was typed. - `name`: text, up to 40 characters. Default "country". Name of the value sent when the form is submitted. - `filter`: one of contains, startsWith. Default "contains". How typed text is matched against the options. - `maxVisible`: a number from 3 to 10. Default 6. How many options show before the list scrolls. - `clearButton`: true or false. Default false. An × button that empties the field. - `helperText`: true or false. Default false. A short hint under the field. - `helperTextContent`: text, up to 120 characters. Default "Type to filter, then use the arrow keys or click to choose.". The hint itself. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `iosOnPhone`: true or false. Default true. On iPhone and iPad: Apple's system font, iOS blue, and bigger rows to tap. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The highlighted option and focus rings. Text colour adjusts for contrast. - `radius`: a number from 0 to 16. Default 6. Roundness of the field, list and options. - `size`: one of sm, md, lg. Default "md". Height of the field and the options. - `showOptionsLabel`: text, up to 80 characters. Default "Show {name} options". Read out on the button that opens the list. {name} is the label. - `clearLabel`: text, up to 80 characters. Default "Clear {name}". {name} is the label. - `notInListText`: text, up to 80 characters. Default "Choose one from the list.". When what was typed matches no option. - `resultOneText`: text, up to 80 characters. Default "{count} result available.". Announced as the list filters. - `resultsText`: text, up to 80 characters. Default "{count} results available.". Announced as the list filters. ## Form with validation (form, 1.6.0) A form whose fields and rules are yours to set, with messages that say how to fix each problem. Page: https://build-components.devstash.me/form · Install: https://build-components.devstash.me/r/form.json - `title`: text, up to 80 characters. Default "Send us a message". Heading above the fields. - `intro`: text, up to 200 characters. Default "We answer every message within two working days.". One line under the heading. Leave empty to drop it. - `fields`: a JSON array of objects with label, type, required, min, max, pattern, options, help. Default 6 items. One row per field. Type: text, email, tel, url, number, date, textarea, select or checkbox. Required: yes or no. Min and max are lengths for text, values for numbers, dates for dates. - `submitText`: text, up to 40 characters. Default "Send message". Name the action. - `successMessage`: text, up to 160 characters. Default "Thanks. Your message has been sent.". Shown and announced once the form is sent. - `action`: text, up to 300 characters, a link (http, https, a path or #). Default "". A web address that takes the form as a POST (your own endpoint, or a form service such as Formspree). Empty: nothing is sent, which suits a preview. - `validateOn`: one of blur, input, submit. Default "blur". As each field is left, as the visitor types, or only when the form is sent. A field that is already wrong is re-checked as it is corrected, whichever you pick. - `marker`: one of optional, required, none. Default "optional". Say which fields are optional, which are required, or neither. - `errorSummary`: true or false. Default false. Off by default: each message sits under its own field. On, a list of every problem also appears at the top and takes focus on submit, as the GOV.UK Design System does. - `counter`: true or false. Default true. Counts down beside any text field that has a maximum, once there is something to count. - `layout`: one of one, two. Default "two". Two columns side by side on wider screens. Long fields always span both. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The submit button and focus rings. Contrast-corrected before it is used as text. - `radius`: a number from 0 to 24. Default 8. Roundness of the fields and the button. - `checkboxText`: text, up to 120 characters. Default "Select “{label}” to continue.". {label} is the field's label. - `missingText`: text, up to 120 characters. Default "Enter {name}.". {name} is the label, starting lower case. - `selectMissingText`: text, up to 120 characters. Default "Select {name}.". {name} is the label, starting lower case. - `dateMissingText`: text, up to 120 characters. Default "Enter {name}, for example 27 03 2026.". {name} is the label, starting lower case. - `emailText`: text, up to 120 characters. Default "Enter an email address in the correct format, like name@example.com.". - `telText`: text, up to 120 characters. Default "Enter a phone number using only digits, spaces, brackets, + or -, like +44 20 7946 0000.". - `urlText`: text, up to 120 characters. Default "Enter a web address in the correct format, like https://example.com.". - `notInListText`: text, up to 120 characters. Default "Select {name} from the list.". {name} is the label, starting lower case. - `notNumberText`: text, up to 120 characters. Default "{label} must be a number.". {label} is the field's label. - `tooSmallText`: text, up to 120 characters. Default "{label} must be {min} or more.". - `tooBigText`: text, up to 120 characters. Default "{label} must be {max} or less.". - `tooEarlyText`: text, up to 120 characters. Default "{label} must be {min} or later.". - `tooLateText`: text, up to 120 characters. Default "{label} must be {max} or earlier.". - `tooShortText`: text, up to 120 characters. Default "{label} must be at least {min} characters. You have entered {count}.". {count} is how many were typed. - `tooLongText`: text, up to 120 characters. Default "{label} must be {max} characters or fewer. You have entered {count}.". {count} is how many were typed. - `formatHelpText`: text, up to 120 characters. Default "Enter {name} in the format described: {help}". {help} is the field's help text. - `formatText`: text, up to 120 characters. Default "Enter {name} in the requested format.". - `summaryTitle`: text, up to 120 characters. Default "There is a problem". - `errorPrefix`: text, up to 120 characters. Default "Error:". Read out before each error, not shown. - `optionalText`: text, up to 120 characters. Default "(optional)". - `requiredText`: text, up to 120 characters. Default "(required)". - `chooseOneText`: text, up to 120 characters. Default "Choose one". The first entry of a drop-down. - `remainingText`: text, up to 120 characters. Default "{count} characters remaining". - `sendingText`: text, up to 120 characters. Default "Sending…". Shown on the button. - `sendErrorText`: text, up to 120 characters. Default "It did not go through. Check your connection and try again.". ## Site header (header, 1.6.0) A site header with links, a call to action and a small-screen menu (APG disclosure navigation). Page: https://build-components.devstash.me/header · Install: https://build-components.devstash.me/r/header.json - `logoText`: text, up to 40 characters. Default "Northwind". Your name or brand, top left. - `links`: a JSON array of objects with label, href. Default 4 items. The links in the bar, in this order. - `menuLabel`: text, up to 20 characters. Default "Menu". Next to the menu icon on small screens. - `mobileBreakpoint`: one of sm, md, lg. Default "md". Under this width the links move into the menu. - `sticky`: true or false. Default false. The header stays visible while the page scrolls. - `ctaButton`: true or false. Default true. A filled button at the end of the navigation. - `ctaText`: text, up to 40 characters. Default "Start a project". Its label. - `ctaHref`: text, up to 200 characters, a link (http, https, a path or #). Default "/contact". Where it goes. - `schemeSwitch`: true or false. Default false. A button for visitors to choose light or dark. Every part on the page follows it, and it is remembered. - `skipLink`: true or false. Default true. Hidden until focused. Lets keyboard users jump past the navigation. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The call-to-action button. Its text colour adjusts for contrast. - `radius`: a number from 0 to 24. Default 8. Roundness of the button and links. - `height`: one of compact, regular. Default "regular". How tall the header is. - `skipText`: text, up to 40 characters. Default "Skip to content". The first link on the page, to jump past the header. - `navLabel`: text, up to 30 characters. Default "Main". Names the main links, for screen readers. - `schemeLabel`: text, up to 40 characters. Default "Dark theme". Read out for the light and dark switch; pressed means dark. ## Tabs (tabs, 1.3.0) Accessible tabs (WAI-ARIA tabs pattern) with automatic or manual activation. Page: https://build-components.devstash.me/tabs · Install: https://build-components.devstash.me/r/tabs.json - `label`: text, up to 60 characters. Default "Plan details". Announced to screen readers, so they know what this set of tabs is for. - `items`: a JSON array of objects with label, content. Default 3 items. Each tab and what it shows, in this order. - `activation`: one of automatic, manual. Default "automatic". Automatic shows a panel as soon as the arrow keys reach its tab; manual waits for Enter or Space. - `orientation`: one of horizontal, vertical. Default "horizontal". Tabs in a row, or stacked down the side. - `stretch`: true or false. Default false. Tabs share the full width equally instead of hugging their text. - `panelBox`: true or false. Default true. Draws a box around the panel so it reads as one area. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Marks the selected tab. Contrast-corrected before it is used as text. - `look`: one of underline, pill. Default "underline". An underline under the tab, or a filled pill. - `radius`: a number from 0 to 24. Default 8. Roundness of the pills and the panel box. - `size`: one of sm, md. Default "md". Text size and how tall the tabs are. ## Basket (cart, 1.7.0) A shopping basket: lines, quantities, delivery and totals, as a panel or a drawer. Page: https://build-components.devstash.me/cart · Install: https://build-components.devstash.me/r/cart.json - `title`: text, up to 60 characters. Default "Your basket". Heading at the top of the basket. - `lines`: a JSON array of objects with name, variant, price, quantity. Default 3 items. What is in the basket to start with. Prices are plain numbers; the symbol comes from the currency. - `checkoutText`: text, up to 40 characters. Default "Checkout". Name the action. - `shared`: true or false. Default false. Shows what shoppers put in the basket with a product card or a plan, on any page, kept in their browser. Its own lines are then only an example in this editor. - `checkoutHref`: text, up to 200 characters, a link (http, https, a path or #). Default "/checkout". Where the button goes. - `checkoutEndpoint`: text, up to 300 characters, a link (http, https, a path or #). Default "". An address that takes the basket as JSON and answers with a payment page's address (the website download's Stripe route). Empty, or answering 501: Checkout is the link above. - `currencyCode`: text, up to 3 characters. Default "GBP". For the payment page: GBP, USD, EUR, INR… - `continueText`: text, up to 40 characters. Default "Continue shopping". Goes back to shopping, or closes the drawer. - `emptyText`: text, up to 140 characters. Default "Your basket is empty.". Shown once every line has been removed. - `layout`: one of panel, drawer. Default "panel". A panel on the page, or a drawer that slides in over it. - `openText`: text, up to 40 characters. Default "Basket". The button that opens the drawer. The number of items is added after it. - `currency`: one of GBP, USD, EUR. Default "GBP". Prices are written by hand, not by locale, so every visitor sees the same figures. - `quantityStepper`: true or false. Default true. Minus and plus buttons with a box between them. Off shows the quantity as text. - `removeButton`: true or false. Default true. Takes a line out of the basket and says so. - `shipping`: true or false. Default true. Adds delivery to the totals. - `shippingCost`: text, up to 12 characters. Default "4.95". A flat rate, as a plain number. - `freeShippingOver`: a number from 0 to 500. Default 50. Shows how much more is needed, with a progress bar. Zero switches it off. - `taxNote`: text, up to 140 characters. Default "Tax included. Delivery calculated at checkout.". Tax or delivery small print. Leave empty to drop it. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The checkout button and the progress bar. Contrast-corrected before it is used as text. - `radius`: a number from 0 to 24. Default 10. Roundness of the panel, buttons and boxes. - `itemOneText`: text, up to 120 characters. Default "{count} item". - `itemsText`: text, up to 120 characters. Default "{count} items". - `eachText`: text, up to 120 characters. Default "{price} each". {price} is a line's price for one. - `decreaseLabel`: text, up to 120 characters. Default "Decrease quantity of {name}". Read out. {name} is the line's name. - `increaseLabel`: text, up to 120 characters. Default "Increase quantity of {name}". Read out. {name} is the line's name. - `quantityLabel`: text, up to 120 characters. Default "Quantity of {name}". Read out. {name} is the line's name. - `quantityText`: text, up to 120 characters. Default "Quantity {count}". Shown without the stepper. - `removeText`: text, up to 120 characters. Default "Remove". - `removeLabel`: text, up to 120 characters. Default "Remove {name} from the basket". {name} is the line's name. - `freeDeliveryText`: text, up to 120 characters. Default "Delivery is free on this order.". - `spendMoreText`: text, up to 120 characters. Default "Spend {amount} more for free delivery.". {amount} is what is still to spend. - `progressLabel`: text, up to 120 characters. Default "Progress towards free delivery". Read out. - `subtotalText`: text, up to 120 characters. Default "Subtotal". - `deliveryText`: text, up to 120 characters. Default "Delivery". - `freeText`: text, up to 120 characters. Default "Free". The delivery cost when there is none. - `totalText`: text, up to 120 characters. Default "Total". - `changedText`: text, up to 120 characters. Default "{name}, quantity {count}. Subtotal {subtotal}.". Announced. - `removedText`: text, up to 120 characters. Default "{name} removed.". Announced. - `emptiedText`: text, up to 120 characters. Default "Your basket is empty.". Announced after the last line goes. - `lineLeftText`: text, up to 120 characters. Default "{count} line left.". Announced. - `linesLeftText`: text, up to 120 characters. Default "{count} lines left.". Announced. - `payingText`: text, up to 60 characters. Default "Opening the payment page…". Said while the payment page opens. - `payErrorText`: text, up to 80 characters. Default "The payment page did not open. Try again.". - `notSetUpText`: text, up to 100 characters. Default "Payments are not set up on this shop yet.". Said at Checkout when there is no checkout link, or the Pay with address has no payment provider yet. ## Carousel (carousel, 1.4.0) An accessible carousel (WAI-ARIA carousel pattern) that scrolls, swipes and steps. Page: https://build-components.devstash.me/carousel · Install: https://build-components.devstash.me/r/carousel.json - `label`: text, up to 60 characters. Default "Customer stories". Announced to screen readers, so they know what these slides are. - `slides`: a JSON array of objects with title, text, image, alt. Default 4 items. One row per slide. Leave the image empty for a plain panel; fill alt whenever you add one. - `perView`: one of 1, 2, 3. Default "1". How many slides are visible at once on a wide screen. - `loop`: true or false. Default false. Next from the last slide goes back to the first, and previous from the first goes to the last. - `autoRotate`: true or false. Default false. Adds a stop button, pauses while you are inside it, and never runs with reduced motion on. - `interval`: a number from 2 to 20. Default 6. How long each slide stays before the next one. - `arrows`: true or false. Default true. Round buttons under the slides. - `dots`: true or false. Default true. One dot per position, to jump straight there. - `counter`: true or false. Default false. Reads out which slide you are on, e.g. Slide 2 of 4. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The current dot and focus rings. Contrast-corrected before it is used as text. - `aspect`: one of 16/9, 4/3, 1/1. Default "16/9". The shape of the picture area at the top of each slide. - `radius`: a number from 0 to 28. Default 12. Roundness of each slide. - `carouselRole`: text, up to 30 characters. Default "carousel". What a screen reader calls the whole part. - `slideRole`: text, up to 30 characters. Default "slide". What a screen reader calls each slide. - `trackLabel`: text, up to 80 characters. Default "{label} slides". Names the row of slides. {label} is the carousel's name. - `slideLabel`: text, up to 40 characters. Default "{index} of {total}". Read out for each slide. {index} and {total} are numbers. - `stopText`: text, up to 60 characters. Default "Stop automatic slide changes". The button that stops it turning. - `startText`: text, up to 60 characters. Default "Start automatic slide changes". The same button once stopped. - `previousText`: text, up to 40 characters. Default "Previous slide". The left arrow. - `nextText`: text, up to 40 characters. Default "Next slide". The right arrow. - `dotText`: text, up to 80 characters. Default "Slide {index}: {title}". Read out for each dot. {index} and {title} are filled in. - `counterText`: text, up to 60 characters. Default "Slide {index} of {total}". Said under the slides. {index} and {total} are numbers. ## Mega menu (mega-menu, 1.3.0) A mega menu: columns of links under each heading, and one step at a time on a phone. Page: https://build-components.devstash.me/mega-menu · Install: https://build-components.devstash.me/r/mega-menu.json - `logoText`: text, up to 40 characters. Default "Northwind". Your name or brand, at the start of the bar. - `label`: text, up to 40 characters. Default "Main". Names this navigation for screen readers, e.g. Main. - `items`: a JSON array of objects with menu, group, label, href, description. Default 7 items. One row per link. Rows with the same menu open together; rows with the same group share a column. - `links`: a JSON array of objects with label, href. Default 2 items. Links in the bar that open nothing, after the menus. - `menuLabel`: text, up to 20 characters. Default "Menu". Next to the menu icon on narrow screens. - `backLabel`: text, up to 20 characters. Default "Back". Steps back from a menu to the list of menus on narrow screens. - `openOn`: one of click, hover. Default "click". Click is the safer default; hover also opens as the pointer arrives. - `panel`: one of aligned, full. Default "aligned". Aligned under its button, or the full width of the bar. - `mobileBreakpoint`: one of sm, md, lg. Default "md". Under this width the bar becomes a menu button, and each menu opens as its own step. - `descriptions`: true or false. Default true. Shows the description under each link. - `ctaButton`: true or false. Default true. A button at the end of the bar. - `ctaText`: text, up to 40 characters. Default "Start free". Name the action. - `ctaHref`: text, up to 200 characters, a link (http, https, a path or #). Default "/signup". Where it goes. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The call to action and focus rings. Contrast-corrected before it is used as text. - `columns`: one of 2, 3, 4. Default "2". How many columns a panel uses once there is room. - `radius`: a number from 0 to 24. Default 10. Roundness of the panel, buttons and links. ## Site footer (footer, 1.3.0) A site footer with links, social profiles and a legal line. Plain HTML, no JavaScript. Page: https://build-components.devstash.me/footer · Install: https://build-components.devstash.me/r/footer.json - `brandText`: text, up to 40 characters. Default "Northwind". Your name, at the start of the footer. - `tagline`: text, up to 140 characters. Default "Design and build for teams that ship.". One line under the brand. Leave empty to drop it. - `links`: a JSON array of objects with label, href. Default 4 items. The links in the footer, in this order. - `legalText`: text, up to 140 characters. Default "© Northwind Ltd. All rights reserved.". Copyright or company details, on the bottom line. - `navLabel`: text, up to 40 characters. Default "Footer". Names this set of links for screen readers, so it is not confused with the main menu. - `layout`: one of split, stacked. Default "split". Brand and links side by side, or everything stacked and centred. - `social`: true or false. Default false. A second row for your profiles elsewhere. - `socialLinks`: a JSON array of objects with label, href. Default 2 items. Name each service in the link text, so it makes sense read on its own. - `backToTop`: true or false. Default false. Jumps to the top of the page. It is a link, so it needs no JavaScript. - `backToTopText`: text, up to 40 characters. Default "Back to top". Its label. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Link hover and focus. Contrast-corrected before it is used as text. - `spacing`: one of compact, regular, spacious. Default "regular". How much room the footer takes. - `topBorder`: true or false. Default true. A line separating the footer from the page above it. ## CTA section (cta, 1.4.0) A call-to-action section: heading, supporting text and actions. Plain HTML, no JavaScript. Page: https://build-components.devstash.me/cta · Install: https://build-components.devstash.me/r/cta.json - `eyebrow`: text, up to 40 characters. Default "Ready when you are". A short label above the heading. Leave empty to drop it. - `heading`: text, up to 120 characters. Default "Build it once. Take the code with you.". The one line that has to land. - `body`: text, up to 300 characters. Default "Set the options, test the exact files you will export, then drop them into your project. No library, no lock-in.". One or two sentences under the heading. Leave empty to drop it. - `primaryText`: text, up to 40 characters. Default "Get in touch". Name the action, not the click. - `primaryHref`: text, up to 200 characters, a link (http, https, a path or #). Default "/contact". Where the button goes. - `headingLevel`: one of h2, h3. Default "h2". Use H2 inside a page that already has an H1. - `layout`: one of centered, left, split. Default "centered". Centred, aligned to the start of the line, or split with the buttons to one side. - `secondaryButton`: true or false. Default true. A quieter alternative next to the main action. - `secondaryText`: text, up to 40 characters. Default "See our work". Its label. - `secondaryHref`: text, up to 200 characters, a link (http, https, a path or #). Default "/work". Where it goes. - `note`: true or false. Default true. Small print such as response times or terms. - `noteText`: text, up to 120 characters. Default "No commitment. We reply to every message within two working days.". Keep it to one line. - `look`: one of plain, card, bold. Default "bold". Plain on the page, a bordered card, or a bold panel filled with your accent colour. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The bold panel and the main button. Text on it adjusts for contrast. - `radius`: a number from 0 to 24. Default 14. Roundness of the panel and the buttons. - `spacing`: one of compact, regular, spacious. Default "regular". How much room the section takes. ## Accordion (accordion, 1.3.0) An accessible accordion (WAI-ARIA accordion pattern) with headings, one or many open at a time. Page: https://build-components.devstash.me/accordion · Install: https://build-components.devstash.me/r/accordion.json - `items`: a JSON array of objects with title, content. Default 3 items. One row per section: the button text, and what it opens. - `headingLevel`: one of h2, h3, h4. Default "h3". Each button sits inside a heading. Pick the level that fits the page around it. - `allowMultiple`: true or false. Default false. Off means opening one section closes the others. - `openFirst`: true or false. Default true. Shows the first section on load, so the area is never empty. - `icon`: one of chevron, plus. Default "chevron". A chevron that turns, or a plus that becomes a cross. - `look`: one of bordered, separated, plain. Default "bordered". One bordered block, separate cards, or plain rules between sections. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The icon and focus rings. Contrast-corrected before it is used as text. - `radius`: a number from 0 to 24. Default 10. Roundness of the block or the cards. ## Tooltip (tooltip, 1.3.0) An accessible tooltip (WAI-ARIA tooltip pattern) that opens on hover and on focus. Page: https://build-components.devstash.me/tooltip · Install: https://build-components.devstash.me/r/tooltip.json - `triggerText`: text, up to 60 characters. Default "Delivery options". The button's own text. With the icon trigger this becomes its accessible name. - `text`: text, up to 160 characters. Default "Orders placed before 2pm are sent the same working day.". One short line. A tooltip must never hold a link or a button: use a popover for that. - `trigger`: one of button, icon. Default "button". A normal button, or a question-mark icon button. - `placement`: one of top, bottom, left, right. Default "top". Which side of the trigger the tooltip sits on. - `delay`: a number from 0 to 1000. Default 150. How long the pointer must rest before it opens. Keyboard focus always opens it at once. - `arrow`: true or false. Default true. A small pointer towards the trigger. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The focus ring. Contrast-corrected before it is used. - `radius`: a number from 0 to 20. Default 8. Roundness of the trigger and the tooltip. ## Dropdown menu (menu, 1.3.0) An accessible dropdown menu (WAI-ARIA menu button pattern) with arrow keys and type-ahead. Page: https://build-components.devstash.me/menu · Install: https://build-components.devstash.me/r/menu.json - `buttonText`: text, up to 40 characters. Default "Actions". What opens the menu. It also names the menu for screen readers. - `items`: a JSON array of objects with label, href. Default 5 items. One row per item. Leave the link empty for an action your own code handles. - `align`: one of start, end. Default "start". Which edge of the button the menu lines up with. - `typeAhead`: true or false. Default true. Typing letters while the menu is open jumps to the next item that starts with them. - `chevron`: true or false. Default true. A small arrow on the button that turns when the menu opens. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Focus rings. Contrast-corrected before it is used. - `radius`: a number from 0 to 24. Default 10. Roundness of the button and the menu. ## Popover (popover, 1.4.0) An accessible popover: an anchored panel that takes focus, closes on Escape and returns it. Page: https://build-components.devstash.me/popover · Install: https://build-components.devstash.me/r/popover.json - `triggerText`: text, up to 60 characters. Default "Share this page". The button that opens the popover. - `heading`: text, up to 60 characters. Default "Share". The first line inside. It also names the popover for screen readers. - `body`: text, up to 300 characters. Default "Anyone with the link can open this page. The link stops working when you turn sharing off.". What this popover is for. Leave empty to drop it. - `primaryText`: text, up to 40 characters. Default "Copy link". The button inside the popover. - `primaryHref`: text, up to 200 characters, a link (http, https, a path or #). Default "". Leave empty for a button your own code handles; set it to make the action a link. - `placement`: one of bottom, top, right. Default "bottom". Which side of the trigger the popover opens on. - `align`: one of start, end. Default "start". Which edge of the trigger it lines up with. Ignored when it opens to the right. - `closeOnOutside`: true or false. Default true. Off keeps it open until Escape or the close button. - `secondaryButton`: true or false. Default true. A quieter action next to the main one. - `secondaryText`: text, up to 40 characters. Default "Turn off sharing". Its label. - `closeButton`: true or false. Default true. A cross in the corner, as well as Escape. - `arrow`: true or false. Default true. A small pointer towards the trigger. - `width`: a number from 200 to 520. Default 320. It never grows past the screen, whatever you set. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The main action and focus rings. Contrast-corrected before it is used as text. - `radius`: a number from 0 to 24. Default 12. Roundness of the popover and its buttons. - `closeLabel`: text, up to 40 characters. Default "Close". Read out for the × in the corner. ## Notifications (toast, 1.4.0) Accessible notification messages: a live region that is already in the page, with pause and close. Page: https://build-components.devstash.me/toast · Install: https://build-components.devstash.me/r/toast.json - `buttonText`: text, up to 40 characters. Default "Save changes". The button that shows a normal message. In your project this is whatever saves the work. - `message`: text, up to 160 characters. Default "Your changes have been saved.". Say what happened, in the past tense. - `errorButtonText`: text, up to 40 characters. Default "Save without a connection". The button that shows the problem message, so you can test both. - `errorMessage`: text, up to 200 characters. Default "We could not save your changes. Check your connection and try again.". Say what went wrong and what to do next. - `actionText`: text, up to 30 characters. Default "Undo". One action, such as Undo. Leave empty for none. - `position`: one of top-right, top-center, bottom-right, bottom-center. Default "bottom-right". Which corner or edge the messages stack in. - `duration`: a number from 0 to 20. Default 6. 0 keeps each message until it is closed. Any message pauses while you are inside the stack. - `maxVisible`: a number from 1 to 6. Default 3. Older messages drop off the top when more arrive. - `closeButton`: true or false. Default true. A cross on every message. - `icon`: true or false. Default true. A tick or a warning mark. The colour is never the only signal: the words say it too. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The action inside a message and focus rings. Contrast-corrected before use. - `radius`: a number from 0 to 24. Default 12. Roundness of each message. - `regionLabel`: text, up to 60 characters. Default "Notifications". Names the place messages appear, for screen readers. - `closeLabel`: text, up to 60 characters. Default "Close this message". Read out for the × on each message. ## Data table (table, 1.4.0) An accessible data table: sortable columns, row selection and a phone layout that still reads. Page: https://build-components.devstash.me/table · Install: https://build-components.devstash.me/r/table.json - `caption`: text, up to 100 characters. Default "Orders this week". What the table shows. Screen readers read it before the rows, so it is never decoration. - `data`: text, up to 3000 characters. Default "Order,Customer,Placed,Items,Total\nAB-1042,Harbour Studio,12 Mar,3,£186.00\nAB-1043,Northwind,12 Mar,1,£24.50\nAB-1044,Pilot Labs,13 Mar,7,£412.75\nAB-1045,Meridian,14 Mar,2,£68.00". Comma-separated lines: the first line names the columns. Paste from a spreadsheet. A cell cannot contain a comma. - `emptyText`: text, up to 140 characters. Default "No orders yet.". Shown instead of the table when there are no rows. - `sortable`: true or false. Default true. Each column heading becomes a button, and the column says which way it is sorted. - `selectable`: true or false. Default true. A checkbox per row, named by its first cell, with a count that is announced as it changes. - `small`: one of stack, scroll. Default "stack". Stack each row into a card with its column names, or keep the table and scroll it sideways. - `stickyHeader`: true or false. Default false. The heading row stays while the rows scroll under it. - `zebra`: true or false. Default true. Every other row is shaded, which helps the eye track across wide tables. - `density`: one of comfortable, compact. Default "comfortable". How much room each row takes. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Checkboxes and focus rings. Contrast-corrected before it is used as text. - `radius`: a number from 0 to 24. Default 10. Roundness of the frame around the table. - `noneText`: text, up to 80 characters. Default "No rows selected". Said while no row is ticked. - `countText`: text, up to 80 characters. Default "{count} of {total} rows selected". Said as rows are ticked. {count} and {total} are counts. - `selectAllLabel`: text, up to 60 characters. Default "Select all rows". Read out for the box that ticks every row. - `selectRowLabel`: text, up to 60 characters. Default "Select {row}". Read out for each row's box. {row} is the row's first cell. ## Pagination (pagination, 1.4.0) Accessible pagination: named navigation, a current page that says so, and gaps that are never controls. Page: https://build-components.devstash.me/pagination · Install: https://build-components.devstash.me/r/pagination.json - `label`: text, up to 40 characters. Default "Orders". Names this navigation, e.g. Orders. Screen readers read it as “Orders navigation”. - `prevText`: text, up to 20 characters. Default "Previous". The button or link that goes back one page. - `nextText`: text, up to 20 characters. Default "Next". The button or link that goes on one page. - `totalPages`: a number from 1 to 200. Default 12. How many pages there are in total. - `startPage`: a number from 1 to 200. Default 4. Which page is current when it loads, so you can see the middle of a long run. - `siblings`: a number from 0 to 4. Default 1. How many page numbers sit either side of the current one before a gap. - `hrefPattern`: text, up to 200 characters, a link (http, https, a path or #). Default "". Set this to make each page a real link, e.g. /orders?page={page}. Leave it empty for buttons your own code handles. - `look`: one of numbers, compact. Default "numbers". Numbered pages, or just previous and next with a count. - `firstLast`: true or false. Default true. Buttons that jump to either end. - `summary`: true or false. Default true. Reads out “Page 4 of 12”, and says so again when the page changes. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The current page. Its text colour adjusts for contrast. - `radius`: a number from 0 to 24. Default 8. Roundness of each control. - `pageLabel`: text, up to 40 characters. Default "Page {page}". Read out for each page number. {page} is the number. - `summaryText`: text, up to 60 characters. Default "Page {current} of {total}". Said under the pages. {current} and {total} are page numbers. - `firstText`: text, up to 30 characters. Default "First". The button to the first page. - `lastText`: text, up to 30 characters. Default "Last". The button to the last page. ## Breadcrumbs (breadcrumbs, 1.3.0) An accessible breadcrumb trail: named navigation, a current page that is not a link, no script. Page: https://build-components.devstash.me/breadcrumbs · Install: https://build-components.devstash.me/r/breadcrumbs.json - `label`: text, up to 40 characters. Default "Breadcrumb". Names this navigation for screen readers. “Breadcrumb” is what people expect. - `items`: a JSON array of objects with label, href. Default 4 items. From the top of the site to this page. The last one is the page you are on, so it needs no link. - `collapse`: true or false. Default true. Shows the first step and the current page, with a gap for the steps between. - `homeIcon`: true or false. Default true. A small house beside the first step. The text stays, so it is never icon-only. - `separator`: one of chevron, slash, arrow. Default "chevron". The mark between steps. It is decoration, and screen readers skip it. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Link hover and focus. Contrast-corrected before it is used as text. ## Stepper (stepper, 1.4.0) An accessible progress stepper: named flow, states in words, finished steps you can go back to. Page: https://build-components.devstash.me/stepper · Install: https://build-components.devstash.me/r/stepper.json - `label`: text, up to 40 characters. Default "Checkout". What this run of steps is for, e.g. Checkout. Screen readers read it first. - `steps`: a JSON array of objects with label, detail, href. Default 4 items. In order. A link is only used for steps already done, so nobody jumps ahead. - `current`: a number from 1 to 8. Default 3. Which step the visitor is on. Everything before it counts as done. - `linkDone`: true or false. Default true. Lets people go back to a step they have already completed. - `orientation`: one of horizontal, vertical. Default "horizontal". Along the page, or down the side. Either way it stacks on a phone. - `summary`: true or false. Default true. Reads “Step 3 of 4” above the run. - `details`: true or false. Default true. A line under each step name. - `marker`: one of number, dot. Default "number". A number or a dot before each step. Finished steps always show a tick. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The current step. Its text colour adjusts for contrast. - `summaryText`: text, up to 120 characters. Default "Step {current} of {total}: {step}". Said above the steps. {current}, {total} and {step} are filled in. - `doneText`: text, up to 40 characters. Default "(completed)". Read out after a finished step. - `currentText`: text, up to 40 characters. Default "(current step)". Read out after the step you are on. - `todoText`: text, up to 40 characters. Default "(not started)". Read out after a step still to come. ## Sidebar navigation (sidebar, 1.4.0) An accessible sidebar: sections as headings, aria-current on the page you are on, a drawer on a phone. Page: https://build-components.devstash.me/sidebar · Install: https://build-components.devstash.me/r/sidebar.json - `label`: text, up to 40 characters. Default "Workspace". Names this navigation for screen readers, e.g. Workspace. - `items`: a JSON array of objects with section, label, href, badge. Default 7 items. One row per link. Rows with the same section sit under the same heading. - `activeHref`: text, up to 200 characters, a link (http, https, a path or #). Default "/orders". The link matching this address is marked as the page you are on. - `collapsible`: true or false. Default true. Each section heading becomes a button that folds its links away. - `mobileBreakpoint`: one of sm, md, lg. Default "md". Under this width the sidebar becomes a button that opens a drawer. - `toggleText`: text, up to 20 characters. Default "Menu". What opens the drawer on a narrow screen. - `badges`: true or false. Default true. Shows the count beside a link, with a word after it so it is not a bare number. - `width`: a number from 180 to 400. Default 260. How wide the sidebar is once there is room for it. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The current page and focus rings. Contrast-corrected before it is used as text. - `radius`: a number from 0 to 24. Default 10. Roundness of the panel and each link. - `badgeSuffix`: text, up to 40 characters. Default "waiting". Read out after a badge's number. ## File upload (upload, 1.4.0) An accessible file upload: a real file input, a drop shortcut, and checks that say which file and why. Page: https://build-components.devstash.me/upload · Install: https://build-components.devstash.me/r/upload.json - `label`: text, up to 80 characters. Default "Attach your brief". What you are asking for. - `hint`: text, up to 160 characters. Default "PDF, Word or an image, up to 5 MB each.". Which kinds of file, and how big. Say it here as well as enforcing it. - `buttonText`: text, up to 40 characters. Default "Choose files". The button that opens the file picker. - `dropText`: text, up to 60 characters. Default "or drop them here". Beside the button. Dropping is a shortcut, never the only way in. - `accept`: text, up to 200 characters. Default ".pdf,.doc,.docx,.png,.jpg,.jpeg". Comma-separated, e.g. .pdf,.png. Checked again after the picker, because a drop ignores it. - `maxSizeMb`: a number from 0 to 100. Default 5. 0 turns the size check off. - `maxFiles`: a number from 1 to 20. Default 5. How many can be attached at once. - `multiple`: true or false. Default true. Off replaces the file each time instead of adding to the list. - `showSize`: true or false. Default true. Beside each name in the list. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The button and the drop highlight. Its text colour adjusts for contrast. - `radius`: a number from 0 to 24. Default 12. Roundness of the drop area, the button and each file. - `notAcceptedText`: text, up to 160 characters. Default "{name} is not a kind of file we accept. Accepted: {accept}.". {name} is the file, {accept} the kinds allowed. - `tooBigText`: text, up to 160 characters. Default "{name} is {size}. The largest we can take is {max} MB.". {size} is the file's size, {max} the limit in MB. - `tooManyOneText`: text, up to 160 characters. Default "You can attach {count} file at most.". - `tooManyText`: text, up to 160 characters. Default "You can attach {count} files at most.". - `attachedOneText`: text, up to 160 characters. Default "{names} attached. {count} file in all.". Announced. {names} are the files just added. - `attachedText`: text, up to 160 characters. Default "{names} attached. {count} files in all.". Announced. - `removedText`: text, up to 160 characters. Default "{name} removed.". Announced. - `noneLeftText`: text, up to 160 characters. Default "No files attached.". Announced. - `leftText`: text, up to 160 characters. Default "{count} left.". Announced. - `removeLabel`: text, up to 160 characters. Default "Remove {name}". Read out. {name} is the file. ## Multi-select (multi-select, 1.6.0) An accessible multi-select combobox: virtual focus, removable choices, live counts. Page: https://build-components.devstash.me/multi-select · Install: https://build-components.devstash.me/r/multi-select.json - `label`: text, up to 60 characters. Default "Skills". What is being chosen. - `hint`: text, up to 160 characters. Default "Type to narrow the list. Pick as many as apply.". Under the label. Say that several can be picked. - `placeholder`: text, up to 40 characters. Default "Search skills". Inside the box. It is not a label and never replaces one. - `options`: a JSON array of objects with label. Default 8 items. What can be chosen, in this order. - `maxSelected`: a number from 0 to 20. Default 0. 0 means as many as they like. - `filter`: one of contains, startsWith. Default "contains". Anywhere in the option, or only at the start. - `clearAll`: true or false. Default true. A button that takes every choice off at once. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The tick on a chosen option. Its text colour adjusts for contrast. - `radius`: a number from 0 to 24. Default 10. Roundness of the box and the list. - `chosenLabel`: text, up to 80 characters. Default "{label}, selected". Names the list of chosen items. {label} is the label. - `removeLabel`: text, up to 60 characters. Default "Remove {item}". Read out for each item's ×. {item} is the item. - `clearText`: text, up to 40 characters. Default "Clear all". The button that empties the choice. - `addedText`: text, up to 120 characters. Default "{item} selected. {count} selected.". Said when one is picked. {item} and {count} are filled in. - `removedText`: text, up to 120 characters. Default "{item} removed. {count} selected.". Said when one is taken off. {item} and {count} are filled in. - `allRemovedText`: text, up to 120 characters. Default "All removed. {count} selected.". Said after Clear all. {count} is 0. - `limitText`: text, up to 160 characters. Default "You can choose {max} at most. Remove one first.". Said when no more can be picked. {max} is the most. - `noMatchText`: text, up to 120 characters. Default "No matches for “{query}”.". Said when nothing matches the typing. {query} is what was typed. - `name`: text, up to 40 characters. Default "skills". What a form sends each choice as. ## Password field (password, 1.6.0) An accessible password field: rules described with the field, strength in words, caps-lock warning. Page: https://build-components.devstash.me/password · Install: https://build-components.devstash.me/r/password.json - `label`: text, up to 60 characters. Default "New password". What the field is for. - `hint`: text, up to 160 characters. Default "Use something you have not used elsewhere.". Advice under the label. Leave empty to drop it. - `minLength`: a number from 6 to 64. Default 12. Length does more for a password than any other rule. - `requireNumber`: true or false. Default true. Adds it to the rules and to the strength. - `requireUpper`: true or false. Default false. Adds it to the rules and to the strength. - `requireSymbol`: true or false. Default false. Adds it to the rules and to the strength. - `showToggle`: true or false. Default true. Lets people check what they typed instead of guessing. - `showMeter`: true or false. Default true. Four steps, with the word carrying the meaning and the bars only picturing it. - `showRules`: true or false. Default true. Each rule with whether it is met yet. Read out with the field. - `capsWarning`: true or false. Default true. Says so when Caps Lock is on, which is the usual cause of a rejected password. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The strength bars and focus rings. Contrast-corrected before it is used as text. - `radius`: a number from 0 to 24. Default 8. Roundness of the field and the button. - `ruleLength`: text, up to 60 characters. Default "At least {count} characters". {count} is the shortest length. - `ruleNumber`: text, up to 60 characters. Default "A number". Shown when a number is needed. - `ruleUpper`: text, up to 60 characters. Default "A capital letter". Shown when a capital is needed. - `ruleSymbol`: text, up to 60 characters. Default "A symbol, such as ! or ?". Shown when a symbol is needed. - `metText`: text, up to 30 characters. Default "(met)". Read out after a rule that is met. - `notMetText`: text, up to 30 characters. Default "(not met yet)". Read out after a rule still to meet. - `strengthText`: text, up to 60 characters. Default "Password strength: {level}". Said as it is typed. {level} is one of the four below. - `emptyText`: text, up to 40 characters. Default "Enter a password". The level before anything is typed. - `weakText`: text, up to 20 characters. Default "Weak". The lowest level. - `fairText`: text, up to 20 characters. Default "Fair". The second level. - `goodText`: text, up to 20 characters. Default "Good". The third level. - `strongText`: text, up to 20 characters. Default "Strong". The top level. - `showText`: text, up to 20 characters. Default "Show". The button that shows the password. - `hideText`: text, up to 20 characters. Default "Hide". The same button while it is shown. - `toggleSuffix`: text, up to 30 characters. Default "password". Read out after Show or Hide. - `capsText`: text, up to 60 characters. Default "Caps Lock is on.". Said when Caps Lock is on. - `name`: text, up to 40 characters. Default "password". What a form sends it as. ## One-time code (otp, 1.6.0) An accessible one-time code field: a labelled group, boxes that name themselves, paste across boxes. Page: https://build-components.devstash.me/otp · Install: https://build-components.devstash.me/r/otp.json - `label`: text, up to 80 characters. Default "Enter the code we sent you". What the code is for. It names the whole group, not one box. - `hint`: text, up to 160 characters. Default "Six digits, from the text message.". How long the code is and where it came from. - `completeText`: text, up to 80 characters. Default "Code complete.". Announced once every box is filled. - `resendText`: text, up to 40 characters. Default "Send it again". A way out when the code never arrives. Leave empty to drop it. - `length`: a number from 3 to 10. Default 6. Six is the usual length for a code sent by text. - `mode`: one of boxes, single. Default "boxes". Separate boxes, or one field. One field is simpler for screen readers and password managers; boxes are what people expect. - `allowLetters`: true or false. Default false. Off keeps it to digits and brings up the number keypad on a phone. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Focus rings. Contrast-corrected before it is used. - `radius`: a number from 0 to 24. Default 10. Roundness of each box. - `boxLabel`: text, up to 60 characters. Default "Character {index} of {length}". Read out for each box. {index} and {length} are numbers. - `name`: text, up to 40 characters. Default "code". What a form sends the code as. ## Range slider (slider, 1.6.0) An accessible slider: native range inputs, a two-ended range that cannot cross, values read with their unit. Page: https://build-components.devstash.me/slider · Install: https://build-components.devstash.me/r/slider.json - `label`: text, up to 60 characters. Default "Budget". What is being set. - `hint`: text, up to 160 characters. Default "Drag either end, or use the arrow keys.". Under the label. Leave empty to drop it. - `prefix`: text, up to 6 characters. Default "£". A currency symbol, for example. - `suffix`: text, up to 6 characters. Default "". A unit, such as km or %. - `mode`: one of single, range. Default "range". One value, or a range with a lowest and a highest. - `min`: a number from 0 to 1000. Default 0. The bottom of the scale. - `max`: a number from 1 to 10000. Default 200. The top of the scale. - `step`: a number from 1 to 100. Default 10. How far one arrow key press moves it. - `startValue`: a number from 0 to 10000. Default 80. For one value. Ignored for a range. - `startLower`: a number from 0 to 10000. Default 40. For a range. - `startUpper`: a number from 0 to 10000. Default 140. For a range. - `showValue`: true or false. Default true. Beside the label, and announced as it changes. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The filled part of the track and the handles. - `rangeText`: text, up to 60 characters. Default "{low} – {high}". Shown for the two ends. {low} and {high} are the values. - `lowestLabel`: text, up to 80 characters. Default "{label}, lowest". Read out for the lower handle. {label} is the label. - `highestLabel`: text, up to 80 characters. Default "{label}, highest". Read out for the upper handle. {label} is the label. - `name`: text, up to 40 characters. Default "budget". What a form sends it as. With two thumbs, Min and Max go on the end. ## Global search (search, 1.4.0) A global search: give it any JSON, nested as deep as you like, and search it with ⌘K. Page: https://build-components.devstash.me/search · Install: https://build-components.devstash.me/r/search.json - `label`: text, up to 60 characters. Default "Search the site". Names the search. It is on the button, and screen readers read it in the box. - `placeholder`: text, up to 80 characters. Default "Search pages, guides and people". Inside the box. It hints at what can be found; the label still names it. - `data`: text, up to 20000 characters. Default "[{\"title\":\"Guides\",\"children\":[{\"title\":\"Getting started\",\"description\":\"Install, configure and ship your first part\",\"url\":\"/guides/start\",\"tags\":[\"install\",\"setup\"]},{\"title\":\"Theming\",\"description\":\"Colours, dark mode and your own tokens\",\"url\":\"/guides/theming\",\"tags\":[\"dark mode\",\"colour\"]},{\"title\":\"Accessibility\",\"description\":\"How every part is tested\",\"url\":\"/guides/accessibility\",\"children\":[{\"title\":\"Keyboard support\",\"description\":\"Every key each part answers to\",\"url\":\"/guides/accessibility/keyboard\",\"tags\":[\"focus\",\"shortcuts\"]},{\"title\":\"Screen readers\",\"description\":\"What gets announced, and when\",\"url\":\"/guides/accessibility/screen-readers\",\"tags\":[\"aria\",\"voiceover\",\"nvda\"]}]}]},{\"title\":\"Components\",\"children\":[{\"title\":\"Date picker\",\"description\":\"One date or a range\",\"url\":\"/date-picker\",\"tags\":[\"calendar\",\"form\"]},{\"title\":\"Data table\",\"description\":\"Sortable rows that stack on a phone\",\"url\":\"/table\",\"tags\":[\"grid\",\"sort\"]},{\"title\":\"Modal\",\"description\":\"A dialog that keeps focus inside\",\"url\":\"/modal\",\"tags\":[\"dialog\",\"overlay\"]}]},{\"title\":\"People\",\"children\":[{\"title\":\"Alex Fisher\",\"description\":\"Design systems lead\",\"url\":\"/people/alex\",\"tags\":[\"design\"]},{\"title\":\"Sam Okafor\",\"description\":\"Accessibility specialist\",\"url\":\"/people/sam\",\"tags\":[\"accessibility\",\"audit\"]}]}]". Any JSON: an array, an object, nested as deep as you like. Every object with a title becomes a result, and the titles above it become its breadcrumb. A url and a description are used when present. - `emptyText`: text, up to 120 characters. Default "Nothing matches that. Try a shorter word.". Shown and announced when nothing matches. - `titleKey`: text, up to 30 characters. Default "title". Which key holds an item's name. Objects without it are containers, not results. - `fields`: text, up to 200 characters. Default "title,description,tags". Comma-separated keys. Lists of words, such as tags, are searched too. Empty means every field. - `layout`: one of dialog, inline. Default "dialog". A button that opens a search dialog, or the box right there on the page. - `maxResults`: a number from 1 to 50. Default 8. The best matches are kept; the rest are left out. - `shortcut`: true or false. Default true. Opens the dialog from anywhere on the page, and shows the shortcut on the button. - `groups`: true or false. Default true. Under the top of their breadcrumb, e.g. Guides, Components, People. - `highlight`: true or false. Default true. Marks the part of each title that matched what was typed. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The highlighted match and focus rings. Contrast-corrected before it is used as text. - `radius`: a number from 0 to 24. Default 12. Roundness of the box, the dialog and each result. - `resultsLabel`: text, up to 80 characters. Default "{label}, results". Names the list of results. {label} is the label. - `resultOneText`: text, up to 80 characters. Default "{count} result.". Announced as you type. - `resultsText`: text, up to 80 characters. Default "{count} results.". Announced as you type. - `otherGroupText`: text, up to 40 characters. Default "Results". The group for results with nothing above them. - `ctrlKeyName`: text, up to 12 characters. Default "Ctrl". The Control key's name on the shortcut hint (Strg on a German keyboard). ## Time picker (time-picker, 1.6.0) An accessible time picker: type a time or pick one from a list of slots. Page: https://build-components.devstash.me/time-picker · Install: https://build-components.devstash.me/r/time-picker.json - `label`: text, up to 60 characters. Default "Start time". Names the field. Also used to name the list of times. - `hint`: text, up to 160 characters. Default "Type a time, or pick one from the list.". Under the label. Leave empty to drop it. - `format`: one of 24h, 12h. Default "24h". 24-hour (14:30) or 12-hour (2:30 pm). Either way, both can be typed. - `interval`: one of 5, 10, 15, 30, 60. Default "30". Only changes the list. Any time in range can still be typed. - `earliest`: text, up to 5 characters. Default "08:00". 24-hour, like 08:00. Earlier times are refused with a message. - `latest`: text, up to 5 characters. Default "18:00". 24-hour, like 18:00. - `startValue`: text, up to 5 characters. Default "". 24-hour. Leave empty to start blank. - `name`: text, up to 40 characters. Default "start-time". Submits the time as HH:MM (24-hour) under this name. Leave empty to leave it out. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The highlighted time in the list and the focus ring. - `showOptionsLabel`: text, up to 80 characters. Default "Show {name} options". Read out on the button that opens the list. {name} is the label. - `format24Text`: text, up to 80 characters. Default "Format: 24-hour, for example 14:30.". Read out with the field. - `format12Text`: text, up to 80 characters. Default "Format: 12-hour, for example 2:30 pm.". Read out with the field. - `placeholder24`: text, up to 20 characters. Default "hh:mm". - `placeholder12`: text, up to 20 characters. Default "h:mm am". - `badTimeText`: text, up to 80 characters. Default "Enter a time like {example}.". {example} is a time in the chosen format. - `outOfRangeText`: text, up to 80 characters. Default "Choose a time between {earliest} and {latest}.". - `timeOneText`: text, up to 80 characters. Default "{count} time listed.". Announced as the list filters. - `timesText`: text, up to 80 characters. Default "{count} times listed.". Announced as the list filters. - `noneListedText`: text, up to 80 characters. Default "No listed time matches; you can still type one.". Announced when no listed time matches. - `amText`: text, up to 20 characters. Default "am". After or before a 12-hour time in the morning (am). - `pmText`: text, up to 20 characters. Default "pm". After or before a 12-hour time from noon (pm). - `time12Text`: text, up to 20 characters. Default "{time} {half}". {time} is the time, {half} the marker: some languages put the marker first. ## Tree view (tree-view, 1.4.0) An accessible tree view (WAI-ARIA tree pattern) built from simple paths. Page: https://build-components.devstash.me/tree-view · Install: https://build-components.devstash.me/r/tree-view.json - `label`: text, up to 60 characters. Default "Project files". Names the tree for screen readers, and is shown above it. - `items`: a JSON array of objects with path. Default 9 items. One path per item, with / between levels. Folders are made from the paths, as deep as you like. - `startOpen`: one of none, top, all. Default "top". Which folders are open before anyone touches the tree. - `showIcons`: true or false. Default true. - `showSelection`: true or false. Default true. A line under the tree with the selected item's full path, announced as it changes. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The focus ring. - `selectedText`: text, up to 80 characters. Default "Selected: {item}". Said for the picked item. {item} is its path. - `noneText`: text, up to 60 characters. Default "Nothing selected yet.". Said before anything is picked. ## Sortable list (sortable-list, 1.4.0) A list people can reorder by dragging, by keyboard or with buttons. Page: https://build-components.devstash.me/sortable-list · Install: https://build-components.devstash.me/r/sortable-list.json - `label`: text, up to 60 characters. Default "Your priorities". Shown above the list, and names it for screen readers. - `hint`: text, up to 160 characters. Default "Drag a handle, or press Space on it and use the arrow keys.". Under the name. Leave empty to drop it. - `items`: a JSON array of objects with label. Default 5 items. In their starting order. - `moveButtons`: true or false. Default true. A way to reorder without dragging, which WCAG 2.2 asks for. Keep it unless you offer another. - `numbered`: true or false. Default true. Shows each item's position. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The outline of the item being moved, and the focus ring. - `howText`: text, up to 200 characters. Default "Press Space to pick up, the up and down arrows to move, Space again to drop, and Escape to cancel.". Read out for each handle: how to move a row by keyboard. - `positionText`: text, up to 60 characters. Default "position {index} of {total}". Used in the messages below. {index} and {total} are numbers. - `pickedText`: text, up to 200 characters. Default "Picked up {item}, {position}. Use the up and down arrows to move it, Space to drop, Escape to cancel.". Said when a row is picked up. {item} and {position} are filled in. - `movedText`: text, up to 120 characters. Default "{item} moved to {position}.". Said as a row moves. {item} and {position} are filled in. - `droppedText`: text, up to 120 characters. Default "{item} dropped at {position}.". Said when a row is put down. {item} and {position} are filled in. - `cancelledText`: text, up to 120 characters. Default "Cancelled. {item} is back at {position}.". Said when a move is undone. {item} and {position} are filled in. - `reorderLabel`: text, up to 80 characters. Default "Reorder {item}". Read out for each row's handle. {item} is the row. - `upLabel`: text, up to 80 characters. Default "Move {item} up". Read out for each row's ↑. {item} is the row. - `downLabel`: text, up to 80 characters. Default "Move {item} down". Read out for each row's ↓. {item} is the row. - `alreadyFirstText`: text, up to 160 characters. Default "{item} is already first.". Announced. {item} is the item. - `alreadyLastText`: text, up to 160 characters. Default "{item} is already last.". Announced. ## Drawer (drawer, 1.4.0) An accessible drawer (side sheet or bottom sheet) on a native modal dialog. Page: https://build-components.devstash.me/drawer · Install: https://build-components.devstash.me/r/drawer.json - `triggerText`: text, up to 40 characters. Default "Filters". The button that opens the drawer. - `title`: text, up to 60 characters. Default "Filter results". Names the drawer; read out when it opens. - `body`: text, up to 200 characters. Default "Pick what to show. Nothing changes until you press Show results.". Under the title. Leave empty to drop it. - `options`: a JSON array of objects with label. Default 4 items. Example content: one checkbox each. Replace with your own in the code. - `primaryText`: text, up to 30 characters. Default "Show results". - `secondaryButton`: true or false. Default true. Clears the choices without closing. - `secondaryText`: text, up to 30 characters. Default "Clear all". - `side`: one of right, left, bottom. Default "right". Which edge it slides in from. Bottom works well on phones. - `closeOnBackdrop`: true or false. Default true. A click on the dimmed page closes it. Escape always does. - `swipeToClose`: true or false. Default true. On touch screens, swiping toward its edge closes it. - `size`: one of sm, md, lg. Default "md". Width from the side, or height from the bottom. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The main button, checkboxes and the focus ring. - `closeLabel`: text, up to 40 characters. Default "Close". Read out for the × in the corner. - `showingText`: text, up to 160 characters. Default "Showing: {list}.". Announced. {list} is what was picked. - `showingAllText`: text, up to 160 characters. Default "Showing everything.". Announced. ## Cookie consent (cookie-consent, 1.4.0) A cookie consent banner with equal accept and reject, and saved preferences. Page: https://build-components.devstash.me/cookie-consent · Install: https://build-components.devstash.me/r/cookie-consent.json - `title`: text, up to 60 characters. Default "Cookies on this site". - `body`: text, up to 300 characters. Default "We use cookies the site needs to work. With your permission we'd also like to use cookies to see how the site is used and to improve it.". Say plainly what the optional cookies are for. - `policyText`: text, up to 60 characters. Default "Read the cookie policy". Leave empty to drop the link. - `policyUrl`: text, up to 200 characters, a link (http, https, a path or #). Default "/cookies". - `categories`: a JSON array of objects with key, name, description. Default 2 items. Each gets its own switch in the preferences, off until someone turns it on. The key is what your code checks. - `position`: one of bottom, corner. Default "bottom". A full-width bar along the bottom, or a card in the corner. - `storageKey`: text, up to 40 characters. Default "cookie-consent". Where the choice is kept in the browser (localStorage). Change it to ask everyone again. - `showReopen`: true or false. Default true. Lets people change their mind later, which privacy law expects to be as easy as saying yes. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Accept and Reject share it, so neither looks like the one to press. - `acceptText`: text, up to 40 characters. Default "Accept all". The button that allows every cookie. - `rejectText`: text, up to 40 characters. Default "Reject all". The button that allows only the needed ones. - `chooseText`: text, up to 40 characters. Default "Choose cookies". The button that opens the choices. - `reopenText`: text, up to 40 characters. Default "Cookie settings". The button that brings the choices back later. - `dialogTitle`: text, up to 60 characters. Default "Cookie preferences". Heads the choices. - `dialogBody`: text, up to 160 characters. Default "Choose which cookies you allow. You can change this at any time.". Under the heading. - `necessaryName`: text, up to 40 characters. Default "Necessary". The category that is always on. - `necessaryNote`: text, up to 160 characters. Default "Needed for the site to work, such as remembering this choice. Always on.". Says why it is always on. - `cancelText`: text, up to 30 characters. Default "Cancel". Closes the choices without saving. - `saveText`: text, up to 40 characters. Default "Save choices". Saves the choices. ## Card payment fields (card-fields, 1.4.0) Accessible card payment fields with formatting, card type and Luhn checks. Page: https://build-components.devstash.me/card-fields · Install: https://build-components.devstash.me/r/card-fields.json - `title`: text, up to 60 characters. Default "Payment details". - `amount`: text, up to 20 characters. Default "£49.00". Shown on the button, as you write it (e.g. £49.00). Not calculated. - `buttonText`: text, up to 30 characters. Default "Pay". - `showName`: true or false. Default true. - `showPostcode`: true or false. Default true. Some providers use it to check the card. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The pay button and the focus ring. - `nameLabel`: text, up to 40 characters. Default "Name on card". - `numberLabel`: text, up to 40 characters. Default "Card number". - `expiryLabel`: text, up to 40 characters. Default "Expiry date". - `expiryHint`: text, up to 20 characters. Default "MM/YY". - `cvcLabel`: text, up to 40 characters. Default "Security code". - `cvcBackHint`: text, up to 60 characters. Default "3 digits on the back". Most cards. - `cvcFrontHint`: text, up to 60 characters. Default "4 digits on the front". American Express cards. - `postcodeLabel`: text, up to 40 characters. Default "Postcode". - `nameMissingText`: text, up to 100 characters. Default "Enter the name on the card.". - `postcodeMissingText`: text, up to 100 characters. Default "Enter the postcode.". - `numberMissingText`: text, up to 100 characters. Default "Enter the card number.". - `numberBadText`: text, up to 100 characters. Default "Enter a valid card number. Check for a typo.". - `expiryMissingText`: text, up to 100 characters. Default "Enter the expiry date.". - `expiryBadText`: text, up to 100 characters. Default "Enter the expiry date as MM/YY, for example 04/29.". - `expiredText`: text, up to 100 characters. Default "This card has expired.". - `cvcBadText`: text, up to 100 characters. Default "Enter the {count}-digit security code.". {count} is 3, or 4 for American Express. - `errorPrefix`: text, up to 20 characters. Default "Error:". Read out before each error, not shown. - `doneText`: text, up to 120 characters. Default "Card details look right. This demo sends nothing.". Announced when every field checks out. ## Guided tour (tour, 1.4.0) An accessible product tour: step-by-step pointers with focus management. Page: https://build-components.devstash.me/tour · Install: https://build-components.devstash.me/r/tour.json - `startText`: text, up to 40 characters. Default "Take the tour". - `steps`: a JSON array of objects with target, title, body. Default 4 items. Target is a CSS selector for the element the step points at, e.g. #search. Steps whose target isn't on the page are skipped. - `showProgress`: true or false. Default true. “Step 2 of 4” above each step. - `showDemo`: true or false. Default true. Something to point the demo at. Turn it off once the steps point at your own page. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The ring round each target, the Next button and the focus ring. - `skipText`: text, up to 30 characters. Default "Skip tour". Ends the tour. - `backText`: text, up to 30 characters. Default "Back". The previous step. - `nextText`: text, up to 30 characters. Default "Next". The next step. - `finishText`: text, up to 30 characters. Default "Finish". Shown instead of Next on the last step. - `progressText`: text, up to 60 characters. Default "Step {current} of {total}". Shown on each step. {current} and {total} are numbers. ## Load-more feed (feed, 1.4.0) An accessible feed (WAI-ARIA feed pattern) with a load-more button or scroll loading. Page: https://build-components.devstash.me/feed · Install: https://build-components.devstash.me/r/feed.json - `label`: text, up to 60 characters. Default "Latest updates". Shown above the list and names the feed for screen readers. - `items`: a JSON array of objects with title, summary. Default 10 items. Example content. In your code, the next page comes from your server. - `pageSize`: a number from 1 to 20. Default 4. - `mode`: one of button, scroll. Default "button". On a button press, or also as the end scrolls into view. The button stays either way. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The focus ring. - `moreText`: text, up to 30 characters. Default "Load more". The button that brings the next items. - `loadingText`: text, up to 30 characters. Default "Loading…". The same button while it loads. - `loadedText`: text, up to 120 characters. Default "{count} more loaded. Showing {shown} of {total}.". Said after loading. {count}, {shown} and {total} are numbers. - `endText`: text, up to 80 characters. Default "That's everything: {total} of {total}.". Said when everything is shown. {total} is the number. - `countText`: text, up to 60 characters. Default "Showing {shown} of {total}". Shown under the button. {shown} and {total} are numbers. ## Lightbox (lightbox, 1.4.0) An accessible image gallery and full-screen viewer. Page: https://build-components.devstash.me/lightbox · Install: https://build-components.devstash.me/r/lightbox.json - `label`: text, up to 60 characters. Default "Gallery". Shown above the grid and used to name the viewer. - `items`: a JSON array of objects with src, alt, caption. Default 6 items. Image address (a path on your site or https://), the description a screen reader reads, and a caption. With no image, a drawn placeholder is shown. - `columns`: one of 2, 3, 4. Default "3". On wider screens. Phones always show two. - `showCaptions`: true or false. Default true. - `loop`: true or false. Default true. After the last picture, Next goes back to the first. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. The viewer is always dark. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The focus ring on the thumbnails. - `viewerLabel`: text, up to 80 characters. Default "{label}, picture viewer". Names the viewer. {label} is the gallery's name. - `closeLabel`: text, up to 30 characters. Default "Close". Read out for the ×. - `previousLabel`: text, up to 40 characters. Default "Previous picture". Read out for the left arrow. - `nextLabel`: text, up to 40 characters. Default "Next picture". Read out for the right arrow. - `counterText`: text, up to 40 characters. Default "{index} of {total}". Shown under the picture. {index} and {total} are numbers. ## Resizable panels (resizable-panels, 1.3.0) Resizable split panels on the WAI-ARIA window splitter pattern. Page: https://build-components.devstash.me/resizable-panels · Install: https://build-components.devstash.me/r/resizable-panels.json - `label`: text, up to 60 characters. Default "Resize the file list". What a screen reader calls the divider. Say what it resizes. - `firstTitle`: text, up to 40 characters. Default "Files". - `firstBody`: text, up to 200 characters. Default "Drag the divider, or focus it and use the arrow keys. Enter collapses this panel and brings it back.". Example content. Put your own in the code. - `secondTitle`: text, up to 40 characters. Default "Preview". - `secondBody`: text, up to 200 characters. Default "This panel takes whatever room is left. Both panels keep their content readable at every size.". - `orientation`: one of horizontal, vertical. Default "horizontal". Side by side, or one above the other. - `startSize`: a number from 5 to 95. Default 35. Of the first panel. - `minSize`: a number from 5 to 95. Default 20. - `maxSize`: a number from 5 to 95. Default 70. - `step`: a number from 1 to 25. Default 5. - `collapsible`: true or false. Default true. Enter (or a double-click) hides the first panel and brings it back at its last size. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The divider while it is hovered or focused. ## Switch (switch, 1.5.0) An accessible on/off switch built on a native checkbox. Page: https://build-components.devstash.me/switch · Install: https://build-components.devstash.me/r/switch.json - `label`: text, up to 80 characters. Default "Email notifications". - `hint`: text, up to 160 characters. Default "We'll email you when someone replies.". Under the label. Leave empty to drop it. - `startOn`: true or false. Default true. - `labelFirst`: true or false. Default true. Label then switch, or switch then label. - `showState`: true or false. Default true. In words beside the switch, so the state isn't shown by position alone. - `size`: one of sm, md. Default "md". - `name`: text, up to 40 characters. Default "notifications". Submits with the form when on. Leave empty to leave it out. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The track when it is on. - `onText`: text, up to 20 characters. Default "On". The word shown while it is on. - `offText`: text, up to 20 characters. Default "Off". The word shown while it is off. ## Rating (rating, 1.5.0) An accessible star rating for picking or for showing an average. Page: https://build-components.devstash.me/rating · Install: https://build-components.devstash.me/r/rating.json - `label`: text, up to 80 characters. Default "Rate this part". Names the group when someone is picking a rating. - `mode`: one of pick, show. Default "pick". Pick a rating, or show one that has already been given. - `max`: a number from 2 to 10. Default 5. - `halfStars`: true or false. Default false. Lets a rating be picked in halves. Each half has to stay 24px across, so the stars are drawn larger. - `value`: a number from 0 to 10. Default 4. The starting choice, or the average to show. Averages can have a decimal. - `showValue`: true or false. Default true. In words beside the stars, so the rating isn't shown by shape alone. - `countText`: text, up to 60 characters. Default "". Free text beside the stars, e.g. how many ratings. Leave empty to drop it. - `name`: text, up to 40 characters. Default "rating". For picking. Submits the number of stars. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#e6a700". - `scoreText`: text, up to 60 characters. Default "{value} out of {max}". Says a score. {value} and {max} are numbers. - `outOfText`: text, up to 40 characters. Default "out of {max}". Shown after the score's number. {max} is the most. - `starOne`: text, up to 40 characters. Default "{count} star". Read out for a one-star choice. {count} is 1. - `starMany`: text, up to 40 characters. Default "{count} stars". Read out for every other choice. {count} is the number. - `noneText`: text, up to 60 characters. Default "Not rated yet". Said before a star is picked. ## Segmented control (segmented, 1.4.0) An accessible segmented control on native radio buttons. Page: https://build-components.devstash.me/segmented · Install: https://build-components.devstash.me/r/segmented.json - `legend`: text, up to 60 characters. Default "View". What is being chosen, e.g. “View”. - `hideLegend`: true or false. Default false. Still read out; only hidden on screen. Use when the surrounding text already says it. - `options`: a JSON array of objects with label. Default 3 items. - `startIndex`: a number from 0 to 5. Default 0. 0 is the first choice. - `size`: one of sm, md. Default "md". - `fullWidth`: true or false. Default false. - `name`: text, up to 40 characters. Default "view". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#25154d". The picked segment. ## Alert banner (alert-banner, 1.4.0) An accessible inline alert with tones, an action and a safe dismiss. Page: https://build-components.devstash.me/alert-banner · Install: https://build-components.devstash.me/r/alert-banner.json - `tone`: one of info, success, warning, error. Default "warning". Sets the word a screen reader hears first, the icon, the colour, and whether it interrupts. - `title`: text, up to 120 characters. Default "Your card expires next month". - `body`: text, up to 240 characters. Default "Update it before 30 June so your subscription doesn't stop.". Say what to do about it. Leave empty for a one-line banner. - `actionText`: text, up to 40 characters. Default "Update card". Leave empty to drop the link. - `actionUrl`: text, up to 200 characters, a link (http, https, a path or #). Default "/billing". - `dismissible`: true or false. Default true. Only for messages that are safe to miss. Errors people must act on should stay. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `infoWord`: text, up to 40 characters. Default "Information". Read out before an information message. - `successWord`: text, up to 40 characters. Default "Success". Read out before a success message. - `warningWord`: text, up to 40 characters. Default "Warning". Read out before a warning. - `errorWord`: text, up to 40 characters. Default "Error". Read out before an error. - `dismissLabel`: text, up to 80 characters. Default "Dismiss: {title}". Read out for the ×. {title} is the message's title. ## Skeleton (skeleton, 1.3.0) Loading placeholders that say what is loading, once. Page: https://build-components.devstash.me/skeleton · Install: https://build-components.devstash.me/r/skeleton.json - `variant`: one of lines, card, list. Default "list". A block of lines, a list of rows, or cards with a picture area. - `rows`: a number from 1 to 8. Default 3. For a list or cards. - `lines`: a number from 1 to 8. Default 2. - `showAvatar`: true or false. Default true. - `animate`: true or false. Default true. A slow shimmer. It stops by itself when the visitor asks for less motion. - `loadingText`: text, up to 60 characters. Default "Loading comments". Said once by a screen reader, e.g. “Loading comments”. Say what, not just “Loading”. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. ## Empty state (empty-state, 1.3.0) An empty state that explains what is missing and what to do next. Page: https://build-components.devstash.me/empty-state · Install: https://build-components.devstash.me/r/empty-state.json - `icon`: one of box, search, inbox, warning. Default "search". - `title`: text, up to 80 characters. Default "No results for that search". Say what is missing, in words the visitor would use. - `body`: text, up to 240 characters. Default "Check the spelling, or try a shorter word. You can also clear the filters and start again.". Say what to do next. An empty screen with no way forward is a dead end. - `actionText`: text, up to 40 characters. Default "Clear filters". Leave empty to drop it. - `actionUrl`: text, up to 200 characters, a link (http, https, a path or #). Default "/search". - `secondaryText`: text, up to 40 characters. Default "Browse everything". - `secondaryUrl`: text, up to 200 characters, a link (http, https, a path or #). Default "/all". - `headingLevel`: one of h2, h3. Default "h2". Pick the level that follows the heading above it on your page. - `align`: one of center, left. Default "center". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The main action. ## Avatar group (avatar-group, 1.4.0) Stacked avatars that read out as names, including the hidden ones. Page: https://build-components.devstash.me/avatar-group · Install: https://build-components.devstash.me/r/avatar-group.json - `label`: text, up to 60 characters. Default "On this project". What this set of people is, e.g. “On this project”. Read before the names. - `people`: a JSON array of objects with name, src. Default 5 items. A picture address is optional; without one, the initials are drawn instead. - `max`: a number from 1 to 8. Default 4. The rest are counted in a “+3” circle that names them. - `size`: one of sm, md, lg. Default "md". - `overlap`: true or false. Default true. Circles tucked under each other, or spaced apart. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `moreLabel`: text, up to 80 characters. Default "{count} more: {names}". Read out for the +N circle. {count} and {names} are filled in. ## Badges (badge, 1.3.0) Status badges in tones that never rely on colour alone. Page: https://build-components.devstash.me/badge · Install: https://build-components.devstash.me/r/badge.json - `items`: a JSON array of objects with text, tone. Default 5 items. Tone is one of neutral, info, success, warning or error. The text always says the state too. - `variant`: one of soft, solid, outline. Default "soft". - `showDot`: true or false. Default true. A small dot before the text, useful when badges sit in a dense table. - `size`: one of sm, md. Default "md". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. ## Tag input (tag-input, 1.5.0) An accessible tag field with removable chips and announced changes. Page: https://build-components.devstash.me/tag-input · Install: https://build-components.devstash.me/r/tag-input.json - `label`: text, up to 60 characters. Default "Skills". - `hint`: text, up to 160 characters. Default "Type a skill and press Enter or comma. Backspace removes the last one.". Say how to add one. People can't guess that Enter adds a tag. - `placeholder`: text, up to 40 characters. Default "Add a skill". - `startTags`: a JSON array of objects with text. Default 2 items. - `maxTags`: a number from 1 to 30. Default 8. - `allowDuplicates`: true or false. Default false. - `name`: text, up to 40 characters. Default "skills". Each tag submits as name[]. Leave empty to leave them out. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The focus ring. - `chipsLabel`: text, up to 80 characters. Default "{label} added". Names the list of tags. {label} is the label. - `removeLabel`: text, up to 60 characters. Default "Remove {tag}". Read out for each tag's ×. {tag} is the tag. - `countText`: text, up to 60 characters. Default "{count} of {max} added". Shown under the field. {count} and {max} are numbers. - `addedText`: text, up to 120 characters. Default "{tag} added. {count} of {max}.". Said when a tag goes in. {tag}, {count} and {max} are filled in. - `removedText`: text, up to 120 characters. Default "{tag} removed. {count} of {max}.". Said when a tag comes out. {tag}, {count} and {max} are filled in. - `duplicateText`: text, up to 120 characters. Default "{tag} is already in the list.". Said for a tag already in the list. {tag} is the tag. - `limitText`: text, up to 160 characters. Default "You can add {max} at most. Remove one first.". Said when no more fit. {max} is the most. ## Quantity stepper (quantity, 1.5.0) A quantity stepper with a typeable field and announced limits. Page: https://build-components.devstash.me/quantity · Install: https://build-components.devstash.me/r/quantity.json - `label`: text, up to 60 characters. Default "Quantity". - `hint`: text, up to 160 characters. Default "". Under the label. Leave empty to drop it. - `start`: a number from 0 to 999. Default 1. - `min`: a number from 0 to 999. Default 1. - `max`: a number from 1 to 999. Default 10. - `step`: a number from 1 to 100. Default 1. - `unit`: text, up to 20 characters. Default "". Said after the number, e.g. “kg”. Leave empty for a plain count. - `name`: text, up to 40 characters. Default "quantity". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The focus ring. - `fewerLabel`: text, up to 60 characters. Default "Fewer {label}". Read out for −. {label} is the label, in lower case. - `moreLabel`: text, up to 60 characters. Default "More {label}". Read out for +. {label} is the label, in lower case. - `mostText`: text, up to 160 characters. Default "{amount}. That is the most you can have.". Announced. {amount} is the quantity. - `fewestText`: text, up to 160 characters. Default "{amount}. That is the fewest you can have.". Announced. - `allowedText`: text, up to 160 characters. Default "{amount}. Between {min} and {max} is allowed.". Announced when a typed number is pulled back. ## Currency input (currency-input, 1.5.0) A money field that tidies on blur and submits a plain number. Page: https://build-components.devstash.me/currency-input · Install: https://build-components.devstash.me/r/currency-input.json - `label`: text, up to 60 characters. Default "Amount". - `hint`: text, up to 160 characters. Default "Rounded to the nearest penny when you leave the field.". - `symbol`: text, up to 6 characters. Default "£". Shown beside the field, e.g. £ or $. - `symbolAfter`: true or false. Default false. - `decimals`: a number from 0 to 4. Default 2. - `allowNegative`: true or false. Default false. For refunds and credits. - `start`: text, up to 20 characters. Default "1250". - `name`: text, up to 40 characters. Default "amount". Submits a plain number (no symbol, no commas) for your server. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The focus ring. - `currencyText`: text, up to 40 characters. Default "in {symbol}". Read out after the label. {symbol} is the currency's symbol. - `badAmountText`: text, up to 160 characters. Default "Enter an amount, for example 12.50.". ## Phone input (phone-input, 1.5.0) A phone field with country codes and local grouping. Page: https://build-components.devstash.me/phone-input · Install: https://build-components.devstash.me/r/phone-input.json - `label`: text, up to 60 characters. Default "Phone number". - `hint`: text, up to 160 characters. Default "We only use this to talk about your order.". Say what the number is for. People are wary of giving one. - `countries`: a JSON array of objects with name, dial, groups. Default 5 items. Groups is how that country writes its numbers, e.g. “4 6” for 4 digits, a space, then 6. - `startCountry`: text, up to 60 characters. Default "United Kingdom". - `name`: text, up to 40 characters. Default "phone". Submits the dial code and digits together, e.g. +447700900123. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The focus ring. - `countryLabel`: text, up to 60 characters. Default "Country code". Names the country code list, for screen readers. - `tooShortText`: text, up to 160 characters. Default "That number looks too short. Check it and try again.". ## Inline edit (inline-edit, 1.4.0) Edit a value in place without losing focus or context. Page: https://build-components.devstash.me/inline-edit · Install: https://build-components.devstash.me/r/inline-edit.json - `label`: text, up to 60 characters. Default "Project name". Named on the button as well, so it is never just “Edit”. - `value`: text, up to 200 characters. Default "Harbour redesign". - `hint`: text, up to 120 characters. Default "Enter saves, Escape cancels.". Shown while editing. Leave empty to drop it. - `multiline`: true or false. Default false. Enter then makes a new line, and only Save saves. - `required`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Save and the focus ring. - `editText`: text, up to 30 characters. Default "Edit". The button that opens the field. - `saveText`: text, up to 30 characters. Default "Save". The button that keeps the change. - `cancelText`: text, up to 30 characters. Default "Cancel". The button that drops the change. - `notSetText`: text, up to 40 characters. Default "Not set". Shown while there is no value. - `currentlyText`: text, up to 80 characters. Default "{label}, currently {value}". Read out after Edit. {label} and {value} are filled in. - `savedText`: text, up to 120 characters. Default "Saved. {label} is now {value}.". Said after saving. {label} and {value} are filled in. - `cancelledText`: text, up to 120 characters. Default "Edit cancelled. Nothing changed.". Said after cancelling. ## Colour picker (color-picker, 1.5.0) Named colour swatches with an optional custom colour. Page: https://build-components.devstash.me/color-picker · Install: https://build-components.devstash.me/r/color-picker.json - `label`: text, up to 60 characters. Default "Label colour". - `swatches`: a JSON array of objects with name, hex. Default 6 items. Name each colour: “Ocean” is something a screen reader can say, #2563eb is not. - `startHex`: text, up to 7 characters. Default "#2563eb". - `allowCustom`: true or false. Default true. Adds the browser's own colour picker, which brings its own keyboard support. - `showHex`: true or false. Default true. - `name`: text, up to 40 characters. Default "colour". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `otherText`: text, up to 60 characters. Default "Any other colour". Labels the custom colour well. - `chosenText`: text, up to 30 characters. Default "Chosen:". Shown before the chosen colour. - `namedText`: text, up to 80 characters. Default "{name} chosen, {colour}.". Said for a named colour. {name} and {colour} are filled in. - `customText`: text, up to 80 characters. Default "Colour {colour} chosen.". Said for a custom colour. {colour} is its code. ## Back to top (back-to-top, 1.3.0) A back-to-top button that moves focus, not just the scroll position. Page: https://build-components.devstash.me/back-to-top · Install: https://build-components.devstash.me/r/back-to-top.json - `text`: text, up to 40 characters. Default "Back to top". - `showAfter`: a number from 0 to 4000. Default 400. How far down the page before it is worth showing. - `position`: one of right, left. Default "right". - `showLabel`: true or false. Default true. With this off it is an arrow only, but the words are still read out. - `targetId`: text, up to 60 characters. Default "". The id to focus after scrolling, e.g. a skip-link target. Empty means the page's first heading. - `showDemo`: true or false. Default true. Something to scroll past, so the button has a reason to appear. Turn it off in your own page. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#25154d". ## Reading progress (reading-progress, 1.4.0) Reading progress with a contents list that follows the page. Page: https://build-components.devstash.me/reading-progress · Install: https://build-components.devstash.me/r/reading-progress.json - `label`: text, up to 60 characters. Default "Reading progress". What the bar is measuring, for screen readers. - `showBar`: true or false. Default true. - `showContents`: true or false. Default true. Marks the heading you are currently in. - `contentsTitle`: text, up to 40 characters. Default "On this page". - `sections`: a JSON array of objects with title. Default 4 items. Each one needs a heading on the page with a matching id (lower case, dashes for spaces). - `showDemo`: true or false. Default true. Headings and text to scroll through. Turn it off once it sits with your own content. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The bar and the current section. - `currentLabel`: text, up to 40 characters. Default "Current section:". Read out before the section you are in. - `readText`: text, up to 40 characters. Default "{percent}% read". Read out for the bar. {percent} is how far. ## Language switcher (language-switcher, 1.3.0) A language menu of real links, each named in its own language. Page: https://build-components.devstash.me/language-switcher · Install: https://build-components.devstash.me/r/language-switcher.json - `label`: text, up to 40 characters. Default "Language". Read before the current language. - `languages`: a JSON array of objects with name, code, url. Default 5 items. Write each name in its own language (Français, not French). The code becomes lang and hreflang. - `currentCode`: text, up to 8 characters. Default "en". - `showCode`: true or false. Default true. EN, FR, and so on beside each name. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". The focus ring. ## Filter bar (filter-bar, 1.5.0) Filter chips with removable pills and a spoken summary. Page: https://build-components.devstash.me/filter-bar · Install: https://build-components.devstash.me/r/filter-bar.json - `label`: text, up to 40 characters. Default "Filters". - `filters`: a JSON array of objects with group, label. Default 7 items. Chips sharing a group name are shown together under it. - `showPills`: true or false. Default true. A list of what is on, each with its own remove button. - `clearAll`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#0f766e". Chips that are on. - `noneText`: text, up to 80 characters. Default "No filters applied". Said while nothing is picked. - `oneText`: text, up to 120 characters. Default "{count} filter applied: {filters}". Said with one filter on. {count} is the number, {filters} the filter. - `manyText`: text, up to 120 characters. Default "{count} filters applied: {filters}". Said with more than one on. {count} is the number, {filters} the filters. - `clearText`: text, up to 40 characters. Default "Clear all". The button that turns every filter off. - `pillsLabel`: text, up to 60 characters. Default "Applied filters". Names the list of filters that are on, for screen readers. - `removeLabel`: text, up to 160 characters. Default "Remove filter {name}". Read out on each pill's button. {name} is the filter. ## Data grid (data-grid, 1.4.0) Sortable table with a frozen header and keyboard-resizable columns. Page: https://build-components.devstash.me/data-grid · Install: https://build-components.devstash.me/r/data-grid.json - `caption`: text, up to 60 characters. Default "Documents". What the table is of. Screen readers read it first. - `rows`: a JSON array of objects with name, owner, status, updated. Default 8 items. - `stickyHeader`: true or false. Default true. The header row stays visible while the rows scroll under it. - `sortable`: true or false. Default true. Each header becomes a button and reports aria-sort. - `resizable`: true or false. Default true. Drag the edge, or focus it and use the arrow keys. - `maxHeight`: a number from 0 to 800. Default 320. 0 means no limit. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". Focus rings. - `sortedText`: text, up to 80 characters. Default "Sorted by {column}, {direction}". Said after sorting. {column} and {direction} are filled in. - `ascendingText`: text, up to 30 characters. Default "ascending". The direction, A to Z. - `descendingText`: text, up to 30 characters. Default "descending". The direction, Z to A. - `notSortedText`: text, up to 40 characters. Default "Not sorted". Said before any sorting. - `widthLabel`: text, up to 60 characters. Default "{column} column width". Read out for a column's resize handle. {column} is the column. - `pixelsText`: text, up to 30 characters. Default "{width} pixels". Read out as it resizes. {width} is the number. - `nameHeader`: text, up to 30 characters. Default "Name". Heads the first column. - `ownerHeader`: text, up to 30 characters. Default "Owner". Heads the second column. - `statusHeader`: text, up to 30 characters. Default "Status". Heads the third column. - `updatedHeader`: text, up to 30 characters. Default "Updated". Heads the last column. ## Kanban board (kanban, 1.4.0) A board whose cards move by keyboard, not only by dragging. Page: https://build-components.devstash.me/kanban · Install: https://build-components.devstash.me/r/kanban.json - `label`: text, up to 60 characters. Default "Refit board". Read out when a screen reader reaches the board. - `columns`: a JSON array of objects with name. Default 3 items. - `cards`: a JSON array of objects with title, column. Default 5 items. The column has to match one of the column names; anything else starts in the first column. - `showCounts`: true or false. Default true. - `allowDrag`: true or false. Default true. The buttons on each card work either way — dragging is the extra, never the only way. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". Focus rings. - `moveLabel`: text, up to 80 characters. Default "Move {card} to {column}". Read out for the arrows. {card} and {column} are filled in. - `movedText`: text, up to 120 characters. Default "{card} moved to {column}, {index} of {total}". Said after a move. {card}, {column}, {index} and {total} are filled in. ## Typed confirmation (confirm-dialog, 1.4.0) A destructive confirm dialog that asks you to type the phrase. Page: https://build-components.devstash.me/confirm-dialog · Install: https://build-components.devstash.me/r/confirm-dialog.json - `triggerText`: text, up to 40 characters. Default "Delete workspace". - `title`: text, up to 80 characters. Default "Delete this workspace?". - `message`: text, up to 200 characters. Default "Everything in it goes with it: boards, files and invites. This cannot be undone.". Say what is lost and whether it can be undone. - `requirePhrase`: true or false. Default true. Off makes it an ordinary confirm dialog. - `phrase`: text, up to 30 characters. Default "DELETE". Compared as typed, so DELETE and delete are different. - `confirmText`: text, up to 40 characters. Default "Delete workspace". - `cancelText`: text, up to 40 characters. Default "Keep it". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#b42318". The destructive button. - `typeText`: text, up to 120 characters. Default "Type {phrase} to confirm". Labels the field. {phrase} is what must be typed. - `matchedText`: text, up to 120 characters. Default "That matches. The button below is now live.". Said once the typing matches. - `waitingText`: text, up to 160 characters. Default "{button} stays off until the words match exactly.". Said until it matches. {button} is the button's text. ## Session timeout (session-timeout, 1.4.0) An idle warning with a countdown and a way to stay signed in. Page: https://build-components.devstash.me/session-timeout · Install: https://build-components.devstash.me/r/session-timeout.json - `idleSeconds`: a number from 5 to 3600. Default 60. How long with nothing happening before the warning shows. - `countdownSeconds`: a number from 5 to 300. Default 30. How long the warning gives them. - `title`: text, up to 60 characters. Default "Still there?". - `message`: text, up to 200 characters. Default "You have been quiet for a while. We will sign you out to keep the account safe.". - `stayText`: text, up to 40 characters. Default "Stay signed in". - `signOutText`: text, up to 40 characters. Default "Sign out now". - `watchActivity`: true or false. Default true. A click, a key or a scroll puts the clock back to the beginning. - `showTrigger`: true or false. Default true. For trying it out. Turn it off in your own app. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". The stay signed in button. - `leftText`: text, up to 60 characters. Default "{seconds} seconds left". Said at a few marks as time runs out. {seconds} is the number. - `signedOutText`: text, up to 60 characters. Default "Signed out". Said when the time runs out or they sign out. - `stillInText`: text, up to 60 characters. Default "Still signed in". Said when they choose to stay. ## Unsaved changes guard (unsaved-changes, 1.4.0) A guard that asks before leaving a form with unsaved text. Page: https://build-components.devstash.me/unsaved-changes · Install: https://build-components.devstash.me/r/unsaved-changes.json - `label`: text, up to 40 characters. Default "Draft note". - `placeholder`: text, up to 80 characters. Default "Type something, then try to leave.". - `leaveText`: text, up to 40 characters. Default "Back to all notes". Stands in for whatever navigates away in your app. - `saveText`: text, up to 40 characters. Default "Save". - `title`: text, up to 60 characters. Default "Leave without saving?". - `message`: text, up to 200 characters. Default "You have typed something that has not been saved. Leaving now loses it.". - `stayText`: text, up to 40 characters. Default "Keep editing". - `discardText`: text, up to 40 characters. Default "Discard and leave". - `warnOnReload`: true or false. Default true. Adds the browser's own beforeunload warning while there is something unsaved. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `dirtyText`: text, up to 60 characters. Default "Unsaved changes". Said while there are changes. - `cleanText`: text, up to 60 characters. Default "Nothing to save". Said while there are none. - `savedText`: text, up to 40 characters. Default "Saved". Said after saving. - `leftText`: text, up to 80 characters. Default "Left with nothing unsaved". Said after leaving with nothing unsaved. - `discardedText`: text, up to 160 characters. Default "Left, changes discarded". Announced. ## Offline banner (offline-banner, 1.4.0) A polite offline notice with a retry and a back-online line. Page: https://build-components.devstash.me/offline-banner · Install: https://build-components.devstash.me/r/offline-banner.json - `offlineText`: text, up to 160 characters. Default "You are offline. Anything you change is kept on this device until the connection is back.". Say what still works and what is being kept, not just that something is wrong. - `onlineText`: text, up to 80 characters. Default "Back online.". - `retryText`: text, up to 30 characters. Default "Try again". - `showRetry`: true or false. Default true. navigator.onLine only knows about the network, so a manual check is worth having. - `position`: one of top, bottom, inline. Default "top". - `demoToggle`: true or false. Default true. For trying it out without pulling the plug. Turn it off in your own app. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#b45309". - `stillOfflineText`: text, up to 120 characters. Default "Still nothing. The connection is not back yet.". Said when Try again finds no connection. ## Shortcut help (shortcut-help, 1.4.0) A keyboard shortcut sheet that opens on ? and stays out of fields. Page: https://build-components.devstash.me/shortcut-help · Install: https://build-components.devstash.me/r/shortcut-help.json - `openKey`: one of ?, /, F1. Default "?". The key that brings the list up from anywhere — never while someone is typing. - `title`: text, up to 60 characters. Default "Keyboard shortcuts". - `hint`: text, up to 120 characters. Default "Press ? at any time to bring this back.". - `triggerText`: text, up to 40 characters. Default "Keyboard shortcuts". - `showTrigger`: true or false. Default true. A shortcut nobody can find is no help: keep a button as well. - `shortcuts`: a JSON array of objects with keys, action. Default 7 items. Write a two-step shortcut as “g then h” and it is shown as two keys. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `closeLabel`: text, up to 60 characters. Default "Close the shortcut list". Read out for the ×. - `thenWord`: text, up to 20 characters. Default "then". Shown between keys pressed one after the other. Write sequences in the list as g then h. ## Pricing table (pricing-table, 1.7.0) Plans with a billing cycle switch and no invented discounts. Page: https://build-components.devstash.me/pricing-table · Install: https://build-components.devstash.me/r/pricing-table.json - `heading`: text, up to 60 characters. Default "Plans". - `plans`: a JSON array of objects with name, monthly, yearly, blurb, features. Default 3 items. Prices are shown exactly as you write them — nothing is worked out for you. Separate features with semicolons. - `featured`: text, up to 30 characters. Default "Crew". Matched by name. It gets a badge as well as the colour. - `currency`: text, up to 3 characters. Default "£". - `basketItem`: text, up to 80 characters. Default "". What the plans are for (a course, a membership). Set, choosing a plan puts it in the shared basket; empty, the buttons do nothing yet. - `showCycle`: true or false. Default true. - `monthlyLabel`: text, up to 20 characters. Default "Monthly". - `yearlyLabel`: text, up to 20 characters. Default "Yearly". - `yearlyNote`: text, up to 120 characters. Default "Two months off when you pay for a year.". Shown only while yearly is picked. Say the real saving, not a made-up percentage. - `chooseText`: text, up to 20 characters. Default "Choose". The plan name is added after it. - `smallScreens`: one of auto, slider, grid. Default "auto". Auto: a slider once there are more than 4, a grid with fewer. A slider swipes, and has buttons and dots if you want them. - `sliderUpTo`: one of phone, tablet. Default "phone". Phones only, or tablets too. - `sliderCards`: one of peek, one, two. Default "peek". One with the next peeking in, exactly one, or two side by side. - `sliderButtons`: true or false. Default true. - `sliderDots`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `billingLabel`: text, up to 30 characters. Default "Billing". Names the monthly or yearly choice. - `perMonthText`: text, up to 30 characters. Default "a month". Shown after a monthly price. - `perYearText`: text, up to 30 characters. Default "a year". Shown after a yearly price. - `featuredText`: text, up to 40 characters. Default "Most picked". The badge on the featured plan. - `showingText`: text, up to 80 characters. Default "Showing {period} prices". Said when the choice changes. {period} is the choice, in lower case. - `previousLabel`: text, up to 40 characters. Default "Previous slide". Read out; the button shows an arrow. - `nextLabel`: text, up to 40 characters. Default "Next slide". Read out; the button shows an arrow. - `slideText`: text, up to 60 characters. Default "Slide {index} of {total}". Under the slider. {index} is the card at the start, {total} how many there are. - `addedText`: text, up to 80 characters. Default "{item} is in your basket.". Said when a plan goes in the basket. {item} is what went in. ## Stats tiles (stats-tiles, 1.4.0) Dashboard tiles with changes written in words. Page: https://build-components.devstash.me/stats-tiles · Install: https://build-components.devstash.me/r/stats-tiles.json - `heading`: text, up to 60 characters. Default "This week". - `tiles`: a JSON array of objects with label, value, change, direction. Default 4 items. Write the change as you would say it. Direction is up, down or flat — anything else is drawn flat. - `showChange`: true or false. Default true. - `columns`: one of two, three, four. Default "four". - `smallScreens`: one of auto, slider, grid. Default "auto". Auto: a slider once there are more than 4, a grid with fewer. A slider swipes, and has buttons and dots if you want them. - `sliderUpTo`: one of phone, tablet. Default "phone". Phones only, or tablets too. - `sliderCards`: one of peek, one, two. Default "peek". One with the next peeking in, exactly one, or two side by side. - `sliderButtons`: true or false. Default true. - `sliderDots`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#0f766e". The change arrow. - `previousLabel`: text, up to 40 characters. Default "Previous slide". Read out; the button shows an arrow. - `nextLabel`: text, up to 40 characters. Default "Next slide". Read out; the button shows an arrow. - `slideText`: text, up to 60 characters. Default "Slide {index} of {total}". Under the slider. {index} is the card at the start, {total} how many there are. ## Activity timeline (timeline, 1.4.0) An activity log with real time elements and a reveal button. Page: https://build-components.devstash.me/timeline · Install: https://build-components.devstash.me/r/timeline.json - `heading`: text, up to 60 characters. Default "Activity". - `entries`: a JSON array of objects with datetime, when, who, what. Default 6 items. Write the time as you want it read. The stamp is the machine-readable one (2026-03-04T09:12). - `newestFirst`: true or false. Default true. - `initialCount`: a number from 1 to 40. Default 3. The rest arrive behind a button, so a long history does not bury the page. - `moreText`: text, up to 40 characters. Default "Show older". The number left is added after it. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". The dots. - `allShownText`: text, up to 160 characters. Default "Showing all {count} entries". Announced. {count} is how many entries. ## Comment thread (comment-thread, 1.4.0) A comment thread with replies, a post box and announcements. Page: https://build-components.devstash.me/comment-thread · Install: https://build-components.devstash.me/r/comment-thread.json - `heading`: text, up to 40 characters. Default "Comments". - `comments`: a JSON array of objects with author, when, body, reply. Default 3 items. Set reply to yes for a comment that answers the one above it. - `allowReply`: true or false. Default true. - `replyLabel`: text, up to 40 characters. Default "Add a comment". - `postText`: text, up to 20 characters. Default "Post". - `yourName`: text, up to 40 characters. Default "You". Shown on comments added here. - `collapsible`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `hideText`: text, up to 40 characters. Default "Hide the thread". The button that folds the thread away. - `showText`: text, up to 40 characters. Default "Show the thread". The same button once it is folded. - `replyTag`: text, up to 30 characters. Default "· reply". Shown on a comment that answers another. - `justNowText`: text, up to 30 characters. Default "Just now". The time on a comment just posted. - `postedText`: text, up to 120 characters. Default "Comment posted. {count} comments in this thread.". Said after posting. {count} is the number of comments. ## Product card (product-card, 1.7.0) A product card with variant radio groups and stock in words. Page: https://build-components.devstash.me/product-card · Install: https://build-components.devstash.me/r/product-card.json - `name`: text, up to 60 characters. Default "Deck jacket". - `price`: text, up to 20 characters. Default "£128". Written exactly as you type it — no currency maths here. - `headingLevel`: one of h1, h2, h3. Default "h2". h1 when the card is the product's own page. - `blurb`: text, up to 120 characters. Default "Waxed cotton, taped seams, two chest pockets.". - `options`: a JSON array of objects with group, label, stock. Default 7 items. Options sharing a group are one choice. Stock is in or out; out cannot be picked. - `addText`: text, up to 30 characters. Default "Add to bag". - `showPrice`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#16303f". - `outText`: text, up to 40 characters. Default "(out of stock)". Said after a choice that has run out. - `pickText`: text, up to 80 characters. Default "Pick a {missing} first". Said until every choice is made. {missing} is what is left. - `andText`: text, up to 20 characters. Default "and a". Joins what is left in the message above, as and a. - `addedText`: text, up to 120 characters. Default "{name} added: {choices}". Said after adding. {name} and {choices} are filled in. ## Chat (chat, 1.2.0) A conversation that answers from its own list or streams from your AI endpoint, inline or as a floating panel, read out one whole answer at a time. Page: https://build-components.devstash.me/chat · Install: https://build-components.devstash.me/r/chat.json - `title`: text, up to 60 characters. Default "Ask Northwind". Names the conversation for screen readers, and heads the floating panel. - `assistantName`: text, up to 40 characters. Default "Northwind assistant". Read out before each answer. - `greeting`: text, up to 300 characters. Default "Hello. Ask me about plans, getting started or your account.". The first message, before anyone writes. Leave it empty for none. - `placeholder`: text, up to 60 characters. Default "Ask a question". - `suggestions`: a JSON array of objects with text. Default 3 items. Shown until the first question; one press asks it. - `answers`: a JSON array of objects with match, answer. Default 4 items. With no Send to address, the part answers from these: the one whose words (commas between) best match the question. - `fallbackText`: text, up to 300 characters. Default "I do not know that one yet. Write to us from the contact page and a person will answer: /contact". - `launcherText`: text, up to 30 characters. Default "Chat with us". The button that opens the floating panel. - `endpoint`: text, up to 300 characters, a link (http, https, a path or #). Default "". An address that takes the conversation as JSON and answers with text, streamed or whole (an AI route of your own). Empty, or answering 501: the part answers from its own list. - `layout`: one of inline, floating. Default "inline". In the page, or a button in the corner that opens it. - `askFromAddress`: true or false. Default true. Asks the question in the page's address (?q=…) when it opens, as the Prompt input sends it. - `questionParam`: text, up to 20 characters. Default "q". The name the question comes under in the address. - `remember`: true or false. Default true. Kept for the visit, so it carries on from page to page. Nothing leaves the browser. - `showSuggestions`: true or false. Default true. - `copyButton`: true or false. Default true. - `newChatButton`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Your messages, the send button and focus rings. - `corner`: one of end, start. Default "end". Floating: the bottom corner at the end of a line (right in English, left in Arabic) or at its start. - `panelSize`: one of compact, normal, large. Default "normal". Floating: how big the panel opens. - `launcherShape`: one of pill, round. Default "pill". Its words with an icon, or a round icon (the words are still read out). - `edgeGap`: a number from 8 to 64. Default 16. Floating: pixels between the button and the screen's edges. - `inputLabel`: text, up to 40 characters. Default "Your message". The field's label, read out. - `sendLabel`: text, up to 20 characters. Default "Send". - `stopLabel`: text, up to 20 characters. Default "Stop". Shown while an answer is coming. - `youLabel`: text, up to 20 characters. Default "You". Read out before your own messages. - `thinkingText`: text, up to 30 characters. Default "Thinking…". Shown until the answer's first words arrive. - `stoppedText`: text, up to 30 characters. Default "(stopped)". After an answer that was stopped. - `errorText`: text, up to 80 characters. Default "The answer did not come through.". - `retryLabel`: text, up to 30 characters. Default "Try again". - `copyLabel`: text, up to 20 characters. Default "Copy". - `copiedText`: text, up to 20 characters. Default "Copied". - `newChatLabel`: text, up to 20 characters. Default "New chat". - `closeLabel`: text, up to 20 characters. Default "Close". Closes the floating panel. - `suggestionsLabel`: text, up to 40 characters. Default "Suggested questions". Names the group of suggested questions. ## Prompt input (prompt-input, 1.2.0) An Ask-anything box: Enter sends, suggestions fill it, and it sends people to your chat or results page as ?q=…, with or without JavaScript. Page: https://build-components.devstash.me/prompt-input · Install: https://build-components.devstash.me/r/prompt-input.json - `label`: text, up to 80 characters. Default "What can we help you with?". Shown above the box, and its name. - `placeholder`: text, up to 80 characters. Default "Ask anything about Northwind". - `suggestions`: a JSON array of objects with text. Default 3 items. A press puts one in the box, ready to send or change. - `action`: text, up to 300 characters, a link (http, https, a path or #). Default "". The page that takes the question, as ?q=… in its address: a page with the Chat part asks it at once. Empty: nothing is sent, and the part says what it would have sent. - `paramName`: text, up to 20 characters. Default "q". The name the question goes under in the address. - `maxLength`: a number from 0 to 4000. Default 500. In characters. 0 for no limit. - `showSuggestions`: true or false. Default true. - `showCounter`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". The send button and focus rings. - `submitLabel`: text, up to 20 characters. Default "Send". Read out on the arrow button. - `counterText`: text, up to 40 characters. Default "{count} characters left". {count} is the number left. - `emptyText`: text, up to 80 characters. Default "Write a question first.". Said when sending an empty box. - `sentText`: text, up to 80 characters. Default "Sent: {prompt}". With no Send to address. {prompt} is the question. - `suggestionsLabel`: text, up to 40 characters. Default "Try one of these". Names the group of suggestions. ## Menu (menu-list, 1.1.0) A restaurant or café menu: dishes by section, each with its price, a description and dietary marks, in one or two columns. Page: https://build-components.devstash.me/menu-list · Install: https://build-components.devstash.me/r/menu-list.json - `heading`: text, up to 80 characters. Default "Menu". - `headingLevel`: one of h2, h3. Default "h2". Each section of the menu sits one level below it. - `intro`: text, up to 240 characters. Default "Cooked to order from what came in this morning.". Leave it empty for none. - `items`: a JSON array of objects with section, name, description, price, tags. Default 5 items. Dishes with the same section are listed together, in the order the section first appears. - `note`: text, up to 240 characters. Default "V vegetarian · GF gluten free. Tell us about any allergy before you order.". Under the menu: allergies, service, opening times. Empty hides it. - `columns`: one of one, two. Default "two". - `showDescriptions`: true or false. Default true. - `showTags`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". - `accentColor`: a colour as #rrggbb. Default "#9a3412". Prices and section names, darkened if needed to stay readable. - `tagsText`: text, up to 60 characters. Default "Dietary: {tags}". Read out before a dish's marks. {tags} is the marks. ## Reviews (reviews, 1.1.0) Product or service reviews: the average, a bar for each number of stars, and each review with its stars read as words. Page: https://build-components.devstash.me/reviews · Install: https://build-components.devstash.me/r/reviews.json - `heading`: text, up to 80 characters. Default "Reviews". - `headingLevel`: one of h2, h3. Default "h2". Each review's title sits one level below it. - `reviews`: a JSON array of objects with name, rating, date, title, text. Default 3 items. Real reviews only, quoted with permission. The average and the bars are worked out from these. - `showSummary`: true or false. Default true. The average rating and how many gave each number of stars. - `writeText`: text, up to 40 characters. Default "Write a review". - `writeHref`: text, up to 300 characters, a link (http, https, a path or #). Default "". Where people write one. Empty hides the link. - `theme`: one of light, dark, system. Default "light". - `accentColor`: a colour as #rrggbb. Default "#b45309". The stars and bars, darkened if needed to stay readable. - `averageText`: text, up to 40 characters. Default "{average} out of 5". {average} is the average, to one decimal place. - `countOneText`: text, up to 60 characters. Default "Based on {count} review". - `countOtherText`: text, up to 60 characters. Default "Based on {count} reviews". - `starsText`: text, up to 40 characters. Default "{rating} out of 5 stars". Read out instead of the stars. {rating} is the number. - `barText`: text, up to 40 characters. Default "{stars} stars: {count}". Read out for each bar. {stars} and {count}. - `summaryLabel`: text, up to 40 characters. Default "Reviews by stars". Names the list of bars. ## Donate (donate, 1.1.0) A donation box: amounts to choose or type, once or monthly, and a button that says what it gives; pays through your Stripe route. Page: https://build-components.devstash.me/donate · Install: https://build-components.devstash.me/r/donate.json - `heading`: text, up to 80 characters. Default "Support our work". - `headingLevel`: one of h2, h3. Default "h2". - `intro`: text, up to 240 characters. Default "Every gift, once or every month, keeps the work going.". Leave it empty for none. - `amounts`: a JSON array of objects with amount. Default 4 items. The amounts to choose from, as numbers. The second is chosen to start with. - `note`: text, up to 240 characters. Default "[TODO: what a gift pays for, in your own words]". Under the button: what a gift pays for. Empty hides it. - `currency`: text, up to 4 characters. Default "£". - `currencyCode`: text, up to 3 characters. Default "GBP". For the payment page: GBP, USD, EUR, INR… - `allowOther`: true or false. Default true. A field for any amount. - `minimum`: a number from 1 to 1000. Default 1. - `monthly`: true or false. Default true. Offer to give every month as well as once. - `endpoint`: text, up to 300 characters, a link (http, https, a path or #). Default "". An address that takes the gift as JSON and answers with a payment page's address (the website download's Stripe route). Empty: the part only says what would be given. - `theme`: one of light, dark, system. Default "light". - `accentColor`: a colour as #rrggbb. Default "#be123c". The chosen amount and the button. - `amountLabel`: text, up to 40 characters. Default "Choose an amount". Names the amounts. - `otherLabel`: text, up to 20 characters. Default "Other". The choice that opens the amount field. - `otherAmountLabel`: text, up to 40 characters. Default "Other amount". The amount field's label. - `frequencyLabel`: text, up to 40 characters. Default "How often". - `onceLabel`: text, up to 20 characters. Default "Once". - `monthlyLabel`: text, up to 20 characters. Default "Monthly". - `giveText`: text, up to 40 characters. Default "Give {amount}". The button. {amount} is the amount with its sign. - `giveMonthlyText`: text, up to 40 characters. Default "Give {amount} a month". The button, giving every month. - `minimumText`: text, up to 80 characters. Default "Enter an amount of at least {amount}.". {amount} is the smallest gift. - `sendingText`: text, up to 60 characters. Default "Opening the payment page…". - `errorText`: text, up to 80 characters. Default "The payment page did not open. Try again.". - `readyText`: text, up to 120 characters. Default "Ready to give {amount}. Add a Send to address to take the payment.". Said when there is no Send to address. {amount}. ## Product grid (product-grid, 1.5.0) Products as a grid of cards: each an article whose name is a heading and a link, with its price and picture. Page: https://build-components.devstash.me/product-grid · Install: https://build-components.devstash.me/r/product-grid.json - `heading`: text, up to 120 characters. Default "New in". - `headingLevel`: one of h2, h3. Default "h2". Each product's name sits one level under it. - `intro`: text, up to 300 characters. Default "". Leave it empty for none. - `products`: a JSON array of objects with name, price, href, image, phoneImage, alt, note, tags. Default 4 items. No pictures ship with this part: set each picture's address, and describe it in its alt text. A product with no name is not shown. - `columns`: one of 2, 3, 4. Default "4". - `shape`: one of square, portrait, landscape. Default "square". - `smallScreens`: one of auto, slider, grid. Default "auto". Auto: a slider once there are more than 4, a grid with fewer. A slider swipes, and has buttons and dots if you want them. - `sliderUpTo`: one of phone, tablet. Default "phone". Phones only, or tablets too. - `sliderCards`: one of peek, one, two. Default "peek". One with the next peeking in, exactly one, or two side by side. - `sliderButtons`: true or false. Default true. - `sliderDots`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". - `accentColor`: a colour as #rrggbb. Default "#16303f". Names as they are pointed at, notes and focus rings. - `previousLabel`: text, up to 40 characters. Default "Previous slide". Read out; the button shows an arrow. - `nextLabel`: text, up to 40 characters. Default "Next slide". Read out; the button shows an arrow. - `slideText`: text, up to 60 characters. Default "Slide {index} of {total}". Under the slider. {index} is the card at the start, {total} how many there are. - `shownText`: text, up to 80 characters. Default "{count} of {total} shown". Said when a filter bar on the page narrows the list. {count} shown out of {total}. - `noMatchText`: text, up to 120 characters. Default "Nothing matches these filters.". Shown when the filters leave no product. ## Signature pad (signature-pad, 1.4.0) A signature canvas with a typed name as a real alternative. Page: https://build-components.devstash.me/signature-pad · Install: https://build-components.devstash.me/r/signature-pad.json - `label`: text, up to 40 characters. Default "Sign here". - `hint`: text, up to 120 characters. Default "Draw with a finger, a mouse or a stylus.". - `typedAlternative`: true or false. Default true. Drawing needs a pointer. Without this the pad cannot be used by keyboard at all. - `typedLabel`: text, up to 60 characters. Default "Or type your full name instead". - `clearText`: text, up to 20 characters. Default "Clear". - `confirmText`: text, up to 40 characters. Default "Confirm signature". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `typeInsteadText`: text, up to 120 characters. Default "A drawing needs a pointer, so you can type your name instead.". Added to the hint when typing a name is allowed. - `clearedText`: text, up to 60 characters. Default "Signature cleared". Said after clearing. - `drawnText`: text, up to 60 characters. Default "Signed by drawing". Said after confirming a drawing. - `typedText`: text, up to 80 characters. Default "Signed as {name}". Said after confirming a typed name. {name} is the name. - `signedText`: text, up to 60 characters. Default "There is a signature". Said while there is a signature. - `unsignedText`: text, up to 60 characters. Default "Nothing signed yet". Said before signing. ## Code block (code-block, 1.4.0) A copyable code block with a fallback when the clipboard is refused. Page: https://build-components.devstash.me/code-block · Install: https://build-components.devstash.me/r/code-block.json - `title`: text, up to 60 characters. Default "install.sh". - `lines`: a JSON array of objects with text. Default 5 items. One line of code each. An empty line stays empty. - `showLineNumbers`: true or false. Default true. Decoration only — they are never copied. - `wrapToggle`: true or false. Default true. - `copyText`: text, up to 20 characters. Default "Copy". - `copiedText`: text, up to 40 characters. Default "Copied". - `theme`: one of light, dark, system. Default "dark". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `wrapText`: text, up to 40 characters. Default "Wrap lines". The button that wraps long lines. - `regionLabel`: text, up to 80 characters. Default "{title} code". Names the scrolling code, for screen readers. {title} is the title. - `selectedText`: text, up to 160 characters. Default "Selected. Press Ctrl+C (Cmd+C on a Mac) to copy.". Announced after the code is selected for copying by hand. ## Toolbar (toolbar, 1.4.0) A toolbar with one tab stop and arrow-key navigation. Page: https://build-components.devstash.me/toolbar · Install: https://build-components.devstash.me/r/toolbar.json - `label`: text, up to 60 characters. Default "Text formatting". Read out when a screen reader reaches the bar. - `items`: a JSON array of objects with label, kind. Default 6 items. A toggle stays on until pressed again and reports aria-pressed; an action just happens. - `orientation`: one of horizontal, vertical. Default "horizontal". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". Toggles that are on. - `onText`: text, up to 160 characters. Default "{label} on". Announced. {label} is the button. - `offText`: text, up to 160 characters. Default "{label} off". Announced. - `doneText`: text, up to 160 characters. Default "{label} done". Announced. ## Countdown (countdown, 1.4.0) A countdown whose announcements do not talk over the reader. Page: https://build-components.devstash.me/countdown · Install: https://build-components.devstash.me/r/countdown.json - `label`: text, up to 60 characters. Default "Doors open in". - `target`: text, up to 30 characters. Default "2026-12-24T18:00". The moment it ends, as 2026-12-24T18:00. Read in the visitor's own time zone. - `finishedText`: text, up to 80 characters. Default "Doors are open.". - `showSeconds`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#b45309". - `dayOne`: text, up to 30 characters. Default "{count} day". {count} is 1. - `dayMany`: text, up to 30 characters. Default "{count} days". {count} is the number. - `hourOne`: text, up to 30 characters. Default "{count} hour". {count} is 1. - `hourMany`: text, up to 30 characters. Default "{count} hours". {count} is the number. - `minuteOne`: text, up to 30 characters. Default "{count} minute". {count} is 1. - `minuteMany`: text, up to 30 characters. Default "{count} minutes". {count} is the number. - `secondOne`: text, up to 30 characters. Default "{count} second". {count} is 1. - `secondMany`: text, up to 30 characters. Default "{count} seconds". {count} is the number. - `twoText`: text, up to 60 characters. Default "{first} and {second} left". Said with days or hours to go. {first} and {second} are filled in. - `oneText`: text, up to 40 characters. Default "{first} left". Said in the last hour. {first} is filled in. - `daysLabel`: text, up to 20 characters. Default "days". Under the days number. - `hoursLabel`: text, up to 20 characters. Default "hours". Under the hours number. - `minutesLabel`: text, up to 20 characters. Default "minutes". Under the minutes number. - `secondsLabel`: text, up to 20 characters. Default "seconds". Under the seconds number. - `waitingText`: text, up to 60 characters. Default "Working out the time left…". Shown for a moment before the browser has the time. ## Booking slots (slot-picker, 1.4.0) A booking slot picker that is one choice, however many days it spans. Page: https://build-components.devstash.me/slot-picker · Install: https://build-components.devstash.me/r/slot-picker.json - `heading`: text, up to 60 characters. Default "Pick a time". - `slots`: a JSON array of objects with day, time, state. Default 9 items. Slots sharing a day are grouped under it. State is free or taken; taken cannot be picked. - `timezoneNote`: text, up to 120 characters. Default "Times are shown in your device's own time zone.". Say whose time zone these are. Times are printed as written, never converted. - `confirmText`: text, up to 40 characters. Default "Confirm this time". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `slotText`: text, up to 60 characters. Default "{day} at {time}". Each time with its day. {day} and {time} are filled in. - `freeText`: text, up to 80 characters. Default "{free} of {total} times are free.". Said after the time zone note. {free} and {total} are counts. - `takenText`: text, up to 30 characters. Default "(taken)". Said for a time that is gone. - `noneText`: text, up to 60 characters. Default "No time picked yet". Said before a time is picked. - `selectedText`: text, up to 80 characters. Default "{slot} selected". Said once one is picked. {slot} is the time. - `bookedText`: text, up to 80 characters. Default "Booked for {slot}". Said after booking. {slot} is the time. ## Multi-step wizard (wizard, 1.4.0) A multi-step form with focus management and per-step validation. Page: https://build-components.devstash.me/wizard · Install: https://build-components.devstash.me/r/wizard.json - `heading`: text, up to 60 characters. Default "Book a refit". - `steps`: a JSON array of objects with title, label, required. Default 4 items. One field per step. A step marked needed cannot be walked past empty. - `backText`: text, up to 20 characters. Default "Back". - `nextText`: text, up to 20 characters. Default "Next". - `finishText`: text, up to 20 characters. Default "Send it". - `showProgress`: true or false. Default true. The steps written out, with the current one marked. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `stepText`: text, up to 60 characters. Default "Step {current} of {total}". Shown beside each step's title. {current} and {total} are numbers. - `currentLabel`: text, up to 40 characters. Default "Current step:". Read out before the step you are on. - `neededText`: text, up to 30 characters. Default "(needed)". Shown after a label that must be filled. - `neededError`: text, up to 120 characters. Default "{label} is needed before you can go on.". Said when a needed step is left empty. {label} is its label. - `sentText`: text, up to 80 characters. Default "{heading}: sent". The heading once it is sent. {heading} is the heading. - `notGivenText`: text, up to 40 characters. Default "Not given". Shown for an answer left empty. - `sentNoteText`: text, up to 160 characters. Default "Sent. Everything you filled in is listed above.". Under the summary. ## Checkbox group (checkbox-group, 1.5.0) Checkboxes under one legend, with select-all and a minimum. Page: https://build-components.devstash.me/checkbox-group · Install: https://build-components.devstash.me/r/checkbox-group.json - `legend`: text, up to 80 characters. Default "What should we email you about?". - `hint`: text, up to 120 characters. Default "Pick as many as you like. You can change this later.". Leave it empty for no hint. - `options`: a JSON array of objects with label, note. Default 4 items. The note under each one is optional. - `name`: text, up to 40 characters. Default "topics". What the form sends for these boxes. - `showSelectAll`: true or false. Default true. Shows the mixed state when only some are ticked. - `selectAllLabel`: text, up to 40 characters. Default "Everything". - `showCount`: true or false. Default true. - `minRequired`: a number from 0 to 20. Default 1. 0 means the group is optional. - `errorText`: text, up to 120 characters. Default "Pick at least one topic.". - `columns`: one of one, two. Default "one". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". The ticks. - `countText`: text, up to 80 characters. Default "{count} of {total} picked". Said as boxes are ticked. {count} and {total} are counts. - `saveText`: text, up to 40 characters. Default "Save choices". The button that checks the choices. ## Radio cards (radio-cards, 1.5.0) A radio group drawn as cards, with notes and figures. Page: https://build-components.devstash.me/radio-cards · Install: https://build-components.devstash.me/r/radio-cards.json - `legend`: text, up to 80 characters. Default "How should we deliver it?". - `hint`: text, up to 120 characters. Default "Every option is tracked and signed for.". Leave it empty for no hint. - `options`: a JSON array of objects with label, note, meta, state. Default 4 items. Meta is the figure on the right (a price, a time). State is on or off; off cannot be picked. - `name`: text, up to 40 characters. Default "delivery". - `columns`: one of one, two, three. Default "two". - `showTick`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `unavailableText`: text, up to 60 characters. Default "Not available". Said under a choice that cannot be picked. - `noneText`: text, up to 80 characters. Default "Nothing picked yet". Said before a choice is made. - `pickedText`: text, up to 80 characters. Default "{choice} picked". Said once one is picked. {choice} is the choice. ## Textarea with counter (textarea-counter, 1.5.0) A message box whose counter does not talk over the typing. Page: https://build-components.devstash.me/textarea-counter · Install: https://build-components.devstash.me/r/textarea-counter.json - `label`: text, up to 60 characters. Default "What went wrong?". - `hint`: text, up to 160 characters. Default "Anything you can tell us helps: what you were doing, what you expected.". Leave it empty for no hint. - `placeholder`: text, up to 80 characters. Default "". Usually better left empty — a hint is read out, a placeholder is not. - `name`: text, up to 40 characters. Default "details". - `rows`: a number from 2 to 20. Default 4. - `maxLength`: a number from 20 to 4000. Default 200. - `allowOver`: true or false. Default true. On, pasting a long answer shows an error to fix. Off, the browser stops the typing at the limit. - `warnAt`: a number from 0 to 500. Default 40. Where the counter starts to stand out, and the point it is read out. - `overText`: text, up to 120 characters. Default "That is over the limit. Shorten it before sending.". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `leftOne`: text, up to 80 characters. Default "{count} character left". Said with one character to go. - `leftMany`: text, up to 80 characters. Default "{count} characters left". Said with more to go. {count} is how many. - `overOne`: text, up to 80 characters. Default "{count} character over the limit". Said one character over the limit. - `overMany`: text, up to 80 characters. Default "{count} characters over the limit". Said more than one over. {count} is how many. ## Select field (select-field, 1.5.0) A native select with groups, a prompt and a proper error. Page: https://build-components.devstash.me/select-field · Install: https://build-components.devstash.me/r/select-field.json - `label`: text, up to 60 characters. Default "Which yard?". - `hint`: text, up to 120 characters. Default "Where the work will be done.". Leave it empty for no hint. - `options`: a JSON array of objects with label, group. Default 5 items. Options sharing a group name are put in an optgroup. Leave the group empty for a flat list. - `placeholder`: text, up to 60 characters. Default "Choose a yard". What it says before anything is chosen. - `name`: text, up to 40 characters. Default "yard". - `required`: true or false. Default true. - `errorText`: text, up to 120 characters. Default "Choose a yard before carrying on.". - `size`: one of sm, md. Default "md". - `width`: one of full, auto. Default "full". - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". Focus ring. - `neededText`: text, up to 40 characters. Default "(needed)". Shown after the label when a choice is needed. - `continueText`: text, up to 40 characters. Default "Carry on". The button that checks the choice. ## FAQ (faq, 1.4.0) An FAQ built on native disclosure elements. Page: https://build-components.devstash.me/faq · Install: https://build-components.devstash.me/r/faq.json - `heading`: text, up to 60 characters. Default "Questions". - `intro`: text, up to 160 characters. Default "If yours is not here, write to us and we will add it.". Leave it empty for none. - `items`: a JSON array of objects with question, answer. Default 4 items. - `showToggleAll`: true or false. Default true. - `openFirst`: true or false. Default false. Useful when one answer is the one everybody wants. - `theme`: one of light, dark, system. Default "light". Light, dark, or whatever the visitor's device is set to. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". Focus rings. - `openAllText`: text, up to 40 characters. Default "Open all". The button that opens every answer. - `closeAllText`: text, up to 40 characters. Default "Close all". The same button once every answer is open. ## Details list (details-list, 1.3.0) Key and value details with optional change links. Page: https://build-components.devstash.me/details-list · Install: https://build-components.devstash.me/r/details-list.json - `heading`: text, up to 60 characters. Default "Order details". Leave it empty for none. - `rows`: a JSON array of objects with term, detail, href. Default 5 items. An empty value shows the not-given wording. A link turns that row into one you can change. - `emptyText`: text, up to 40 characters. Default "Not given". - `editText`: text, up to 30 characters. Default "Change". The row label is added after it for screen readers. - `columns`: one of one, two. Default "one". - `dividers`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". The links. ## Comparison table (comparison-table, 1.4.0) A feature comparison whose ticks are readable out loud. Page: https://build-components.devstash.me/comparison-table · Install: https://build-components.devstash.me/r/comparison-table.json - `caption`: text, up to 80 characters. Default "What each plan includes". Read out before the table. - `plans`: a JSON array of objects with name, note. Default 3 items. Up to three. Anything beyond that is more of a spreadsheet than a page. - `rows`: a JSON array of objects with feature, a, b, c. Default 7 items. Write yes or no for a tick or a cross; anything else is shown as it is. - `highlight`: text, up to 30 characters. Default "Crew". Matched by name. Leave it empty for none. - `yesText`: text, up to 20 characters. Default "Yes". - `noText`: text, up to 20 characters. Default "No". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `featureHeader`: text, up to 40 characters. Default "Feature". Heads the column of features. - `featuredText`: text, up to 40 characters. Default "Most picked". Shown under the featured plan's name. ## Hero section (hero, 1.5.0) A page opening with two buttons and a picture panel. Page: https://build-components.devstash.me/hero · Install: https://build-components.devstash.me/r/hero.json - `eyebrow`: text, up to 60 characters. Default "Refit yard, Falmouth". Not a heading, so it cannot break the page outline. Leave it empty for none. - `heading`: text, up to 120 characters. Default "Get your boat ready before the season starts". - `headingLevel`: one of h1, h2. Default "h1". h1 when this is the top of the page, h2 when the page already has one. - `copy`: text, up to 300 characters. Default "Rigging, engines, hulls and electronics under one roof. Tell us what it needs and we will send a written quote within two working days.". - `primaryText`: text, up to 40 characters. Default "Ask for a quote". Leave it empty to drop the button. - `primaryHref`: text, up to 200 characters, a link (http, https, a path or #). Default "/quote". - `secondaryText`: text, up to 40 characters. Default "See the yard". - `secondaryHref`: text, up to 200 characters, a link (http, https, a path or #). Default "/yard". - `note`: text, up to 120 characters. Default "No deposit until the work is agreed.". - `align`: one of left, centre. Default "left". - `showPanel`: true or false. Default true. A drawn placeholder beside the text. Swap it for your own image. - `panelLabel`: text, up to 120 characters. Default "Photograph of the yard goes here". What the picture shows, for anyone who cannot see it. - `imageSrc`: text, up to 300 characters, a link (http, https, a path or #). Default "". Empty draws a placeholder instead. No image ships with this part. - `phoneImageSrc`: text, up to 300 characters, a link (http, https, a path or #). Default "". A narrower crop for screens under 640px, as a . Empty: the picture above on every screen. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#16303f". The main button. ## Feature grid (feature-grid, 1.5.0) A features section that reads well out loud. Page: https://build-components.devstash.me/feature-grid · Install: https://build-components.devstash.me/r/feature-grid.json - `heading`: text, up to 80 characters. Default "What you get". - `intro`: text, up to 200 characters. Default "Every part is tested the same way before it goes in the catalogue.". Leave it empty for none. - `items`: a JSON array of objects with title, text, glyph, href. Default 6 items. The glyph is decoration and is hidden from screen readers. A link is optional per feature. - `columns`: one of two, three, four. Default "three". - `linkText`: text, up to 30 characters. Default "Read more". The feature name is added after it for screen readers. - `showRule`: true or false. Default true. - `smallScreens`: one of auto, slider, grid. Default "auto". Auto: a slider once there are more than 4, a grid with fewer. A slider swipes, and has buttons and dots if you want them. - `sliderUpTo`: one of phone, tablet. Default "phone". Phones only, or tablets too. - `sliderCards`: one of peek, one, two. Default "peek". One with the next peeking in, exactly one, or two side by side. - `sliderButtons`: true or false. Default true. - `sliderDots`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". Glyphs and links. - `aboutText`: text, up to 80 characters. Default "about {title}". Read out after the link text, so each link is told apart. {title} is the feature, in lower case. - `previousLabel`: text, up to 40 characters. Default "Previous slide". Read out; the button shows an arrow. - `nextLabel`: text, up to 40 characters. Default "Next slide". Read out; the button shows an arrow. - `slideText`: text, up to 60 characters. Default "Slide {index} of {total}". Under the slider. {index} is the card at the start, {total} how many there are. ## How it works (how-it-works, 1.4.0) A process section where the order is in the markup. Page: https://build-components.devstash.me/how-it-works · Install: https://build-components.devstash.me/r/how-it-works.json - `heading`: text, up to 80 characters. Default "How a refit works". - `intro`: text, up to 200 characters. Default "Four steps, and you hear from us at each one.". Leave it empty for none. - `steps`: a JSON array of objects with title, text, meta. Default 4 items. The meta line is for how long it takes, or who does it. - `layout`: one of across, down. Default "across". Across the page, or down it. - `showNumbers`: true or false. Default true. - `showConnector`: true or false. Default true. - `smallScreens`: one of auto, slider, grid. Default "auto". Auto: a slider once there are more than 4, a grid with fewer. A slider swipes, and has buttons and dots if you want them. - `sliderUpTo`: one of phone, tablet. Default "phone". Phones only, or tablets too. - `sliderCards`: one of peek, one, two. Default "peek". One with the next peeking in, exactly one, or two side by side. - `sliderButtons`: true or false. Default true. - `sliderDots`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#16303f". The numbers. - `previousLabel`: text, up to 40 characters. Default "Previous slide". Read out; the button shows an arrow. - `nextLabel`: text, up to 40 characters. Default "Next slide". Read out; the button shows an arrow. - `slideText`: text, up to 60 characters. Default "Slide {index} of {total}". Under the slider. {index} is the card at the start, {total} how many there are. ## Newsletter signup (newsletter, 1.6.0) A signup form with consent and a spoken outcome. Page: https://build-components.devstash.me/newsletter · Install: https://build-components.devstash.me/r/newsletter.json - `heading`: text, up to 60 characters. Default "Notes from the yard". - `copy`: text, up to 200 characters. Default "What we have been fixing, and what we learnt doing it. Once a month, no more.". Say what they will get and how often. - `emailLabel`: text, up to 40 characters. Default "Email address". - `placeholder`: text, up to 60 characters. Default "". Usually better empty: a label is read out, a placeholder is not. - `buttonText`: text, up to 30 characters. Default "Sign me up". - `name`: text, up to 40 characters. Default "email". - `requireConsent`: true or false. Default true. Needed in the UK and EU for marketing email. - `consentText`: text, up to 160 characters. Default "Yes, send me the monthly note.". - `note`: text, up to 160 characters. Default "One email a month. Unsubscribe from any of them.". - `successText`: text, up to 160 characters. Default "Thanks — check your inbox to confirm it is you.". - `layout`: one of inline, stacked. Default "inline". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `action`: text, up to 300 characters, a link (http, https, a path or #). Default "". A web address that takes the sign-up as a POST (your own endpoint, or a form service such as Formspree). Empty: nothing is sent, which suits a preview. - `emailErrorText`: text, up to 160 characters. Default "Enter an email address like name@example.com.". - `consentErrorText`: text, up to 160 characters. Default "Tick the box to say we may email you.". - `sendingText`: text, up to 160 characters. Default "Sending…". Shown on the button. - `sendErrorText`: text, up to 160 characters. Default "It did not go through. Check your connection and try again.". ## Toggle group (toggle-group, 1.5.0) Multi-select toggles that are still real checkboxes. Page: https://build-components.devstash.me/toggle-group · Install: https://build-components.devstash.me/r/toggle-group.json - `legend`: text, up to 80 characters. Default "Which days do you work?". - `hint`: text, up to 120 characters. Default "Pick every day that applies.". Leave it empty for none. - `options`: a JSON array of objects with label, value. Default 7 items. The value is what the form sends; leave it empty to send the label. - `name`: text, up to 40 characters. Default "days". - `minOne`: true or false. Default true. The last one left refuses to turn off, and says why. - `showCount`: true or false. Default true. - `size`: one of sm, md. Default "md". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `noneText`: text, up to 80 characters. Default "Nothing picked". Said while nothing is on. - `pickedText`: text, up to 120 characters. Default "{count} picked: {choices}". Said while some are on. {count} is how many, {choices} which. ## Value with unit (unit-input, 1.5.0) A measurement field whose unit is its own value. Page: https://build-components.devstash.me/unit-input · Install: https://build-components.devstash.me/r/unit-input.json - `label`: text, up to 80 characters. Default "How long is the boat?". - `hint`: text, up to 120 characters. Default "Overall length, to the nearest tenth.". Leave it empty for none. - `name`: text, up to 40 characters. Default "length". - `unitName`: text, up to 40 characters. Default "lengthUnit". The unit is sent as its own value, not glued to the number. - `units`: a JSON array of objects with label, value. Default 2 items. - `min`: a number from 0 to 100000. Default 1. - `max`: a number from 1 to 1000000. Default 200. - `step`: a number from 0.01 to 100. Default 0.1. - `errorText`: text, up to 120 characters. Default "Give a length between 1 and 200.". Say the range in words; a red border says nothing. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `unitLabel`: text, up to 80 characters. Default "Unit for {label}". Names the unit list. {label} is the label, in lower case. ## Masked input (masked-input, 1.5.0) A field that formats itself without fighting the typing. Page: https://build-components.devstash.me/masked-input · Install: https://build-components.devstash.me/r/masked-input.json - `label`: text, up to 60 characters. Default "Postcode". - `hint`: text, up to 120 characters. Default "". Empty uses the example built from the mask. - `mask`: text, up to 40 characters. Default "AA## #AA". # is a digit, A a letter, * either. Anything else is punctuation the field fills in: AA## #AA, ##/##/####, GB## AAAA ########. - `name`: text, up to 40 characters. Default "postcode". - `showExample`: true or false. Default true. - `errorText`: text, up to 120 characters. Default "That is not a full postcode yet.". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `exampleText`: text, up to 120 characters. Default "Like {example}. We add the spacing.". Shown when the example is on. {example} is a made-up value. ## Date range (date-range, 1.5.0) A from-and-to pair that cannot be set backwards. Page: https://build-components.devstash.me/date-range · Install: https://build-components.devstash.me/r/date-range.json - `legend`: text, up to 80 characters. Default "When are you staying?". - `hint`: text, up to 140 characters. Default "Check-in is from 3pm, check-out by 11am.". Leave it empty for none. - `fromLabel`: text, up to 40 characters. Default "Check in". - `toLabel`: text, up to 40 characters. Default "Check out". - `name`: text, up to 40 characters. Default "stay". The two fields send this with From and To on the end. - `min`: text, up to 10 characters. Default "". As 2026-03-04. Leave it empty for no limit. - `max`: text, up to 10 characters. Default "". As 2026-12-31. Leave it empty for no limit. - `required`: true or false. Default false. - `orderErrorText`: text, up to 120 characters. Default "Check-out cannot be before check-in.". - `showSpan`: true or false. Default true. - `spanUnit`: one of nights, days. Default "nights". Nights counts the gap; days counts both ends. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `monthNames`: text, up to 240 characters. Default "January,February,March,April,May,June,July,August,September,October,November,December". The twelve months, January first, with commas between. - `dateText`: text, up to 40 characters. Default "{day} {month} {year}". How a date is written. {day}, {month} and {year} are filled in. - `nightOne`: text, up to 30 characters. Default "{count} night". {count} is 1. - `nightMany`: text, up to 30 characters. Default "{count} nights". {count} is the number. - `dayOne`: text, up to 30 characters. Default "{count} day". {count} is 1. - `dayMany`: text, up to 30 characters. Default "{count} days". {count} is the number. - `spanText`: text, up to 80 characters. Default "{span}, {from} to {to}". Said once both dates are in. {span}, {from} and {to} are filled in. ## Time range (time-range, 1.5.0) A start and an end, with the length spelled out. Page: https://build-components.devstash.me/time-range · Install: https://build-components.devstash.me/r/time-range.json - `legend`: text, up to 80 characters. Default "When are you open?". - `hint`: text, up to 140 characters. Default "Use the 24-hour clock or your device's own time picker.". Leave it empty for none. - `fromLabel`: text, up to 40 characters. Default "Opens". - `toLabel`: text, up to 40 characters. Default "Closes". - `name`: text, up to 40 characters. Default "hours". The two fields send this with From and To on the end. - `earliest`: text, up to 5 characters. Default "06:00". As 06:00. Leave it empty for no limit. - `latest`: text, up to 5 characters. Default "23:30". As 23:30. Leave it empty for no limit. - `stepMinutes`: a number from 1 to 120. Default 30. What the arrow keys move by. - `required`: true or false. Default false. - `allowOvernight`: true or false. Default false. 22:00 to 02:00 becomes four hours instead of an error. - `orderErrorText`: text, up to 120 characters. Default "Closing time must be after opening time.". - `showLength`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `hourOneText`: text, up to 160 characters. Default "{count} hour". Spoken length. - `hoursText`: text, up to 160 characters. Default "{count} hours". Spoken length. - `minuteOneText`: text, up to 160 characters. Default "{count} minute". Spoken length. - `minutesText`: text, up to 160 characters. Default "{count} minutes". Spoken length. - `noTimeText`: text, up to 160 characters. Default "no time at all". When start and end are the same. - `nextDayText`: text, up to 160 characters. Default "{length}, finishing the next day". {length} is the spoken length. ## Dual range slider (dual-slider, 1.5.0) Two ends of a range, both reachable from a keyboard. Page: https://build-components.devstash.me/dual-slider · Install: https://build-components.devstash.me/r/dual-slider.json - `legend`: text, up to 80 characters. Default "Price range". - `hint`: text, up to 140 characters. Default "Two sliders, one for each end. They cannot cross.". Leave it empty for none. - `lowLabel`: text, up to 40 characters. Default "Lowest price". - `highLabel`: text, up to 40 characters. Default "Highest price". - `name`: text, up to 40 characters. Default "price". The two sliders send this with Min and Max on the end. - `min`: a number from -100000 to 100000. Default 0. - `max`: a number from -100000 to 1000000. Default 500. - `step`: a number from 1 to 10000. Default 10. - `minGap`: a number from 0 to 10000. Default 20. How close the two ends may get. - `startLow`: a number from -100000 to 1000000. Default 80. - `startHigh`: a number from -100000 to 1000000. Default 320. - `valuePrefix`: text, up to 6 characters. Default "£". - `valueSuffix`: text, up to 10 characters. Default "". - `showBar`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". - `rangeText`: text, up to 60 characters. Default "{low} to {high}". Said as either end moves. {low} and {high} are the two ends. ## PIN pad (pin-pad, 1.5.0) A numeric pad whose value is one hidden field. Page: https://build-components.devstash.me/pin-pad · Install: https://build-components.devstash.me/r/pin-pad.json - `legend`: text, up to 80 characters. Default "Enter your PIN". - `hint`: text, up to 140 characters. Default "Four digits. Use the pad or type them.". Leave it empty for none. - `length`: a number from 3 to 10. Default 4. - `name`: text, up to 40 characters. Default "pin". - `layout`: one of phone, calculator. Default "phone". Phone puts 1 at the top; calculator puts 7 there. - `deleteLabel`: text, up to 60 characters. Default "Delete last digit". The button shows ⌫; this is what it is called. - `clearLabel`: text, up to 20 characters. Default "Clear". - `showClear`: true or false. Default true. - `completeText`: text, up to 80 characters. Default "PIN complete.". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `progressText`: text, up to 80 characters. Default "{entered} of {length} digits entered". Said as digits go in. {entered} and {length} are counts. ## Autosaving field (autosave-field, 1.4.0) A field that saves itself and says so in words. Page: https://build-components.devstash.me/autosave-field · Install: https://build-components.devstash.me/r/autosave-field.json - `label`: text, up to 60 characters. Default "Notes". - `hint`: text, up to 140 characters. Default "Saved on its own a moment after you stop typing.". Leave it empty for none. - `name`: text, up to 40 characters. Default "notes". - `rows`: a number from 2 to 20. Default 5. - `maxLength`: a number from 50 to 20000. Default 2000. - `pauseMs`: a number from 200 to 5000. Default 900. How long a rest in the typing has to be before it saves. - `demoOutcome`: one of saves, fails. Default "saves". Replace saveDraft with your own request; this is here so you can see both paths. - `unsavedText`: text, up to 60 characters. Default "Not saved yet". - `savingText`: text, up to 60 characters. Default "Saving…". - `savedText`: text, up to 60 characters. Default "Saved". The time is added after it. - `errorText`: text, up to 100 characters. Default "Could not save.". - `retryLabel`: text, up to 40 characters. Default "Try again". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `savedAtText`: text, up to 160 characters. Default "{saved} at {time}". {saved} is the Saved text, {time} the time. ## Form error summary (error-summary, 1.4.0) The list of problems a form has, done properly. Page: https://build-components.devstash.me/error-summary · Install: https://build-components.devstash.me/r/error-summary.json - `legend`: text, up to 80 characters. Default "Your details". - `heading`: text, up to 80 characters. Default "There is a problem". - `headingLevel`: one of h2, h3. Default "h2". Fit it under whatever heading the page already has. - `countInHeading`: true or false. Default false. "3 problems to fix" instead of your wording. - `fields`: a JSON array of objects with label, kind, required. Default 3 items. Kind is text, email or tel. Required is yes or no. - `submitLabel`: text, up to 40 characters. Default "Continue". - `successText`: text, up to 120 characters. Default "Thank you. Your details were accepted.". - `markFields`: true or false. Default true. The summary alone leaves nothing next to the answer being changed. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `optionalText`: text, up to 30 characters. Default "(optional)". Shown after a label that may be left empty. - `requiredError`: text, up to 120 characters. Default "Enter your {label}". Said for a needed field left empty. {label} is its label, in lower case. - `emailError`: text, up to 160 characters. Default "Enter an email address in the form name@example.com". Said for an email address that is not one. - `telError`: text, up to 160 characters. Default "Enter a phone number using only digits, spaces, + and brackets". Said for a phone number that is not one. - `countOne`: text, up to 60 characters. Default "{count} problem to fix". The heading with the count on, for one. {count} is 1. - `countMany`: text, up to 60 characters. Default "{count} problems to fix". The heading with the count on. {count} is the number. ## Address fields (address-fields, 1.5.0) An address block that knows one label does not fit the world. Page: https://build-components.devstash.me/address-fields · Install: https://build-components.devstash.me/r/address-fields.json - `legend`: text, up to 80 characters. Default "Delivery address". - `hint`: text, up to 140 characters. Default "Your browser can fill this in for you.". Leave it empty for none. - `name`: text, up to 40 characters. Default "address". Each field sends this with its own part on the end. - `countries`: a JSON array of objects with code, name, postcodeLabel, regionLabel. Default 4 items. An empty region label means that country gets no region field. - `countryLabel`: text, up to 40 characters. Default "Country". - `line1Label`: text, up to 40 characters. Default "Address line 1". - `line2Label`: text, up to 40 characters. Default "Address line 2". - `cityLabel`: text, up to 40 characters. Default "Town or city". - `showLine2`: true or false. Default true. - `countryFirst`: true or false. Default true. First, so the labels below it can already be right. - `requireCore`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `optionalText`: text, up to 30 characters. Default "(optional)". Shown after the second line's label. - `addressedText`: text, up to 160 characters. Default "Addressed for {country}. The postcode field is called {postcode}.". Said when the country changes. {country} and {postcode} are filled in. ## Skip links (skip-links, 1.4.0) The first thing on the page, and the one most sites get wrong. Page: https://build-components.devstash.me/skip-links · Install: https://build-components.devstash.me/r/skip-links.json - `links`: a JSON array of objects with label, target. Default 3 items. Target is the id of the landmark it jumps to, without the #. - `alwaysVisible`: true or false. Default false. Some teams show them permanently rather than only on focus. - `position`: one of top-left, top-centre. Default "top-left". - `demoHeading`: text, up to 80 characters. Default "What the links skip to". Only the stand-in page below the links; delete it in your own. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `navLabel`: text, up to 40 characters. Default "Skip links". Names the group of skip links, for screen readers. ## Anchor navigation (anchor-nav, 1.3.0) A table of contents for one page, that keeps up with the reading. Page: https://build-components.devstash.me/anchor-nav · Install: https://build-components.devstash.me/r/anchor-nav.json - `heading`: text, up to 60 characters. Default "On this page". - `sections`: a JSON array of objects with label, target, body. Default 4 items. Target is the id of the heading it jumps to. Body is only the stand-in page below. - `sticky`: true or false. Default true. Only from 768px up; on a phone it stays at the top of the page. - `markCurrent`: true or false. Default true. - `smoothScroll`: true or false. Default true. Ignored for anyone who asks for less motion. - `numbered`: true or false. Default false. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". ## Command menu (command-menu, 1.4.0) A palette of actions, not a second search box. Page: https://build-components.devstash.me/command-menu · Install: https://build-components.devstash.me/r/command-menu.json - `triggerLabel`: text, up to 40 characters. Default "Commands". Also names the dialog and the list inside it. - `placeholder`: text, up to 60 characters. Default "Type a command". Also the field's own label, which is there but not shown. - `commands`: a JSON array of objects with group, label, shortcut. Default 7 items. Commands with the same group name in a row are shown under one heading. Leave a shortcut empty for none. - `hotkey`: text, up to 1 characters. Default "k". One letter. Leave it empty for no shortcut. - `emptyText`: text, up to 100 characters. Default "No command matches that.". - `showShortcuts`: true or false. Default true. - `showHint`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". - `ranText`: text, up to 80 characters. Default "Ran: {command}". Announced once a command runs. {command} is its name. - `ctrlKeyName`: text, up to 12 characters. Default "Ctrl". The Control key's name on the button's shortcut hint (Strg on a German keyboard). ## Menu bar (menu-bar, 1.3.0) The desktop menu bar, with the keyboard model it has always had. Page: https://build-components.devstash.me/menu-bar · Install: https://build-components.devstash.me/r/menu-bar.json - `label`: text, up to 40 characters. Default "Document". What the whole bar is called to a screen reader. - `items`: a JSON array of objects with menu, item, shortcut. Default 9 items. Items with the same menu name in a row become one menu. Leave a shortcut empty for none. - `showShortcuts`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". ## Cursor pagination (cursor-pagination, 1.4.0) Paging a list whose length nobody knows. Page: https://build-components.devstash.me/cursor-pagination · Install: https://build-components.devstash.me/r/cursor-pagination.json - `heading`: text, up to 60 characters. Default "Build log". Focus lands here after each page, so it has to say what the list is. - `label`: text, up to 40 characters. Default "Results". - `itemNoun`: text, up to 30 characters. Default "entry". Used in the range line and the stand-in rows. - `previousLabel`: text, up to 30 characters. Default "Newer". Newer and Older beat Previous and Next for a list ordered by time. - `nextLabel`: text, up to 30 characters. Default "Older". - `pageSize`: a number from 1 to 50. Default 5. - `totalItems`: a number from 1 to 500. Default 23. Only the demo data. Your own request decides where the list ends. - `knowsTotal`: true or false. Default false. Off is the honest default for a cursor: it finds the end by getting a short page. - `atStartText`: text, up to 100 characters. Default "You are on the newest page.". - `atEndText`: text, up to 100 characters. Default "You have reached the end.". - `showRange`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `showingText`: text, up to 80 characters. Default "Showing {item} {range}". Said for the page shown. {item} is the noun, {range} the numbers. - `showingTotalText`: text, up to 80 characters. Default "Showing {item} {range} of {total}". Said when the total is known. {item}, {range} and {total} are filled in. - `rangeText`: text, up to 40 characters. Default "{start} to {end}". The numbers shown. {start} and {end} are filled in. ## Navigation progress (nav-progress, 1.3.0) Saying the page is loading, and then which page arrived. Page: https://build-components.devstash.me/nav-progress · Install: https://build-components.devstash.me/r/nav-progress.json - `triggerLabel`: text, up to 60 characters. Default "Go to the next page". Only the stand-in navigation; point start() at your own router instead. - `pageName`: text, up to 60 characters. Default "Parts catalogue". Named in the announcement, because "loaded" alone says nothing. - `loadingText`: text, up to 40 characters. Default "Loading". - `doneText`: text, up to 40 characters. Default "Loaded". - `delayMs`: a number from 0 to 2000. Default 200. A bar that flashes for 80ms is worse than no bar at all. - `demoMs`: a number from 100 to 8000. Default 1400. - `position`: one of top, bottom. Default "top". - `thickness`: a number from 1 to 12. Default 3. - `showBar`: true or false. Default true. The announcement works on its own; the bar is for the people who can see it. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#e6b24a". ## Shrinking sticky header (sticky-header, 1.4.0) A header that gets out of the way without getting lost. Page: https://build-components.devstash.me/sticky-header · Install: https://build-components.devstash.me/r/sticky-header.json - `title`: text, up to 40 characters. Default "Ledger". - `links`: a JSON array of objects with label. Default 4 items. - `actionLabel`: text, up to 30 characters. Default "New entry". - `shrink`: true or false. Default true. - `hideOnScrollDown`: true or false. Default true. Ignored for anyone who asks for less motion, and on a short screen. - `threshold`: a number from 0 to 600. Default 80. How far down before either of those happens. - `demoSections`: a number from 1 to 20. Default 6. Only the stand-in page under the header. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `navLabel`: text, up to 40 characters. Default "Sections". Names the row of links, for screen readers. ## Hover card (hover-card, 1.3.0) A preview on hover, done the way 1.4.13 asks for. Page: https://build-components.devstash.me/hover-card · Install: https://build-components.devstash.me/r/hover-card.json - `beforeText`: text, up to 120 characters. Default "Pair this with ". - `triggerText`: text, up to 60 characters. Default "the searchable select". - `afterText`: text, up to 120 characters. Default " when the list runs past about fifteen options.". - `linkHref`: text, up to 300 characters, a link (http, https, a path or #). Default "https://build-components.devstash.me/searchable-select". http or https only. - `cardTitle`: text, up to 60 characters. Default "Searchable select". - `cardMeta`: text, up to 80 characters. Default "APG Combobox · Inputs". - `cardBody`: text, up to 240 characters. Default "Type to filter a long list, pick with the keyboard or the mouse, with the matched letters marked.". - `openDelayMs`: a number from 0 to 2000. Default 300. Long enough that the pointer crossing the link does not open it. - `closeDelayMs`: a number from 0 to 2000. Default 400. Long enough to move the pointer from the link onto the card. - `placement`: one of above, below. Default "below". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". ## Bottom sheet (bottom-sheet, 1.4.0) The phone sheet, with heights a keyboard can reach. Page: https://build-components.devstash.me/bottom-sheet · Install: https://build-components.devstash.me/r/bottom-sheet.json - `triggerLabel`: text, up to 60 characters. Default "Choose a delivery slot". - `title`: text, up to 60 characters. Default "Delivery slot". - `body`: text, up to 400 characters. Default "Sheets come up from the bottom because that is where the thumb is. This one has three heights, and the handle is a real button so the heights are reachable without dragging.". - `confirmLabel`: text, up to 40 characters. Default "Use this slot". - `cancelLabel`: text, up to 40 characters. Default "Close". - `detents`: one of peek-half-full, half-full, full. Default "peek-half-full". - `startAt`: one of peek, half, full. Default "half". - `expandLabel`: text, up to 60 characters. Default "Make the sheet taller". The handle is a button, so it needs a name in words. - `collapseLabel`: text, up to 60 characters. Default "Make the sheet shorter". - `centreOnWide`: true or false. Default true. A sheet stuck to the bottom of a desktop window is a phone pattern in the wrong place. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `peekText`: text, up to 60 characters. Default "a third of the screen". Said for the shortest stop. - `halfText`: text, up to 60 characters. Default "half the screen". Said for the middle stop. - `fullText`: text, up to 60 characters. Default "nearly the whole screen". Said for the tallest stop. - `heightText`: text, up to 80 characters. Default "Sheet height: {height}.". Said as it changes. {height} is one of the three above. - `shortestText`: text, up to 80 characters. Default "Already at its shortest.". Added when it cannot get shorter. ## Loading button (loading-button, 1.3.0) A button that says what it is doing, and keeps your place. Page: https://build-components.devstash.me/loading-button · Install: https://build-components.devstash.me/r/loading-button.json - `idleLabel`: text, up to 40 characters. Default "Save changes". - `busyLabel`: text, up to 40 characters. Default "Saving…". The words are what a screen reader gets; a spinner says nothing. - `doneText`: text, up to 100 characters. Default "Changes saved.". - `errorText`: text, up to 140 characters. Default "Could not save. Nothing was changed.". Say what did not happen, so nobody has to guess whether it half worked. - `retryLabel`: text, up to 40 characters. Default "Try saving again". - `demoMs`: a number from 100 to 8000. Default 1200. - `demoOutcome`: one of saves, fails. Default "saves". Replace run() with your own request; this is here so you can see both paths. - `showSpinner`: true or false. Default true. - `fullWidth`: true or false. Default false. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". ## Undo snackbar (undo-snackbar, 1.3.0) Undo, with a time limit that is actually adjustable. Page: https://build-components.devstash.me/undo-snackbar · Install: https://build-components.devstash.me/r/undo-snackbar.json - `triggerLabel`: text, up to 60 characters. Default "Archive this message". - `message`: text, up to 100 characters. Default "Message archived.". - `undoLabel`: text, up to 30 characters. Default "Undo". - `closeLabel`: text, up to 40 characters. Default "Dismiss". It shows ×; this is what it is called. - `undoneText`: text, up to 100 characters. Default "Message put back.". - `keptText`: text, up to 100 characters. Default "Message stayed archived.". Said out loud, because silence is not a result. - `seconds`: a number from 0 to 120. Default 8. Nought means it stays until dismissed, which is the safest answer for a destructive action. - `showCountdown`: true or false. Default true. - `position`: one of bottom-left, bottom-centre. Default "bottom-left". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#e6b24a". ## Inline confirm (inline-confirm, 1.3.0) Are you sure, without a dialog over the page. Page: https://build-components.devstash.me/inline-confirm · Install: https://build-components.devstash.me/r/inline-confirm.json - `itemLabel`: text, up to 80 characters. Default "Quarterly report.pdf". - `actionLabel`: text, up to 30 characters. Default "Delete". - `question`: text, up to 100 characters. Default "Delete this file?". Name what will happen, not just "Are you sure?". - `confirmLabel`: text, up to 40 characters. Default "Yes, delete". Repeat the verb: Yes, delete. Never just "Yes". - `cancelLabel`: text, up to 40 characters. Default "Keep it". - `doneText`: text, up to 120 characters. Default "Quarterly report.pdf deleted.". - `cancelledText`: text, up to 120 characters. Default "Nothing was deleted.". - `focusOn`: one of cancel, confirm. Default "cancel". Cancel for anything destructive, so a stray Enter does no harm. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#b42318". ## Circular progress (circular-progress, 1.3.0) A progress ring that never invents a number. Page: https://build-components.devstash.me/circular-progress · Install: https://build-components.devstash.me/r/circular-progress.json - `label`: text, up to 60 characters. Default "Uploading photos". - `mode`: one of determinate, indeterminate. Default "determinate". Indeterminate carries no value at all, because there is nothing honest to put there. - `value`: a number from 0 to 100. Default 0. - `unitText`: text, up to 40 characters. Default "uploaded". "62% uploaded" beats "62%" on its own. - `busyText`: text, up to 100 characters. Default "Working. This can take a minute.". - `doneText`: text, up to 100 characters. Default "All photos uploaded.". - `runLabel`: text, up to 40 characters. Default "Start the upload". Only the stand-in; point setValue at your own upload. - `demoMs`: a number from 300 to 10000. Default 2400. - `size`: a number from 40 to 240. Default 96. - `thickness`: a number from 2 to 40. Default 10. - `showValue`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". ## Error state with retry (error-state, 1.3.0) A failure you can actually do something about. Page: https://build-components.devstash.me/error-state · Install: https://build-components.devstash.me/r/error-state.json - `triggerLabel`: text, up to 60 characters. Default "Load the report". Only the stand-in request; point attempt() at your own. - `heading`: text, up to 80 characters. Default "The report did not load". Name what failed, not "Oops" or "Something went wrong". - `headingLevel`: one of h2, h3. Default "h2". - `message`: text, up to 160 characters. Default "The server took too long to answer.". - `advice`: text, up to 200 characters. Default "Nothing was changed. Try again, or come back in a few minutes.". Say whether anything changed. That is the first thing anyone wants to know. - `retryLabel`: text, up to 40 characters. Default "Try again". - `showDetails`: true or false. Default true. - `detailsLabel`: text, up to 40 characters. Default "Technical detail". - `detailsText`: text, up to 200 characters. Default "GET /api/reports/2026-q1 — 504 Gateway Timeout after 30s". - `okText`: text, up to 100 characters. Default "Report loaded.". - `retrySucceeds`: true or false. Default true. Only the stand-in: turn it off to keep the failed state on screen. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#b42318". ## Maintenance notice (maintenance-notice, 1.4.0) Planned downtime, said properly. Page: https://build-components.devstash.me/maintenance-notice · Install: https://build-components.devstash.me/r/maintenance-notice.json - `heading`: text, up to 80 characters. Default "Planned maintenance". - `message`: text, up to 240 characters. Default "Saving will be turned off while we move the database. Anything already saved stays safe.". Say what will and will not work. "Scheduled maintenance" on its own tells nobody anything. - `startsAt`: text, up to 16 characters. Default "2026-10-04T22:00". As 2026-10-04T22:00. - `endsAt`: text, up to 16 characters. Default "2026-10-05T02:00". As 2026-10-05T02:00. - `tone`: one of planned, warning. Default "planned". - `linkLabel`: text, up to 60 characters. Default "What this affects". Leave it empty for no link. - `linkHref`: text, up to 300 characters, a link (http, https, a path or #). Default "https://build-components.devstash.me/accessibility". http or https only. - `dismissible`: true or false. Default true. - `dismissLabel`: text, up to 60 characters. Default "Dismiss this notice". It shows ×; this is what it is called. - `remember`: true or false. Default true. - `storageKey`: text, up to 60 characters. Default "maintenance-2026-10-04". Change it for a new notice, or the old dismissal hides the new one. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#e6b24a". - `monthNames`: text, up to 240 characters. Default "January,February,March,April,May,June,July,August,September,October,November,December". The twelve months, January first, with commas between. - `momentText`: text, up to 60 characters. Default "{day} {month} at {time}". A start or end. {day}, {month} and {time} are filled in. - `windowText`: text, up to 80 characters. Default "{start} until {end}". The whole window. {start} and {end} are filled in. - `dismissedText`: text, up to 80 characters. Default "Notice dismissed.". Said after closing it. - `dismissedForeverText`: text, up to 120 characters. Default "Notice dismissed. It will not come back on this browser.". Said after closing it when it is remembered. ## Help hint (help-hint, 1.4.0) The help behind the question mark, done as a disclosure. Page: https://build-components.devstash.me/help-hint · Install: https://build-components.devstash.me/r/help-hint.json - `label`: text, up to 80 characters. Default "National Insurance number". - `shortHint`: text, up to 160 characters. Default "It is on your payslip, P60 or letters about tax.". Always visible. The help behind the button is the long version. - `buttonLabel`: text, up to 60 characters. Default "Help with this answer". Named in words. A lone question mark is not a name. - `helpTitle`: text, up to 60 characters. Default "Where to find it". - `helpText`: text, up to 400 characters. Default "Two letters, six digits and one more letter. It is printed on your payslip, on a P60, and on letters from HMRC about tax, pensions or benefits.". - `exampleText`: text, up to 100 characters. Default "For example, QQ 12 34 56 C". Leave it empty for none. - `placeholder`: text, up to 60 characters. Default "". Usually leave it empty: a placeholder disappears as soon as anyone types. - `name`: text, up to 40 characters. Default "nino". - `startOpen`: true or false. Default false. Worth turning on when most people need the help. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". ## Changelog (changelog, 1.4.0) What changed, in an order a screen reader can count. Page: https://build-components.devstash.me/changelog · Install: https://build-components.devstash.me/r/changelog.json - `heading`: text, up to 80 characters. Default "What changed". - `headingLevel`: one of h2, h3. Default "h2". Each release gets the next level down. - `entries`: a JSON array of objects with version, date, kind, text. Default 6 items. Entries with the same version in a row become one release, grouped by kind. Newest first. - `showLatest`: true or false. Default true. - `latestLabel`: text, up to 20 characters. Default "Latest". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". - `monthNames`: text, up to 240 characters. Default "January,February,March,April,May,June,July,August,September,October,November,December". The twelve months, January first, with commas between. - `dateText`: text, up to 40 characters. Default "{day} {month} {year}". How a date is written. {day}, {month} and {year} are filled in. ## Notification list (notification-list, 1.4.0) An inbox where every button says what it acts on. Page: https://build-components.devstash.me/notification-list · Install: https://build-components.devstash.me/r/notification-list.json - `heading`: text, up to 60 characters. Default "Notifications". The unread count is added to it, inside the text. - `items`: a JSON array of objects with title, meta, unread. Default 5 items. Unread is yes or no. - `unreadWord`: text, up to 20 characters. Default "Unread". A word, because a coloured dot is not information. - `markOneLabel`: text, up to 40 characters. Default "Mark as read". The item's own words are added to its accessible name. - `markAllLabel`: text, up to 40 characters. Default "Mark all as read". - `allReadText`: text, up to 80 characters. Default "Nothing unread.". - `showCount`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `countText`: text, up to 40 characters. Default "{count} unread". Said after the heading and below the list. {count} is the number. ## List with row actions (row-actions, 1.3.0) Rows of records, each with actions that say what they act on. Page: https://build-components.devstash.me/row-actions · Install: https://build-components.devstash.me/r/row-actions.json - `caption`: text, up to 80 characters. Default "Saved reports". - `nameHeader`: text, up to 40 characters. Default "Report". - `metaHeader`: text, up to 40 characters. Default "Last run". - `actionsHeader`: text, up to 40 characters. Default "Actions". An empty header cell leaves the column unexplained. - `records`: a JSON array of objects with name, meta. Default 3 items. - `actions`: a JSON array of objects with label, kind. Default 3 items. Kind is normal or danger. Each button is named with the row it belongs to. - `doneTemplate`: text, up to 80 characters. Default "{action} — {record}". {action} and {record} are filled in. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". ## Order tracker (order-tracker, 1.4.0) An order's progress, read out rather than drawn. Page: https://build-components.devstash.me/order-tracker · Install: https://build-components.devstash.me/r/order-tracker.json - `heading`: text, up to 80 characters. Default "Where your order is". - `reference`: text, up to 60 characters. Default "Order 4812-A". - `steps`: a JSON array of objects with label, detail, date. Default 5 items. Leave a date empty where there is not one yet. Do not invent one. - `currentStep`: a number from 1 to 12. Default 4. Counting from 1. - `currentWord`: text, up to 40 characters. Default "Happening now". - `doneWord`: text, up to 40 characters. Default "Done". - `todoWord`: text, up to 40 characters. Default "Still to come". - `layout`: one of vertical, horizontal. Default "vertical". Vertical reads better on a phone; horizontal fits a wide summary. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `monthNames`: text, up to 240 characters. Default "January,February,March,April,May,June,July,August,September,October,November,December". The twelve months, January first, with commas between. - `dateText`: text, up to 40 characters. Default "{day} {month} {year}". How a date is written. {day}, {month} and {year} are filled in. ## Invoice summary (invoice-summary, 1.4.0) Numbers that add up, and say what they are. Page: https://build-components.devstash.me/invoice-summary · Install: https://build-components.devstash.me/r/invoice-summary.json - `caption`: text, up to 80 characters. Default "Invoice 1042 — September". - `currency`: text, up to 4 characters. Default "£". - `items`: a JSON array of objects with description, quantity, unitPrice. Default 3 items. The amount per line and every total are worked out from these, never typed in. - `descriptionHeader`: text, up to 30 characters. Default "Item". - `quantityHeader`: text, up to 30 characters. Default "Qty". - `unitHeader`: text, up to 30 characters. Default "Unit". - `amountHeader`: text, up to 30 characters. Default "Amount". - `subtotalLabel`: text, up to 40 characters. Default "Subtotal". - `taxLabel`: text, up to 30 characters. Default "VAT". The rate is added to it, so the number is never unexplained. - `taxPercent`: a number from 0 to 100. Default 20. - `totalLabel`: text, up to 40 characters. Default "Total due". - `note`: text, up to 200 characters. Default "Payable within 30 days. Bank details are on the last page.". Leave it empty for none. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `taxRowText`: text, up to 80 characters. Default "{tax} at {percent}%". The tax row's label. {tax} is the tax's name, {percent} its rate. ## Article card (article-card, 1.4.0) A card that gives a screen reader one link, not two. Page: https://build-components.devstash.me/article-card · Install: https://build-components.devstash.me/r/article-card.json - `title`: text, up to 140 characters. Default "Why your focus ring keeps disappearing". The card's only link. There is deliberately no second "Read more". - `href`: text, up to 300 characters, a link (http, https, a path or #). Default "https://build-components.devstash.me/accessibility". http or https only. - `summary`: text, up to 300 characters. Default "Four ways a focus ring gets lost — overflow, outline:none, a sticky header and a transform — and what to do about each.". - `date`: text, up to 10 characters. Default "2026-09-12". As 2026-09-12. - `readingMinutes`: a number from 0 to 180. Default 7. Nought hides it. - `tags`: text, up to 160 characters. Default "Accessibility, CSS". Separated by commas. They are a list, not links. - `headingLevel`: one of h2, h3. Default "h2". A grid of cards usually sits under an h2, so these are h3. - `wholeCardClickable`: true or false. Default true. Adds an overlay over the card. It costs text selection inside it. - `showThumb`: true or false. Default true. - `thumbAlt`: text, up to 200 characters. Default "". Leave it empty when the picture is decoration. Filling it makes the slot an image with a name. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". - `monthNames`: text, up to 240 characters. Default "January,February,March,April,May,June,July,August,September,October,November,December". The twelve months, January first, with commas between. - `dateText`: text, up to 40 characters. Default "{day} {month} {year}". How a date is written. {day}, {month} and {year} are filled in. - `readText`: text, up to 40 characters. Default "{minutes} minute read". {minutes} is the number of minutes. ## Author byline (author-byline, 1.4.0) A byline that says published and updated. Page: https://build-components.devstash.me/author-byline · Install: https://build-components.devstash.me/r/author-byline.json - `name`: text, up to 80 characters. Default "Adesh Shukla". - `nameHref`: text, up to 300 characters, a link (http, https, a path or #). Default "https://devstash.me". http or https only. Leave it empty for no link. - `role`: text, up to 80 characters. Default "UI developer". Leave it empty for none. - `date`: text, up to 10 characters. Default "2026-09-12". As 2026-09-12. - `updatedDate`: text, up to 10 characters. Default "2026-09-24". Shown as well as the published date, not instead of it. Empty for none. - `readingMinutes`: a number from 0 to 180. Default 7. Nought hides it. - `showAvatar`: true or false. Default true. - `initials`: text, up to 3 characters. Default "". Leave it empty to take them from the name. - `layout`: one of row, stacked. Default "row". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". - `monthNames`: text, up to 240 characters. Default "January,February,March,April,May,June,July,August,September,October,November,December". The twelve months, January first, with commas between. - `dateText`: text, up to 40 characters. Default "{day} {month} {year}". How a date is written. {day}, {month} and {year} are filled in. - `byText`: text, up to 20 characters. Default "By". Shown before the name. - `publishedText`: text, up to 30 characters. Default "Published". Shown before the published date. - `updatedText`: text, up to 30 characters. Default "Updated". Shown before the updated date. - `readText`: text, up to 40 characters. Default "{minutes} minute read". {minutes} is the number of minutes. ## Image gallery (image-gallery, 1.3.0) Pictures with captions, and alt text taken seriously. Page: https://build-components.devstash.me/image-gallery · Install: https://build-components.devstash.me/r/image-gallery.json - `heading`: text, up to 80 characters. Default "Workshop, September". - `items`: a JSON array of objects with src, alt, caption. Default 4 items. No images ship with this part: set each src. Leave alt empty for a decorative picture — that is not the same as leaving it out. - `columns`: a number from 1 to 6. Default 2. - `aspect`: one of 4-3, 1-1, 16-9. Default "4-3". Set in CSS, so the space is reserved before the file arrives. - `showCaptions`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". ## Click-to-load video (video-embed, 1.4.0) An embed that costs nothing until it is asked for. Page: https://build-components.devstash.me/video-embed · Install: https://build-components.devstash.me/r/video-embed.json - `title`: text, up to 160 characters. Default "Building an accessible date picker, start to finish". Becomes the frame's title and part of the play button's name. - `embedUrl`: text, up to 300 characters, a link (http, https, a path or #). Default "". A YouTube or Vimeo link as you copy it, or any embed address. Empty is honest: nothing is invented, and pressing play says what is missing. - `watchUrl`: text, up to 300 characters, a link (http, https, a path or #). Default "". A direct link, so the video is reachable where the frame is blocked. Empty for none. - `providerName`: text, up to 40 characters. Default "the video host". Used in "Watch on …". - `posterSrc`: text, up to 300 characters, a link (http, https, a path or #). Default "". Empty draws a placeholder instead. No image ships with this part. - `playLabel`: text, up to 30 characters. Default "Play". The title is added to it, so the name is never just "Play". - `durationText`: text, up to 40 characters. Default "24 minutes". Empty hides it. - `privacyNote`: text, up to 200 characters. Default "Nothing is requested from the video host until you press play.". Empty for none. It disappears once the video is asked for. - `aspect`: one of 16-9, 4-3, 1-1. Default "16-9". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#b42318". ## Pull quote (pull-quote, 1.3.0) A quotation whose markup says who said it, correctly. Page: https://build-components.devstash.me/pull-quote · Install: https://build-components.devstash.me/r/pull-quote.json - `quote`: text, up to 400 characters. Default "The first thing a screen reader tells you about a button is its name. Almost nothing else about it matters as much.". - `attribution`: text, up to 80 characters. Default "Léonie Watson". Goes in the caption, never inside the quotation. - `source`: text, up to 120 characters. Default "Accessibility, from the ground up". The work, not the person. Leave it empty for none. - `sourceHref`: text, up to 300 characters, a link (http, https, a path or #). Default "". http or https only. Also becomes the blockquote's cite. - `showMarks`: true or false. Default true. Decoration: a blockquote is already announced as a quote. - `align`: one of left, centre. Default "left". Left keeps the accent rule; centred drops it. - `size`: one of large, huge. Default "large". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". ## Team grid (team-grid, 1.4.0) Who is on the team, without polluting the page outline. Page: https://build-components.devstash.me/team-grid · Install: https://build-components.devstash.me/r/team-grid.json - `heading`: text, up to 80 characters. Default "Who you will be working with". - `intro`: text, up to 200 characters. Default "Four of us, one time zone, no account managers.". Leave it empty for none. - `people`: a JSON array of objects with name, role, href. Default 4 items. No names ship with this part. Put your own in, and ask each person first. - `columns`: a number from 1 to 5. Default 2. - `showInitials`: true or false. Default true. - `smallScreens`: one of auto, slider, grid. Default "auto". Auto: a slider once there are more than 4, a grid with fewer. A slider swipes, and has buttons and dots if you want them. - `sliderUpTo`: one of phone, tablet. Default "phone". Phones only, or tablets too. - `sliderCards`: one of peek, one, two. Default "peek". One with the next peeking in, exactly one, or two side by side. - `sliderButtons`: true or false. Default true. - `sliderDots`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `previousLabel`: text, up to 40 characters. Default "Previous slide". Read out; the button shows an arrow. - `nextLabel`: text, up to 40 characters. Default "Next slide". Read out; the button shows an arrow. - `slideText`: text, up to 60 characters. Default "Slide {index} of {total}". Under the slider. {index} is the card at the start, {total} how many there are. ## Logo wall (logo-wall, 1.4.0) A row of names, said properly. Page: https://build-components.devstash.me/logo-wall · Install: https://build-components.devstash.me/r/logo-wall.json - `heading`: text, up to 80 characters. Default "Built with". "Built with" is a claim about you. "Trusted by" is a claim about someone else. - `headingLevel`: one of h2, h3, p. Default "h2". Use p for a quiet label that is not part of the page's outline. - `items`: a JSON array of objects with name, href, src. Default 6 items. No images ship with this part: with no source, the name is set as a wordmark. alt is always the name, never the word "logo". - `columns`: a number from 1 to 8. Default 3. - `grayscale`: true or false. Default false. Only applies to images, and only to how they look. - `smallScreens`: one of auto, slider, grid. Default "auto". Auto: a slider once there are more than 4, a grid with fewer. A slider swipes, and has buttons and dots if you want them. - `sliderUpTo`: one of phone, tablet. Default "phone". Phones only, or tablets too. - `sliderCards`: one of peek, one, two. Default "peek". One with the next peeking in, exactly one, or two side by side. - `sliderButtons`: true or false. Default true. - `sliderDots`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#7c3aed". - `previousLabel`: text, up to 40 characters. Default "Previous slide". Read out; the button shows an arrow. - `nextLabel`: text, up to 40 characters. Default "Next slide". Read out; the button shows an arrow. - `slideText`: text, up to 60 characters. Default "Slide {index} of {total}". Under the slider. {index} is the card at the start, {total} how many there are. ## Page header (page-header, 1.4.0) The top of an inside page, with the one h1 on it. Page: https://build-components.devstash.me/page-header · Install: https://build-components.devstash.me/r/page-header.json - `title`: text, up to 120 characters. Default "Accessibility statement". The page's one h1. It is also the last step of the trail. - `lede`: text, up to 300 characters. Default "What this site does about access, what it has been tested with, and what to do if something here gets in your way.". One sentence saying what the page is for. Leave it empty for none. - `showTrail`: true or false. Default true. - `crumbs`: a JSON array of objects with label, href. Default 2 items. The steps above this page. The current page is added at the end and is not a link. - `primaryLabel`: text, up to 40 characters. Default "Report a problem". Leave it empty for none. - `primaryHref`: text, up to 300 characters, a link (http, https, a path or #). Default "https://build-components.devstash.me/about". - `secondaryLabel`: text, up to 40 characters. Default "How it is tested". Leave it empty for none. - `secondaryHref`: text, up to 300 characters, a link (http, https, a path or #). Default "https://build-components.devstash.me/accessibility". - `metaLabel`: text, up to 40 characters. Default "Last reviewed". A bare date says nothing about what it is. - `metaValue`: text, up to 60 characters. Default "24 September 2026". Leave it empty for none. - `align`: one of left, centre. Default "left". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#1d4ed8". - `breadcrumbLabel`: text, up to 60 characters. Default "Breadcrumb". Names the trail of links, for screen readers. ## Split feature (split-feature, 1.4.0) A feature block that cannot be read back to front. Page: https://build-components.devstash.me/split-feature · Install: https://build-components.devstash.me/r/split-feature.json - `heading`: text, up to 120 characters. Default "Test the file you are going to ship". - `headingLevel`: one of h2, h3. Default "h2". - `body`: text, up to 300 characters. Default "The preview runs the exported code, not a mock-up of it. Change an option and the thing you will copy changes with it.". - `points`: a JSON array of objects with text. Default 3 items. - `linkLabel`: text, up to 60 characters. Default "See how it is tested". Leave it empty for none. - `linkHref`: text, up to 300 characters, a link (http, https, a path or #). Default "https://build-components.devstash.me/accessibility". - `mediaSide`: one of left, right. Default "right". Only the column changes: the words stay first in the source either way. - `mediaSrc`: text, up to 300 characters, a link (http, https, a path or #). Default "". Empty draws a panel instead. No image ships with this part. - `phoneMediaSrc`: text, up to 300 characters, a link (http, https, a path or #). Default "". A narrower crop for screens under 640px, as a . Empty: the picture above on every screen. - `mediaAlt`: text, up to 200 characters. Default "". Leave it empty when the picture is decoration. - `aspect`: one of 4-3, 1-1, 16-9. Default "4-3". - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". ## Stat comparison (stat-comparison, 1.4.0) A comparison that says on what terms. Page: https://build-components.devstash.me/stat-comparison · Install: https://build-components.devstash.me/r/stat-comparison.json - `caption`: text, up to 100 characters. Default "The two outputs, side by side". - `metricHeader`: text, up to 40 characters. Default "". Leave it empty for a blank corner; the markup still names it. - `leftHeader`: text, up to 60 characters. Default "React + Tailwind". - `rightHeader`: text, up to 60 characters. Default "HTML, CSS and JS". - `rows`: a JSON array of objects with metric, left, right, better. Default 5 items. Better is left, right or neither. Put real numbers here — an invented comparison is worse than none. - `showBetter`: true or false. Default true. - `betterWord`: text, up to 30 characters. Default "Better here". Said in words, because a tinted cell is not information. - `note`: text, up to 240 characters. Default "Better depends on the project. This is what differs, not which one you should pick.". Leave it empty for none. - `theme`: one of light, dark, system. Default "light". Light, dark, or follow the device. - `accentColor`: a colour as #rrggbb. Default "#0f766e". - `measureHeader`: text, up to 60 characters. Default "Measure". Read out for the empty corner cell when the visible heading is blank. ## Text section (text-section, 1.2.0) A heading and paragraphs at a reading width, with an optional link. Page: https://build-components.devstash.me/text-section · Install: https://build-components.devstash.me/r/text-section.json - `eyebrow`: text, up to 60 characters. Default "Why we built it". Not a heading, so it cannot break the page outline. Leave it empty for none. - `heading`: text, up to 120 characters. Default "Every project in one place". - `headingLevel`: one of h2, h3. Default "h2". H2 under the page's H1; H3 inside another section. - `body`: text, up to 2000 characters. Default "Small teams lose hours asking where things are. The latest file is in someone's inbox, the decision was in a meeting, and the task list lives in a spreadsheet nobody opens.\n\nNorthwind keeps the work, the files and the decisions together, so the answer is always one click away.". Leave a blank line between paragraphs. - `linkText`: text, up to 60 characters. Default "Read how it works". Leave it empty for no link. Say where it goes, not "click here". - `linkHref`: text, up to 300 characters, a link (http, https, a path or #). Default "/how-it-works". - `align`: one of left, centre. Default "left". Long text reads best aligned to the left. - `theme`: one of light, dark, system. Default "light". - `accentColor`: a colour as #rrggbb. Default "#2563eb". The line above the heading and the link, darkened if needed to stay readable. ## Picture (picture-section, 1.4.0) One picture, described, with an optional caption; a drawn placeholder until one is set. Page: https://build-components.devstash.me/picture-section · Install: https://build-components.devstash.me/r/picture-section.json - `imageSrc`: text, up to 300 characters, a link (http, https, a path or #). Default "". Its address. Empty draws a placeholder: no image ships with this part. - `phoneImageSrc`: text, up to 300 characters, a link (http, https, a path or #). Default "". A narrower crop for screens under 640px, as a . Empty: the picture above on every screen. - `alt`: text, up to 200 characters. Default "The team planning the week around one shared board". For anyone who cannot see it. Leave it empty only when the picture is decoration. - `caption`: text, up to 200 characters. Default "". Shown under the picture. Leave it empty for none. - `shape`: one of 16-9, 4-3, 21-9, 1-1. Default "16-9". - `frame`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". - `placeholderLabel`: text, up to 160 characters. Default "Picture to come". Read out on the empty frame when there is no alt text. ## Testimonials (testimonials, 1.3.0) Quotations from real people, as a list of figures; placeholders until they are real. Page: https://build-components.devstash.me/testimonials · Install: https://build-components.devstash.me/r/testimonials.json - `heading`: text, up to 120 characters. Default "What people say". - `headingLevel`: one of h2, h3. Default "h2". - `intro`: text, up to 300 characters. Default "". Leave it empty for none. - `items`: a JSON array of objects with quote, name, role. Default 3 items. Real words from real people, used with their permission. A quote left empty is not shown. - `smallScreens`: one of auto, slider, grid. Default "auto". Auto: a slider once there are more than 4, a grid with fewer. A slider swipes, and has buttons and dots if you want them. - `sliderUpTo`: one of phone, tablet. Default "phone". Phones only, or tablets too. - `sliderCards`: one of peek, one, two. Default "peek". One with the next peeking in, exactly one, or two side by side. - `sliderButtons`: true or false. Default true. - `sliderDots`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". - `accentColor`: a colour as #rrggbb. Default "#2563eb". The quotation marks, darkened if needed to stay readable. - `previousLabel`: text, up to 40 characters. Default "Previous slide". Read out; the button shows an arrow. - `nextLabel`: text, up to 40 characters. Default "Next slide". Read out; the button shows an arrow. - `slideText`: text, up to 60 characters. Default "Slide {index} of {total}". Under the slider. {index} is the card at the start, {total} how many there are. ## Contact details (contact-details, 1.4.0) Email, phone, address and opening hours, each labelled, as one address block. Page: https://build-components.devstash.me/contact-details · Install: https://build-components.devstash.me/r/contact-details.json - `heading`: text, up to 120 characters. Default "Get in touch". - `headingLevel`: one of h2, h3. Default "h2". - `intro`: text, up to 300 characters. Default "Write, call or come by. We answer every message within two working days.". Leave it empty for none. - `email`: text, up to 120 characters. Default "hello@example.com". Becomes a link that opens a new message. Empty hides it. - `phone`: text, up to 40 characters. Default "+1 555 0100". Becomes a link that calls it on a phone. Empty hides it. - `address`: text, up to 300 characters. Default "[TODO: street and number]\n[TODO: town and postcode]". One line per line of the address. Empty hides it. - `hours`: text, up to 160 characters. Default "Monday to Friday, 9:00 to 17:00". Empty hides it. - `mapText`: text, up to 60 characters. Default "Open in a map". - `mapHref`: text, up to 300 characters, a link (http, https, a path or #). Default "". A link to your place on a map. Empty hides it. - `theme`: one of light, dark, system. Default "light". - `accentColor`: a colour as #rrggbb. Default "#2563eb". The links, darkened if needed to stay readable. - `emailTerm`: text, up to 30 characters. Default "Email". Names the email address. - `phoneTerm`: text, up to 30 characters. Default "Phone". Names the phone number. - `addressTerm`: text, up to 30 characters. Default "Address". Names the address. - `hoursTerm`: text, up to 40 characters. Default "Opening hours". Names the opening hours. ## Post list (post-list, 1.4.0) Blog posts as cards or a list: each an article whose title is a heading and a link. Page: https://build-components.devstash.me/post-list · Install: https://build-components.devstash.me/r/post-list.json - `heading`: text, up to 120 characters. Default "From the blog". - `headingLevel`: one of h2, h3. Default "h2". Each post's title sits one level under it. - `intro`: text, up to 300 characters. Default "". Leave it empty for none. - `posts`: a JSON array of objects with title, date, excerpt, href. Default 3 items. Newest first. Dates as YYYY-MM-DD; a post with no title is not shown. - `layout`: one of cards, list. Default "cards". - `showExcerpts`: true or false. Default true. - `smallScreens`: one of auto, slider, grid. Default "auto". Auto: a slider once there are more than 4, a grid with fewer. A slider swipes, and has buttons and dots if you want them. - `sliderUpTo`: one of phone, tablet. Default "phone". Phones only, or tablets too. - `sliderCards`: one of peek, one, two. Default "peek". One with the next peeking in, exactly one, or two side by side. - `sliderButtons`: true or false. Default true. - `sliderDots`: true or false. Default true. - `theme`: one of light, dark, system. Default "light". - `accentColor`: a colour as #rrggbb. Default "#2563eb". Titles as they are pointed at, and focus rings. - `monthNames`: text, up to 240 characters. Default "January,February,March,April,May,June,July,August,September,October,November,December". The twelve months, January first, with commas between. - `dateText`: text, up to 40 characters. Default "{day} {month} {year}". How a date is written. {day}, {month} and {year} are filled in. - `previousLabel`: text, up to 40 characters. Default "Previous slide". Read out; the button shows an arrow. - `nextLabel`: text, up to 40 characters. Default "Next slide". Read out; the button shows an arrow. - `slideText`: text, up to 60 characters. Default "Slide {index} of {total}". Under the slider. {index} is the card at the start, {total} how many there are. ## Announcement bar (announcement-bar, 1.3.0) One line of news across the top of every page, as a labelled landmark. Page: https://build-components.devstash.me/announcement-bar · Install: https://build-components.devstash.me/r/announcement-bar.json - `message`: text, up to 140 characters. Default "Shared boards are here: plan a week together.". One short line. - `linkText`: text, up to 40 characters. Default "See what is new". Leave it empty for no link. - `linkHref`: text, up to 300 characters, a link (http, https, a path or #). Default "/changelog". - `tone`: one of accent, dark, subtle. Default "accent". Your accent colour, near-black, or a quiet grey band. - `theme`: one of light, dark, system. Default "light". For the quiet look: light, dark, or the visitor's. - `accentColor`: a colour as #rrggbb. Default "#2563eb". Text on it is black or white, whichever reads. - `regionLabel`: text, up to 60 characters. Default "Announcement". Names the bar, for screen readers.