navy
Orio UI โ
A delightful, lightweight component library for Nuxt 3 applications.
Features โ
โจ 27 Components - Beautiful, accessible components ready to use ๐จ Themeable - 5 built-in accent themes with light/dark mode support ๐ Auto-imported - Works seamlessly with Nuxt's auto-import system ๐ฆ Tree-shakeable - Only bundle what you use ๐ฏ TypeScript - Fully typed for great DX ๐งช Tested - 138 unit tests for reliability
Quick Start โ
bash
npm install orio-uiAdd to your nuxt.config.ts:
typescript
export default defineNuxtConfig({
modules: ["orio-ui"],
});Start using components:
vue
<template>
<orio-button variant="primary" @click="handleClick"> Click Me </orio-button>
</template>What's Included โ
Components โ
- Form controls: Input, NumberInput, NumberInputVertical, NumberInputHorizontal, Textarea, CheckBox, DatePicker, DateRangePicker, Selector, SwitchButton
- Navigation: Button, NavButton, Modal, Popover, Tooltip
- Display: Icon, LoadingSpinner, EmptyState, Tag, Badge, DashedContainer
- View: Text, Dates, Separator
- Media: Carousel, Upload
- Utility: ControlElement
Composables โ
useTheme- Theme and color mode managementuseModal- Modal state with animation origin trackinguseFuzzySearch- Fuzzy search with Fuse.jsuseApi- Type-safe API requests
Theming โ
Built-in themes: Navy (default), Ocean, Sunset, Forest, Purple Modes: Light & Dark
All customizable via CSS variables.