Unofficial SolidJS port of HeroUI v3.
Docs & live previews: https://daveycodez.github.io/heroui-solid/
- HeroUI's look, HeroUI's API. Components mirror HeroUI v3's real public API
(
variant,size,isDisabled,isPending, compound parts likeCard.Header/Card.Content), styled by HeroUI's own CSS from the@heroui/stylespackage — updating that package restyles this library. - Kobalte behavior. Stateful widgets (Select, Dropdown, ComboBox, TextField…) are built on Kobalte for accessibility and keyboard interactions. Presentational components are plain styled markup.
Requires Tailwind CSS v4, same as HeroUI for React.
bun add @heroui/styles heroui-solidThen add to the CSS file your Tailwind build compiles (import order matters):
@import "tailwindcss";
@import "@heroui/styles";
@import "heroui-solid/styles";@heroui/styles is HeroUI's own stylesheet, exactly as a React app consumes it;
heroui-solid/styles adds only the small overrides layer bridging HeroUI's
interactive-state CSS onto Kobalte's attributes. Your Tailwind pass compiles both, so
HeroUI's theme tokens are also available as utilities in your own markup
(text-muted, bg-surface, …).
import { Button } from "heroui-solid";
<Button variant="primary" size="md">Click me</Button>;Full documentation and live previews are at
daveycodez.github.io/heroui-solid
(deployed from main by the Deploy Docs workflow). To run the docs app
(apps/docs) locally:
bun install
bun nx dev docs| Path | What |
|---|---|
packages/heroui-solid |
The publishable component library |
apps/docs |
Solidbase documentation site with live previews |
Built with Nx + bun; lint/format via biome.
bun install
bun nx run-many -t build # build library and docs
bun nx test heroui-solid
bun run lintApache-2.0. See NOTICE for HeroUI and Kobalte attribution.