Use when building or refactoring functional React/Vite/Tailwind UI pages, templates, or component libraries that need consistent structure, tokenized styling, accessibility checks, and...
Provide a lightweight, repeatable workflow for functional React/Vite/Tailwind UI using structure, tokens, accessibility, and performance-ready patterns plus reusable snippets.
If the repo contains docs/skills/frontend-ui-functional/project-overlay.md, read and apply it before starting. Project-specific rules override this skill.
frontend-design skill).docs/skills/frontend-ui-functional/project-overlay.md (if present)references/atomic-design.mdreferences/styling-tokens.mdreferences/a11y-checklist.mdreferences/perf-and-state.mdreferences/tooling.mdIf time is tight, do a thin pass of each step rather than skipping a11y/perf.
| Need | Use |
|---|---|
| Project overlay | docs/skills/frontend-ui-functional/project-overlay.md (if present) |
| Structure system | references/atomic-design.md |
| Tokenized styling | references/styling-tokens.md |
| Accessibility/a11y | references/a11y-checklist.md |
| Performance + state | references/perf-and-state.md |
| QA tooling | references/tooling.md |
| Reusable UI snippets | assets/snippets/* |
assets/snippets/button.tsxassets/snippets/card.tsxassets/snippets/form.tsxassets/snippets/layout.tsxassets/snippets/lazy-route.tsxassets/snippets/zustand-store.tsNote: replace literal strings with your project's copy/content source when applicable.
import { Button } from "./button";
import { Card } from "./card";
import { PageLayout } from "./layout";
export function DashboardStub() {
return (
<PageLayout title="Overview" actions={<Button label="Create" />}>
<div className="grid gap-4 md:grid-cols-2">
<Card title="Revenue" description="Last 30 days">
<div className="text-2xl font-semibold text-primary">$128,400</div>
</Card>
<Card title="Active Users" description="Daily active">
<div className="text-2xl font-semibold text-primary">4,812</div>
</Card>
</div>
</PageLayout>
);
}
references/styling-tokens.md.