Build faster with Premium Chakra UI Components 💎

Learn more

Specifying custom directory

November 15, 2024

The generated snippets by the Chakra UI CLI are placed in the components/ui directory by default.

You can specify a custom directory by running the CLI with the --dir flag.

npx chakra snippets --dir ./components/custom

To learn more about the CLI snippets command, refer to the CLI docs.