CLIActive

Chakra UI CLI

Official CLI for Chakra UI projects to generate typings, add snippets, and download Pro blocks.

Open source page ↗

Product features

Product features

chakra blocks

Adds premium Chakra UI Pro blocks; supports add, list, --variant, --category, --dry-run, --outdir.

Codemod (Recommended)

Color Mode

chakra eject

Takes control over the default theme tokens and recipes.

Hooks

Improvements

Manual Steps

Migration to v3

Next.js package

Refactor Custom Theme

Removed Features

chakra snippet

Adds useful component compositions; supports add, list, --all, and --outdir options.

Style Config

chakra typegen

Generates theme and recipe typings for custom themes with optional --watch and --strict modes.

Update ChakraProvider

Update Packages