Component Library
The underlying headless component library.
Overview
Hanzo Docs UI maintains support for both Base UI and Radix UI, while it uses Radix UI by default.
The configuration may be different if you use Hanzo Docs CLI for customising components.
Base UI
You can opt-in to use Base UI by replacing @hanzo/docs-base-ui with the @hanzo/docs-base-ui package:
{
"dependency": {
"@hanzo/docs-base-ui": "npm:@hanzo/docs-base-ui@latest"
}
}For Hanzo Docs CLI, also configure it in your cli.json config:
{
"uiLibrary": "base-ui"
}How is this guide?
Last updated on
