Skip to main content
v1.0.0 StableReact 19Base UITailwind CSS 4TypeScript ESMMIT License

Accessible React 19 UI, built for real applications.

@primecoderin/fast-ui-react pairs Base UI accessibility with Tailwind CSS 4 static tokens — 128 components and patterns, forms, charts, rich text editing, Light/Dark/RTL testing, runtime multi-tenant branding, and built-in MCP + llms.txt docs.

npm install @primecoderin/fast-ui-react

Needs React 19 (react & react-dom) and nothing else. Optional entries stay tree-shaken until imported.

  • 128Components & patternsForms, tables, overlays, charts & editor
  • 5Modular entriesOptional peers only when imported
  • 0 BCSS-in-JS runtimeStatic stylesheet + CSS variables
  • 3×Automated a11y matrixAxe-tested Light, Dark & RTL + SSR
Interactive Preview

Built with itself — try theming, Dark mode & RTL live

Every control below is rendered directly from @primecoderin/fast-ui-react. Pick a tenant brand colour, switch themes, or mirror to RTL to see CSS tokens update instantaneously.

Live Runtime Controls

Every switch updates the entire page through DesignSystemProvider — no rebuild.

LightDark
LTRRTL
Tenant brand:
<DesignSystemProvider themeMode="light" direction="ltr">

Forms, Sliders & Overlays

Interactive

Valid workspace identifier

Try clearing to under 3 characters to preview inline validation.

Primary role
Rollout percentage72%
Developer experience

Theme-Reactive Charts & Tables

Series 1 follows --fast-primary-large; screen readers receive the data table.

/charts + DataTable
Monthly active screens and deployments
MonthActive screensDeployments
Jan420140
Feb540190
Mar610230
Apr780310
May890365
Jun1040440
Status
Solstice CRM
Priya Nair
62Pending
Acme Billing
Maya Lin
48Active
Northwind Ops
Omar Farouk
36In review
Kestrel Risk
Lucas Meyer
29Alert
Zero runtime CSS-in-JSStatic stylesheet with instant dark mode and tenant tokens.
Logical RTL layoutFlip LTR/RTL above to see spacing, icons, and tables mirror.
Why fast-ui-react

Designed for production business apps

Sensible defaults from Base UI, strict token discipline in Tailwind CSS 4, and zero hidden copy — so teams ship consistent interfaces faster.

Accessible by Construction

Built on Base UI primitives with WCAG AA contrast tokens. Every story runs axe checks in Light, Dark, and RTL alongside real keyboard tests.

Runtime Multi-Tenant Branding

One createTheme() call updates primary ramps, tints, focus rings, fonts, radii, and chart colours at runtime — per app or per tenant, with CSP nonce support.

Zero Built-in Copy & Native RTL

Components hold no hard-coded strings — every label arrives through props for any i18n library, and CSS logical utilities mirror layouts automatically.

Zero CSS-in-JS Runtime

Import one static styles.css (bundled Inter variable font included) with zero Tailwind setup, or import foundation.css into an existing Tailwind CSS 4 app.

Five Modular Entry Points

Optional peers stay isolated: react-hook-form (/forms), Recharts (/charts), and TipTap (/editor) are never pulled into the main bundle.

React 19 & Next.js Ready

ESM-only, compiled with the React Compiler, explicit "use client" boundaries for Server Components, and SSR + Chromium hydration verified.

Built for AI Coding Assistants

Ships llms.txt, llms-full.txt, and an offline MCP server (@primecoderin/fast-ui-react-mcp) generated directly from source types and doc comments.

Quick Start & Architecture

Three lines to start, modular entries to scale

Drop in the prebuilt stylesheet if you don't use Tailwind, or wire foundation.css directly into your Tailwind CSS 4 pipeline.

Setup Examples

// 1. Import the ready-made stylesheet once at your app entry.
import "@primecoderin/fast-ui-react/styles.css";

// 2. Wrap your app in DesignSystemProvider (theme, direction, branding, toasts).
import { Button, DesignSystemProvider, TextField } from "@primecoderin/fast-ui-react";
import { useState } from "react";

export function App() {
  const [name, setName] = useState("");
  return (
    <DesignSystemProvider themeMode="light" direction="ltr">
      <TextField label="Workspace name" value={name} onValueChange={setName} />
      <Button variant="primary">Create workspace</Button>
    </DesignSystemProvider>
  );
}

Package Entries & Stylesheets

