Overview
Wideset is the design system Widelab builds client products with. It ships
53 accessible React components, a token system with dark mode and rebranding through CSS
variables, and a Figma library the code matches.
- Two ways in. Install
@wideset/react and get fixes through semver, or copy a component's
source into your repo with the shadcn CLI and own it from then on.
- Sits next to your stack. Every token class carries a
ws prefix (p-ws-4,
bg-ws-dynamic-primary-default), so Wideset never overrides your Tailwind config or shadcn
theme.
- Rebrand without forking. A brand is a set of CSS variable overrides; components follow, in
light and dark.
- Composition over configuration. Components take subcomponents, not config props:
<Button>Continue<Button.Icon icon={RiArrowRightLine} /></Button>. Every part has a named
export, so React Server Components work.
- Ready for coding agents. Every docs page has a Markdown version and
/llms.txt, the registry
works with the shadcn MCP server, and Agent Skills teach Claude Code, Cursor and Codex which
component fits and what a finished screen looks like.
Getting started
Wideset needs React 18 or 19 (react and react-dom are peer dependencies). Icons come from
Remix Icon.
npm install @wideset/react @remixicon/react
# or
pnpm add @wideset/react @remixicon/react
Import the stylesheet once, at your app's entry point. Without Tailwind, add the reset too:
import '@wideset/react/styles';
import '@wideset/react/preflight'; // only if your app does not use Tailwind
Load a font and apply it (Wideset ships --font-ws-sans, Inter with a system fallback):
body {
font-family: var(--font-ws-sans);
}
Then use a component:
import { RiArrowRightLine } from '@remixicon/react';
import { Button } from '@wideset/react';
export function Continue() {
return (
<Button>
Continue
<Button.Icon icon={RiArrowRightLine} />
</Button>
);
}
The installation guide covers
Tailwind v4, Next.js and Server Components, and fonts; the
package README has the same in one page.
Copy the source instead
Wideset is also a shadcn registry, and the wideset CLI
copies components from it into your repo, under components/ui/wideset/:
npx wideset init
npx wideset add button
init sets up components.json, the @/* alias and the stylesheet; in a shadcn project it only
registers the @wideset namespace. The
CLI guide also shows how to call the
shadcn CLI yourself.
Working with AI
npx skills add widelab-co/wideset/packages/skills
installs four Agent Skills (setup, build, craft, review) for the agents you use. Docs as Markdown
(/llms.txt, /components/<name>.md), the shadcn MCP server and a rules block to paste are on
Working with AI.
Packages