Skip to content

trc-ui 0.1.0

Choose a tag to compare

@aa404 aa404 released this 24 Oct 15:56
· 50 commits to main since this release

First public release.

  • Design tokens as CSS variables prefixed with --trc-, with a single themable accent color.
  • Typography: Heading with an accent word between asterisks, Text, AccentText, plainText, StepNumber.
  • Pill buttons: PillButton and PillLink, with the stretching dot, a compact size, a solid variant and a loading state.
  • Surfaces: Card (alt tone, interactive, watermark icon), Section (inset card), Container.
  • Forms: Field, Input, Textarea, Select, Checkbox, Switch, wired for screen readers.
  • Site chrome: SiteHeader (floating, dropdowns, accessible mobile panel) and SiteFooter.
  • Heroes: PageHero, HeroVideo (crossfading videos, soft parallax) and BackToTop.
  • ESM and CommonJS builds, TypeScript types, "use client" for the Next.js App Router.

Install

npm install trc-ui

trc-ui on npm