One component library for every product.

Components come from @hello-aria/ui. Colours come from the token vocabulary and nothing else, so a tenant can rebrand the whole surface by setting ten values.

50 of 50 components built.

Principles

One implementation

Components live in packages/ui and are imported, never copied. A fix lands once and all three apps get it on the next build.

No style escape hatch

No component takes a className or style prop. A look the variants do not cover is a missing variant, not an app-local override.

Ten values, everything derived

A tenant sets a brand colour and nine other values. Hovers, borders and readable foregrounds are computed, so an unreadable theme cannot be built.

Inventory

Generated from the same list the sidebar reads, so the two cannot disagree.

Actions

  • ButtonThe control that runs an actionBuilt
  • Copy buttonPuts a value on the clipboardBuilt
  • Copy underlineCopyable text that does not open the row it sits inBuilt

Table

  • Data tableRows of records, with the list-screen parts decidedBuilt
  • Table primitivesThe markup a table is made of, composed by handBuilt

Forms

  • FieldLabel, hint, error, and the wiring between themBuilt
  • InputOne line of textBuilt
  • TextareaSeveral lines of textBuilt
  • SelectOne value from a short listBuilt
  • ComboboxA field that filters a list as you typeBuilt
  • CheckboxOne yes-or-no choice inside a formBuilt
  • Radio groupExactly one choice, every option visibleBuilt
  • File uploadDrag and drop, or browseBuilt
  • SwitchA setting that takes effect immediatelyBuilt
  • Search inputA field that filters something elseBuilt
  • Number inputA number, against a locale you declareBuilt
  • Amount inputA number of money, written the way the locale writes itBuilt
  • Password inputA password, with a named reveal toggleBuilt
  • Phone inputA country and a number, stored as one E.164 valueBuilt
  • DatepickerReads the locale's own field order, and refuses 31 FebruaryBuilt
  • CalendarThe month grid on its ownBuilt

Overlays

  • DialogInterrupts the page until the user answersBuilt
  • Confirm dialogOne question worth stopping to confirmBuilt
  • DrawerA panel from the side, beside the listBuilt
  • Dropdown menuA list of actions on one thingBuilt
  • PopoverA panel anchored to the control that opened itBuilt
  • TooltipA short label for something already on screenBuilt

Content

  • BadgeA short label for the state of a recordBuilt
  • CardA surface that groups related contentBuilt
  • KbdA key to press, drawn as a chipBuilt
  • SeparatorA rule between two thingsBuilt
  • LinkText that goes somewhereBuilt
  • Data listLabel and value pairs, for a detail viewBuilt
  • File viewerHand it a file, it works out how to show itBuilt
  • JSON viewerA parsed JSON value, coloured by type and foldableBuilt
  • AvatarA person or a company, as a markBuilt

Icons

  • IconAny icon, in the system size and tone scaleBuilt

Typography

  • ParagraphBody text, with a tone and a weightBuilt
  • TitleA heading, with the level separate from the sizeBuilt
  • CodeA machine value, inline or as a blockBuilt

Feedback

  • BannerA message that stays until it is dealt withBuilt
  • SkeletonPlaceholders shaped like the content comingBuilt
  • Empty stateA surface that loaded and holds nothingBuilt
  • ProgressHow far along something isBuilt
  • SpinnerBusy, with no known totalBuilt
  • ToastA message that appears, is announced, and leavesBuilt

Navigation

  • BreadcrumbsThe trail above the current pageBuilt
  • Tab navLinks that look like tabs, for changing pageBuilt
  • TabsSwaps a panel in place, inside one pageBuilt

Layout

  • App shellThe navigation column, the header bar and the pageBuilt