HeroUI Demo
A live HeroUI example rendered inside a Starlight guide.
This page mounts HeroUI inside Starlight so you can verify the integration in a real docs route.
Live preview
Sección titulada «Live preview»HeroUI is active
This card is a React island rendered inside Starlight.
Keep Starlight pages server-rendered, then mount HeroUI components where interactive UI is actually needed.
Form controls
Tabs
Design
Content
Delivery
Define the UI language first, then compose docs around real product flows.
Interactive patterns
Dropdowns and modals work inside the same React island.
import { Button } from "@heroui/react/button";
import { Input } from "@heroui/react/input";
import { Tab, TabList, TabPanel, Tabs } from "@heroui/react/tabs";How it is used
Sección titulada «How it is used»import HeroUIDemo from '../../../components/HeroUIDemo';
<HeroUIDemo client:load />Stable import pattern
Sección titulada «Stable import pattern»Import HeroUI components from subpaths instead of the root bundle:
import { Button } from '@heroui/react/button';import { Card } from '@heroui/react/card';import { Chip } from '@heroui/react/chip';import { Avatar } from '@heroui/react/avatar';import { ProgressBar } from '@heroui/react/progress-bar';import { Switch } from '@heroui/react/switch';