Documentation

Getting started with wUI

Drop-in React components and full-screen blocks distributed as clean TSX + CSS Modules through a shadcn-compatible registry.

01

Add the @wui registry

Register the @wui namespace in your project's components.json so you can install any item by short name, or pass the full registry URL directly.

{
  "$schema": "https://ui.shadcn.com/schema.json",
  "registries": {
    "@wui": "https://wui.alann.works/r/{name}.json"
  }
}
02

Install foundation tokens

Every wUI component reads semantic OKLCH variables from foundation.css and spring presets from motion-tokens.ts. Installing any item pulls this in automatically, or install it upfront:

pnpm dlx shadcn@latest add https://wui.alann.works/r/arc-motion-tokens.json
03

Install components or blocks

Pick any primitive, chart, AI widget, or full-screen block from the catalog and add it directly into your repository:

pnpm dlx shadcn@latest add https://wui.alann.works/r/hero-split.json
04

Respect reduced motion

All Pro components check useReducedMotion(). Wrap your app root in <MotionConfig reducedMotion="user"> to honor OS-level accessibility preferences globally.

import { MotionConfig } from "motion/react";

export function Providers({ children }: { children: React.ReactNode }) {
  return <MotionConfig reducedMotion="user">{children}</MotionConfig>;
}
05

Use with AI coding agents

Point Hermes, Claude Code, Cursor, or omp at the machine-readable endpoints so your agent always knows the exact token names, props, and install commands:

curl -s https://wui.alann.works/llms.txt | head -n 40