npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

orio-ui

v1.5.0

Published

Modern Nuxt component library with theme support

Readme

Orio UI

A delightful, lightweight component library for Nuxt 3 applications. Built with TypeScript, fully tested, and designed for modern web development.

npm version License: MIT

Features

18 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 developer experience 🧪 Tested - 71+ unit tests for reliability 📱 Responsive - Mobile-first design approach ♿ Accessible - ARIA-compliant components

Quick Start

Installation

npm install orio-ui

Setup

Add Orio UI to your nuxt.config.ts:

export default defineNuxtConfig({
  modules: ["orio-ui"],
});

That's it! All components and composables are now auto-imported.

Usage

<template>
  <div>
    <orio-button variant="primary" @click="handleClick"> Click Me </orio-button>

    <orio-input v-model="email" label="Email" placeholder="[email protected]" />

    <orio-view-text type="title" size="large">
      Welcome to Orio UI
    </orio-view-text>
  </div>
</template>

<script setup>
const email = ref("");

// Composables are auto-imported too!
const { theme, setTheme } = useTheme();

function handleClick() {
  setTheme("ocean");
}
</script>

What's Included

Components (18)

Form Controls

  • Input - Text input with label support
  • Textarea - Multi-line text input
  • CheckBox - Custom checkbox with icon states
  • DatePicker - Date selection with month/year options
  • DateRangePicker - Start and end date selection
  • Selector - Generic dropdown selector (single/multi-select)
  • Tag - Styled tag/badge component

Interactive

  • Button - Primary, secondary, subdued variants with loading/icon support
  • Modal - Animated modal with origin morphing
  • Popover - Positioned popover with smart placement

Display

  • Icon - SVG icon system with 12 bundled icons
  • LoadingSpinner - Animated loading indicator
  • EmptyState - Empty state placeholder
  • DashedContainer - Dashed border container with icon
  • ControlElement - Form control wrapper

View

  • Text - Typography component with variants
  • Dates - Date range display formatter
  • Separator - Visual divider

Composables (4)

  • useTheme - Theme and color mode management
  • useModal - Modal state with animation origin tracking
  • useFuzzySearch - Fuzzy search powered by Fuse.js
  • useApi - Type-safe API request wrapper

Theming

Built-in themes:

  • Navy (default) - Professional blue
  • Ocean - Fresh cyan
  • Sunset - Warm orange
  • Forest - Natural green
  • Purple - Creative purple

All themes support light and dark modes. Fully customizable via CSS variables.

<script setup>
const { setTheme, setMode } = useTheme();

setTheme("ocean");
setMode("dark");
</script>

Documentation

Full documentation:

Development

Setup Development Environment

# Clone the repository
git clone https://github.com/oriondor/orio-ui.git
cd orio-ui

# Install dependencies
npm install

# Run documentation site
npm run dev

# Run tests
npm test

# Build library
npm run build

# Run documentation
npm run docs:dev

Project Structure

orio-ui/
├── src/
│   ├── runtime/
│   │   ├── components/   # 18 Vue components
│   │   ├── composables/  # 4 composables
│   │   ├── assets/css/   # Theme CSS files
│   │   └── utils/        # Icon registry
│   └── module.ts         # Nuxt Module definition
├── tests/                # Vitest unit tests
├── docs/                 # VitePress documentation
└── build.config.ts       # Module build configuration

Running Tests

# Run all tests
npm test

# Run tests once
npm run test:unit

# Watch mode
npm run test:watch

TypeScript Support

Orio UI is written in TypeScript and provides full type definitions:

import type { TextTypes, TagStyle } from "orio-ui/composables";
import type { OriginRect, ModalProps } from "orio-ui/composables";
import type { IconName } from "orio-ui/composables";

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT © oriondor

Changelog

See CHANGELOG.md for version history.

Credits

Built with:


Made with ❤️ for the Nuxt community