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

@dskripchenko/ui

v1.17.0

Published

Vue 3 component, token, and theme library on CSS custom properties

Readme

@dskripchenko/ui

A Vue 3 component, token, and theme library on CSS custom properties.

English · Русский · Deutsch · 中文

npm bundle license

Status: stable. SemVer guarantees apply — breaking changes only on a major bump.

📖 Storybook: dskripchenko.github.io/ui

Highlights

  • 70+ components — forms, navigation, overlays, data display, charts, patterns, layouts
  • Vue 3 + TypeScript — Composition API, <script setup>, fully typed
  • CSS custom properties — no CSS-in-JS, no Tailwind, no preprocessors; everything is variables
  • Light / Dark themes — toggled via data-theme on :root, easy to override
  • Tree-shakable — per-component imports, ESM + CJS builds
  • A11y — :focus-visible, ARIA attributes, keyboard navigation across every interactive component
  • i18n — built-in ru + en locales, UidLocaleProvider for partial overrides or custom locales
  • ~1500 icons — lucide-vue-next under the hood + @dskripchenko/ui/icons sub-export
  • Zero runtime chart deps — built-in SVG primitives (Sparkline, ProgressRing, Gauge, Heatmap)
  • Media players without dependencies — video and audio on the native elements, in-browser waveform, HLS (fMP4 and MPEG-TS) in a lazily loaded entry

Install

pnpm add @dskripchenko/ui
# or
npm install @dskripchenko/ui

Quick start

// main.ts
import { createApp } from 'vue'
import App from './App.vue'

// Everything in one line: tokens + themes + reset + base typography + components.
import '@dskripchenko/ui/styles/all.css'

createApp(App).mount('#app')

Prefer granular imports? Use the per-file entries instead — order matters (tokens → themes → component styles):

import '@dskripchenko/ui/styles/tokens.css'   // primitives (colors, spacing, radius…)
import '@dskripchenko/ui/styles/themes.css'   // :root[data-theme="light|dark"] + semantic aliases
import '@dskripchenko/ui/styles/reset.css'    // optional: minimal HTML reset
import '@dskripchenko/ui/styles/global.css'   // optional: :root font-family + base typography
import '@dskripchenko/ui/styles/fonts.css'    // optional: the Inter, Inter Display and IBM Plex Mono files
import '@dskripchenko/ui/styles/index.css'    // component styles
<!-- App.vue -->
<script setup lang="ts">
import { UidButton, UidIcon, UidLocaleProvider, en } from '@dskripchenko/ui'
import { Check } from '@dskripchenko/ui/icons'
</script>

<template>
  <UidLocaleProvider :locale="en">
    <UidButton variant="primary">
      <UidIcon :icon="Check" /> Save
    </UidButton>
  </UidLocaleProvider>
</template>

Switch theme by attribute on <html>:

<html data-theme="dark">

What's inside

A short selection — the full catalog is in Storybook.

Forms & input: Button, Input, Textarea, NumberInput, Checkbox, CheckboxGroup, Radio, Switch, Label, FormField, Select, Combobox, TagsInput, DatePicker, DateRangePicker, TimePicker, ColorPicker, Slider, Rating, FileUpload, Mention, TreeSelect, Cascader

Feedback: Spinner, Skeleton, Badge, Alert, Progress, Toast, Tour

Overlays: Modal, Drawer, Tooltip, Popover, Menu, Command

Navigation: Tabs, Breadcrumb, Link, Pagination (+ Cursor / LoadMore / InfiniteScroll / PageSize), BackTop, Affix, Anchor

Data display: Card, Avatar, AvatarGroup, Tag, Divider, Accordion, Table, VirtualList, Stat, DescriptionList, Timeline, TreeView, Code, Watermark, Carousel, Calendar, NotificationBadge

Layout helpers: Stack, Grid, Container, Splitter

Charts: Sparkline, ProgressRing, Gauge, Heatmap

Media: Video, Audio (waveform, mini, playlist), HLS adapter (@dskripchenko/ui/hls)

Wizards: Stepper, Wizard, WizardStep

Patterns: Header, Footer, Sidebar, PageHeader, EmptyState, ErrorState, Result

Layouts: SimpleLayout, SidebarLayout, AuthLayout, WizardLayout

Composables: useMediaController, useTheme, useLocale, useField, useToast, useWizard, useSidebar, useCommandPalette, useFocusTrap, useScrollLock, usePopover

Documentation

User docs are translated into four languages — pick yours:

Contributor docs (English only): Architecture, Component guidelines, Contributing, Roadmap.

Theming

Every colour, spacing, and font is a CSS variable. Override the theme by setting tokens on :root or on a container:

:root[data-theme='dark'] {
  --uid-color-primary: #8b5cf6;
  --uid-color-bg: #0a0a0a;
}

See theming and tokens for details.

Icons

The @dskripchenko/ui/icons sub-export re-exports all ~1500 Lucide icons:

import { UidIcon } from '@dskripchenko/ui'
import { Heart, Star } from '@dskripchenko/ui/icons'

See icons.

Development

pnpm install
pnpm dev               # Storybook on :6006
pnpm test              # Vitest
pnpm build             # Library build
pnpm build-storybook   # Storybook → storybook-static
pnpm build:analyze     # Bundle visualizer
pnpm changeset         # Describe a change for the next release

License

MIT