//
A step-by-step installation guide to quickly set up XiodUI.
bun add xiod-ui react react-domYou will also need tailwindcss and @tailwindcss/postcss as dev dependencies. XiodUI requires Tailwind CSS 4.3 or later and Node.js 20 or later.
bun add xiod-icons1import { PlusSign } from "xiod-icons";2import { Button } from "xiod-ui/button";34export function Example() {5 return <Button><PlusSign aria-hidden />Add item</Button>;6}1@import "tailwindcss";2@import "xiod-ui/styles";That single import provides the design tokens, the class-based dark variant, and registers XiodUI's components as a Tailwind source so their utility classes are generated in your build. Skip it and components render unstyled.
1import { Button } from "xiod-ui/button";23export function Example() {4 return <Button variant="destructive">Delete</Button>;5}The path is the component's name in kebab-case — xiod-ui/alert-dialog, xiod-ui/input-otp. Note that import { Button } from "xiod-ui" is not supported.