@vox-ai-app/vox-ui
v1.0.0
Published
Shared UI components for the Vox design system
Downloads
16
Readme
@vox-ai-app/vox-ui
Shared React component library for the Vox design system. Built with Vite, exported as pre-built ESM.
Install
npm install @vox-ai-app/vox-uiPeer dependencies: react >= 19, react-dom >= 19
Setup
Import the base styles once in your app entry:
import '@vox-ai-app/vox-ui/styles.css'Components
Primitives
Low-level, unstyled-ish building blocks.
import {
IconButton,
CopyButton,
Drawer,
Skeleton,
Toast,
ExpandableMarkdown
} from '@vox-ai-app/vox-ui/primitives'Composites
Feature components built from primitives.
import {
ChatMessage,
ChatComposer,
ChatEmptyState,
ChatSkeleton,
ActionItem,
ActivityListRow,
ActivityTimeline,
ExplorerSidebar,
ExplorerTile,
VoiceOrb
} from '@vox-ai-app/vox-ui/composites'Layouts
Full-page layout shells.
import { AppShell, LeftRail, UserMenu } from '@vox-ai-app/vox-ui/layouts'Hooks
import {} from /* hooks */ '@vox-ai-app/vox-ui/hooks'Utils
import { cn } from '@vox-ai-app/vox-ui/utils'
// cn(...classes) — merges Tailwind class namesTokens
Design tokens as JS constants or CSS custom properties.
import { colors } from '@vox-ai-app/vox-ui/tokens'@import '@vox-ai-app/vox-ui/tokens.css';
/* exposes --vox-color-* custom properties */All exports
import {} from /* everything */ '@vox-ai-app/vox-ui'License
MIT
