Shadcn Tailwind UI
LiarMTTT/TavernWeave
Build, restyle, or review accessible React interfaces that use shadcn/ui, Radix UI primitives, and Tailwind CSS.
Builds responsive, accessible Chakra UI v3 components and layouts, sets up Chakra in new or existing projects, and designs themes with tokens, semantic tokens and recipes.
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-builder -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install chakra-ui/chakra-ui chakra-ui-builder --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/chakra-ui-builder .claude/skills/chakra-ui-builder && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "chakra-ui-builder" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-builder into .claude/skills/chakra-ui-builder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-builder", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-builderType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-builder -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install chakra-ui/chakra-ui chakra-ui-builder --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/chakra-ui-builder .agents/skills/chakra-ui-builder && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "chakra-ui-builder" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-builder into .agents/skills/chakra-ui-builder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-builder", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-builder -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install chakra-ui/chakra-ui chakra-ui-builder --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/chakra-ui-builder .cursor/skills/chakra-ui-builder && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "chakra-ui-builder" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-builder into .cursor/skills/chakra-ui-builder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-builder", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/chakra-ui/chakra-ui.git --path skills/chakra-ui-builder--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-builder -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install chakra-ui/chakra-ui chakra-ui-builder --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/chakra-ui-builder .gemini/skills/chakra-ui-builder && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "chakra-ui-builder" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-builder into .gemini/skills/chakra-ui-builder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-builder", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install chakra-ui/chakra-ui chakra-ui-builderInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-builder -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/chakra-ui-builder .github/skills/chakra-ui-builder && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "chakra-ui-builder" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-builder into .github/skills/chakra-ui-builder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-builder", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-builder -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install chakra-ui/chakra-ui chakra-ui-builder --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/chakra-ui-builder .opencode/skills/chakra-ui-builder && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "chakra-ui-builder" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-builder into .opencode/skills/chakra-ui-builder/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-builder", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
chakra-ui-builderBuilds responsive, accessible Chakra UI v3 components and layouts, sets up Chakra in new or existing projects, and designs themes with tokens, semantic tokens and recipes.
The agent starts by reading the project context in package.json: the Chakra version, with v3 patterns used unless the project is on v2, the framework (Next.js App Router or Pages Router, Vite or plain React), TypeScript or JavaScript, and the package manager as shown by the lockfile. It also glances at existing components to match their naming and file structure, and asks before building when requirements are vague or the choices matter.
Setup covers installing @chakra-ui/react and @emotion/react, then adding snippets with npx @chakra-ui/cli snippet add, which brings in the provider, toaster and tooltip and installs dependencies such as next-themes. The provider is wired into app/layout.tsx or pages/_app.tsx depending on the framework, with the hydration warning handled, and the CLI writes files to a framework-specific components/ui folder.
Building and theming topics include pages, forms, dashboards, navbars, cards, landing sections and pricing tables, plus color mode, brand colors, tokens, semantic tokens, recipes, slot recipes, typegen and ejecting the default theme. Reference notes cover charts, a component decision tree and theming.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f799e4d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmpnpmyarnbunnpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, pnpm, yarn and npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Chakra UI v3 Builder loads about 3.1k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 245 tokens; SKILL.md has 1,079 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from chakra-ui/chakra-ui at commit f799e4d, republished under its MIT licence (© chakra-ui). 1,079 words, ~3,081 tokens.
.claude/skills/chakra-ui-builder/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.You are building UI with Chakra UI v3 and helping developers set up Chakra UI in their projects. Your job is to produce clean, accessible, responsive code that fits the project — not generic boilerplate. Read the project context first, then build or set up.
Check package.json if available. Look for:
pnpm-lock.yaml, yarn.lock, bun.lock,
package-lock.json)Also glance at existing components if the user references them, so your code matches the conventions already in use (naming, file structure, import style).
If the requirements are vague or the component is complex enough that choices matter (layout direction, data shape, color palette, number of variants), ask before building rather than generating something that needs to be thrown away.
If Chakra UI isn't installed yet, complete setup before building.
# npm
npm install @chakra-ui/react @emotion/react
# pnpm
pnpm add @chakra-ui/react @emotion/react
# yarn
yarn add @chakra-ui/react @emotion/react
# bun
bun add @chakra-ui/react @emotion/reactnpx @chakra-ui/cli snippet addWith no arguments this adds the recommended set — provider, toaster, and
tooltip — and automatically installs required dependencies (including
next-themes). Use --all to add every snippet, or snippet list to browse
first.
The CLI detects your framework and writes files to the right place:
| Framework | Output path |
|---|---|
Next.js (with src/) | src/components/ui/ |
Next.js (no src/) | components/ui/ |
| Vite / plain React | src/components/ui/ |
| Remix | app/components/ui/ |
Next.js App Router (app/layout.tsx):
import { Provider } from "@/components/ui/provider"
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en" suppressHydrationWarning>
<body>
<Provider>{children}</Provider>
</body>
</html>
)
}suppressHydrationWarning prevents a mismatch caused by next-themes injecting
the color-mode class. Do not add "use client" to layout.tsx — the
generated provider file already has it.
Next.js Pages Router (pages/_app.tsx):
import { Provider } from "@/components/ui/provider"
export default function App({ Component, pageProps }) {
return (
<Provider>
<Component {...pageProps} />
</Provider>
)
}Vite (src/main.tsx):
import { Provider } from "./components/ui/provider"
createRoot(document.getElementById("root")!).render(
<StrictMode>
<Provider>
<App />
</Provider>
</StrictMode>,
)If the CLI fails, create components/ui/provider.tsx manually and install
next-themes separately:
"use client"
import { ChakraProvider, defaultSystem } from "@chakra-ui/react"
import { ThemeProvider } from "next-themes"
export function Provider({ children }: { children: React.ReactNode }) {
return (
<ChakraProvider value={defaultSystem}>
<ThemeProvider attribute="class" disableTransitionOnChange>
{children}
</ThemeProvider>
</ChakraProvider>
)
}<Provider>. Check the import
path and that Provider wraps the component tree.suppressHydrationWarning to <html> in App
Router.next-themes not found — install it: npm install next-themes (only
needed for the manual fallback; the CLI handles it automatically).extendTheme not exported — this is a v2 pattern. Use createSystem in
v3.Reach for the right Chakra primitive rather than wrapping everything in Box:
| Need | Use |
|---|---|
| Vertical stack of items | Stack (default) or VStack |
| Horizontal row | HStack or Flex |
| CSS Grid | Grid + GridItem |
| Equal-column grid | SimpleGrid columns={N} |
| Centered page content | Container maxW="container.lg" |
| Full flexbox control | Flex with explicit props |
| Semantic section/article | Box as="section" / Box as="article" |
Avoid deep nesting. If you're three Box levels deep with no semantic reason,
flatten it. Prefer gap over margin between siblings.
Chakra v3 ships semantic tokens that automatically adapt to light/dark mode. Prefer them over hard-coded palette values — they make the component theme-aware without any extra work.
// Prefer semantic tokens
<Box bg="bg.subtle" color="fg.default" borderColor="border.subtle" />
<Text color="fg.muted" />
<Box shadow="md" rounded="lg" />
// Use colorPalette for interactive components (not colorScheme)
<Button colorPalette="blue">Submit</Button>
<Badge colorPalette="green">Active</Badge>Use raw palette values (blue.500, gray.100) only when a specific color is
intentional and should not shift with color mode.
Chakra uses mobile-first breakpoints. Use array or object syntax consistently:
// Array: [base, sm, md, lg, xl]
<Box px={[4, 6, 8]} fontSize={["sm", "md", "lg"]} />
// Object: explicit breakpoints
<SimpleGrid columns={{ base: 1, md: 2, lg: 3 }} gap={6} />
<Stack direction={{ base: "column", md: "row" }} gap={4} />Every layout component should handle at least base (mobile) and md (desktop)
breakpoints unless the request is explicitly desktop-only.
Use Field.Root for all form fields — it wires up label, input, error, and help
text correctly:
<Field.Root invalid={!!error} required>
<Field.Label>Email address</Field.Label>
<Input type="email" placeholder="you@example.com" />
<Field.ErrorText>{error}</Field.ErrorText>
<Field.HelpText>We'll never share your email.</Field.HelpText>
</Field.Root>For form submission state, use disabled (not isDisabled) on inputs and
buttons. Group related fields in a Stack gap={4}.
Chakra's built-in components handle most accessibility automatically — don't override it. The things you do need to provide:
aria-label<IconButton aria-label="Close dialog" icon={<CloseIcon />} />alt text (or alt="" for decorative)Field.Label or ensure htmlFor matches the input idonClick on a
Box, use as="button" or an actual <button> so keyboard navigation worksh1–h6 hierarchy; don't skip levels"use client"In Next.js App Router, Server Components are the default. Add "use client"
only to files that need it — not to entire layouts or pages.
A component needs "use client" when it:
useState, useEffect, useContext, etc.)onClick with state, form submission, etc.)// Server Component — no directive needed
export default function ProductCard({ name, price }: Props) {
return (
<Box p={4} borderWidth={1} rounded="md">
<Text fontWeight="bold">{name}</Text>
<Text color="fg.muted">{price}</Text>
</Box>
)
}
// Client Component — needs the directive
;("use client")
export function AddToCartButton({ productId }: { productId: string }) {
const [added, setAdded] = useState(false)
return (
<Button onClick={() => setAdded(true)} colorPalette="blue">
{added ? "Added!" : "Add to cart"}
</Button>
)
}The goal is to push interactivity to the leaves — keep as much of the tree as Server Components as possible.
Extract a component when the same structure appears more than twice, or when a piece is complex enough that naming it makes the parent clearer.
Suggest a recipe when a component has meaningful style variants that a developer would want to customize. Suggest a slot recipe for components with multiple coordinated parts (card with header/body/footer, stat with label/value/icon, etc.).
For deeper theming work — defining brand color tokens, semantic tokens with dark
mode values, full recipe/slot-recipe authoring, typegen, or ejecting the default
theme — read references/theming.md before responding. It covers the complete
defineConfig / createSystem API with full examples.
For any chart request — bar charts, area charts, line charts, pie/donut charts,
BarList, BarSegment, or anything involving @chakra-ui/charts — read
references/charts.md before responding. It covers the useChart hook, all
three chart types, Recharts integration, color tokens, and complete runnable
examples.
When you're unsure which component to use, or the user hasn't specified one,
read references/component-decision-tree.md. It covers every Chakra component
with guidance on when to choose one over a similar alternative.
Produce:
TODO or
...rest of componentbase and md breakpoints for layout// Good import style
import { Box, Button, Field, Stack, Text } from "@chakra-ui/react"
// Then local
import { SomeLocalComponent } from "./SomeLocalComponent"Build immediately if the request is clear enough to produce something useful. Ask first when:
When in doubt, state your assumptions at the top of the response and build — it's faster for the user to redirect from something concrete than from nothing.
© chakra-ui, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in skills/chakra-ui-builder of chakra-ui/chakra-ui.
Open the folder on GitHubat commit f799e4d
Chakra UI v3 Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Chakra UI v3 Builder this skillchakra-ui/chakra-ui | 41k | — | ~3.1k | Automated safety check: Pass | MIT | |
| Shadcn Tailwind UILiarMTTT/TavernWeave | 150 | — | ~1.7k | Automated safety check: Pass | Custom licence | |
| UI Design Systemtry-works/role-model | 118 | — | ~5k | Automated safety check: Pass | MIT | |
| Tailwind V4 Shadcnsecondsky/claude-skills | 227 | — | ~4k | Automated safety check: Pass | MIT | |
| Creative Tim UI Blockscreativetimofficial/ui | 12k | — | ~2.1k | Automated safety check: Notes | MIT | |
| Tailwind V4 Shadcnever-works/ever-works | 158 | 2 repos | ~3.8k | Automated safety check: Pass | MIT |
LiarMTTT/TavernWeave
Build, restyle, or review accessible React interfaces that use shadcn/ui, Radix UI primitives, and Tailwind CSS.
try-works/role-model
React UI component systems with TailwindCSS + Radix + shadcn/ui.
secondsky/claude-skills
| Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.
creativetimofficial/ui
Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.
ever-works/ever-works
Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.
google-labs-code/stitch-skills
Turns Stitch screens into a React, Vite and TypeScript dashboard with TanStack Query data fetching, DESIGN.md tokens as CSS variables and optional read-only Web3 data.
chakra-ui/chakra-ui
Guides an upgrade from Chakra UI v2 to v3: inspect the project, swap packages, run the official codemod, then fix provider, color mode, props, theming and Next.js code.
chakra-ui/chakra-ui
Reviews and converts UI code to Chakra UI v3, producing a critique, rewritten code or both, from plain HTML, Tailwind, CSS Modules or styled-components.
Categories
Builds responsive, accessible Chakra UI v3 components and layouts, sets up Chakra in new or existing projects, and designs themes with tokens, semantic tokens and recipes. js App Router or Pages Router, Vite or plain React), TypeScript or JavaScript, and the package manager as shown by the lockfile. It also glances at existing components to match their naming and file structure, and asks before building when requirements are vague or the choices matter.
Chakra UI v3 Builder fits situations like: building a form, dashboard, navbar or pricing table with Chakra UI; adding Chakra UI to a Next.js or Vite project; defining brand colors, tokens and dark mode values; creating recipes or slot recipes for reusable component styles.
Run `npx skills add chakra-ui/chakra-ui --skill chakra-ui-builder -a claude-code`. Or copy the skill folder (skills/chakra-ui-builder in chakra-ui/chakra-ui) into .claude/skills/chakra-ui-builder in your project. Claude Code loads it when a task matches its description.
Run `npx skills add chakra-ui/chakra-ui --skill chakra-ui-builder -a codex`. Or copy the skill folder (skills/chakra-ui-builder in chakra-ui/chakra-ui) into .agents/skills/chakra-ui-builder in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add chakra-ui/chakra-ui --skill chakra-ui-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chakra-ui-builder, .gemini/skills/chakra-ui-builder, .github/skills/chakra-ui-builder and .opencode/skills/chakra-ui-builder in your project.
Going by SKILL.md and its folder, Chakra UI v3 Builder needs the command-line tools its instructions call (npm, pnpm, yarn, bun and npx). Our summary lists: A React project with Node.js and a package manager; The @chakra-ui/react and @emotion/react packages.
SKILL.md contains no URLs. Its commands use npm and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Chakra UI v3 Builder is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Chakra UI v3 Builder: Shadcn Tailwind UI (LiarMTTT/TavernWeave, 150 stars), UI Design System (try-works/role-model, 118 stars), Tailwind V4 Shadcn (secondsky/claude-skills, 227 stars) and Creative Tim UI Blocks (creativetimofficial/ui, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
chakra-ui (a GitHub organization) maintains it in chakra-ui/chakra-ui, which has 40,676 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 2026.
Source: chakra-ui/chakra-ui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.