chakra-ui-builder

Build responsive, accessible UI components and themes using Chakra UI v3.

Updated May 18, 2026
One-click install
npx skills add https://github.com/FredoAi/fredo --skill chakra-ui-builder-fredoai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: chakra-ui-builder
Source: https://github.com/FredoAi/fredo/tree/main/.opencode/skills/chakra-ui-builder
Command: npx skills add https://github.com/FredoAi/fredo --skill chakra-ui-builder-fredoai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @chakra-ui/react, @emotion/react, @chakra-ui/charts, recharts, next-themes, and includes references (resource) components.

What problem does it solve? Building consistent, accessible, responsive React interfaces with Chakra UI v3 requires knowing its token system, compound components, provider setup, and theming APIs — this Skill encodes all of that so generated code follows v3 conventions instead of outdated v2 patterns. ## Core Features & Use Cases - Component & Layout Generation: Produces complete, runnable Chakra UI v3 components (forms, cards, dashboards, navbars) with semantic tokens, responsive breakpoints, and accessibility built in. - Project Setup & Provider Wiring: Installs Chakra UI, runs CLI snippets, and configures ChakraProvider correctly for Next.js App Router, Pages Router, Vite, and Remix. - Theming & Charts: Defines brand tokens, semantic tokens, recipes, and slot recipes via defineConfig/createSystem, and builds bar, area, line, and pie charts with @chakra-ui/charts and Recharts. - Use Case: Ask for a login form or a pricing table and receive production-ready TSX using Field.Root, colorPalette, and bg.surface tokens that adapt to dark mode automatically. ## Quick Start Ask the agent to build a responsive dashboard card grid with Chakra UI v3 using semantic color tokens and dark-mode support.

Frequently Asked Questions about chakra-ui-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Chakra UI v3 in a Next.js App Router project?▼

Install @chakra-ui/react and @emotion/react, run npx @chakra-ui/cli snippet add to generate the provider, then wrap your root layout with the Provider component. Add suppressHydrationWarning to the html tag to prevent color-mode hydration mismatches.

How do I build a form with Chakra UI v3?▼

Use Field.Root to wrap each input, which wires up the label, error text, and help text automatically. Combine it with Input, use the invalid prop for error states, and use disabled rather than the v2 isDisabled prop.

What is the difference between Chakra UI v2 and v3 theming?▼

Chakra UI v3 replaces extendTheme with defineConfig and createSystem, and styleConfig with defineRecipe and defineSlotRecipe. Semantic tokens support per-color-mode values, and colorScheme is renamed to colorPalette.

Does Chakra UI v3 support charts like bar and line charts?▼

Yes, through the separate @chakra-ui/charts package, which requires recharts as a peer dependency. It provides BarList and BarSegment components plus a Chart.Root wrapper that integrates with Recharts for line, area, bar, and pie charts.

Why are my Chakra UI components unstyled after installation?▼

Unstyled components almost always mean the app is not wrapped in the Chakra Provider. Verify the Provider import path and that it wraps your component tree in the root layout or entry file.

When should I use a recipe versus inline styles in Chakra UI?▼

Use a recipe when a component has meaningful style variants reused across the project, and a slot recipe for multi-part components like cards. Inline props are fine for one-off styles that appear only once.