ESM only
ImportIncludesOptional peers
@primecoderin/fast-ui-reactCore components, patterns, plain form fields, runtime theming & tokensNone (React 19 only)
@primecoderin/fast-ui-react/formsTyped Form*Field components bound to react-hook-formreact-hook-form
@primecoderin/fast-ui-react/chartsTheme-aware Line, Area, Bar, Donut, Gauge charts & Sparklinerecharts
@primecoderin/fast-ui-react/editorAccessible RichTextEditor with toolbar and formatting controls@tiptap/core, pm, react, starter-kit
@primecoderin/fast-ui-react/editor-formsFormRichTextField combining the editor with react-hook-formTipTap packages + react-hook-form
@primecoderin/fast-ui-react/styles.cssReady-made minified stylesheet with Inter font, tokens & classesNone (no Tailwind needed)
@primecoderin/fast-ui-react/foundation.cssUnprocessed tokens, font & base rules for apps running Tailwind CSS 4None (Tailwind 4 in app)
Complete Component Library

128 components, patterns & guides

Jump straight to any component's interactive Storybook page with live props controls, keyboard specs, and copyable code.

Browse all in Storybook

Forms & Inputs

Plain + Form* twins

Controlled inputs for any state manager, plus react-hook-form twins under /forms.

Dates & Time

Locale-ready

Keyboard-accessible calendars, range selection, and date-time pickers with custom labels.

Overlays & Popups

Focus-managed

Dialogs, drawers, menus, command palettes, and guided tours powered by Base UI portals.

Data Display

Tables, trees & stats

Sortable, selectable, expandable tables alongside structured cards, stats, and timelines.

Layout & Navigation

RTL-mirrored

Application framing, collapsible sidebars, resizable split panes, tabs, and steppers.

Feedback & Actions

Live-region safe

Buttons, segmented controls, live alerts, toasts, loading indicators, and empty states.

Charts (/charts)

Screen-reader tables

Recharts wrappers that inherit --fast-chart-* tokens and expose an accessible data table.

Rich Content & Editor

TipTap under /editor

Full rich-text editing isolated to /editor, plus copyable code snippets and key caps.

Foundations & Guides

21 docs pages

Every design token, colour ramp, icon, architecture note, and Playwright testing guide.

AI-Native Documentation

Built for Claude Code, Cursor, Copilot & Windsurf

Keep coding assistants grounded in exact props, tokens, and tested stories — generated straight from the TypeScript compiler so docs never drift.

One-Command MCP Setup

@primecoderin/fast-ui-react-mcp
claude mcp add fast-ui -- npx -y @primecoderin/fast-ui-react-mcp

Read-Only Offline MCP Tools

Zero API keys, runs locally via npx.

  • get_overviewInstall, setup, and entry guide
  • list_exportsAll components, hooks, functions & types
  • get_exportFull props table, types, defaults & JSDoc
  • get_examplesTested Storybook usage for any component
  • list_tokensEvery --fast-* token with light/dark/RTL values
  • list_guides / get_guide21 guides covering Next.js, theming, forms & a11y
  • search_docsKeyword search across exports, tokens & guides
Honest Trade-Offs

Who it's for & how it compares

Clear boundaries help you pick the right tool before installing.

Great fit for

  • Business applications — dashboards, admin panels, and back offices with rich forms, tables, pickers, dialogs, and charts.
  • Multi-tenant & white-label products — change brand colours, fonts, and radii at runtime with a single createTheme() call.
  • Global & RTL apps — zero hard-coded strings and every component verified in right-to-left mode.
  • Teams with or without Tailwind — use styles.css standalone or foundation.css in Tailwind 4.

Not a fit for & browser floor

  • Non-React stacks — built exclusively for React 19 (not Vue, Svelte, or Angular).
  • Copy-paste source ownership — ships as a versioned npm package rather than scaffolding source into your repo.
  • Enterprise spreadsheet grids or schedulers today — tracked on the roadmap.
Browser support: Chrome 111+, Edge, Safari 16.4+, and Firefox 128+ (Tailwind CSS 4 baseline). Automated browser & axe suites run in Chromium.
Compared toHow fast-ui-react differs
shadcn/uishadcn/ui copies component source into your repo for you to own and maintain. fast-ui-react is a versioned package you upgrade, with one cohesive token system across all 128 components.
MUI & Chakra UIStyle through a CSS-in-JS runtime (Emotion) by default. fast-ui-react ships static CSS on Tailwind CSS 4 with zero runtime style engine.
MantineClosest in breadth (forms, dates, charts, editor). Mantine has a larger ecosystem and hook set; fast-ui-react is built on Tailwind CSS 4 + Base UI and automatically tests every story in Light, Dark, and RTL.
HeroUI & Radix ThemesAlso Tailwind-era libraries using React Aria or Radix primitives; fast-ui-react builds on Base UI with zero built-in text and runtime multi-tenant theming.
Interactive Documentation

Ready to explore every component in action?

Inspect all 128 components and 21 guides in Storybook — toggle light, dark, and RTL right in the toolbar.