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

@cimang/seneu-ui

v2.0.1

Published

Vue 3 component library for CMS and admin panel — by Cimang Club

Readme

Seneu UI

npm version license

A Vue 3 component library for building CMS and admin panels — pairs with Tailwind CSS, a two-layer design token system, and components that are accessible by default (WCAG 2.2 AA).

By Cimang Club. Brand color #FC7A1E. See CHANGELOG.md for release history.

Install

npm install @cimang/seneu-ui

Vue 3.5+ is required as a peer dependency. ECharts is optional and only needed if you use SeneuChartWrapper.

npm install echarts   # optional, only needed for chart components

TypeScript declarations (.d.ts) are generated for every component and composable and ship in the package — no @types/ package or extra setup needed, editor autocomplete and prop types work out of the box in both .ts and .vue files.

Quick Start

// main.js
import { createApp } from 'vue'
import App from './App.vue'
import '@cimang/seneu-ui/dist/style.css'

createApp(App).mount('#app')
<script setup>
import { SeneuButton, SeneuInput } from '@cimang/seneu-ui'
</script>

<template>
  <SeneuInput v-model="email" label="Email" placeholder="[email protected]" />
  <SeneuButton variant="brand">Save</SeneuButton>
</template>

@cimang/seneu-ui/dist/style.css already includes everything components need to render correctly: design tokens (primitive + semantic), a base reset, and fonts. No extra setup required.

Typography & Font

Seneu UI uses Inter for general text and JetBrains Mono for code (<code>, <pre>, <kbd>, <samp>), plus Material Symbols Rounded for SeneuIcon.

These fonts are loaded automatically as soon as you import @cimang/seneu-ui/dist/style.css — it contains an @import pointing to the Google Fonts CDN, so there's no need to add a <link> tag or install fonts yourself. Zero-config.

/* already included inside dist/style.css — no need to add this manually */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,[email protected],100..700,0..1,-50..200');

Every component references the semantic tokens --font-sans and --font-mono (see Design Tokens), so if your project already has its own font strategy (e.g. a self-hosted font or a different brand font), you can override the tokens without touching any component:

/* in your project's CSS, after importing @cimang/seneu-ui/dist/style.css */
:root {
  --font-sans: 'Your Custom Font', sans-serif;
}

Performance note: because fonts are loaded via the Google Fonts CDN, there's one extra network request on first page load. If your project needs full control over font loading (self-hosting, preloading, subsetting), override --font-sans/--font-mono as shown above — Seneu UI's CDN import will still run in the background but components will no longer use it.

Using a Custom Icon Set

Material Symbols is the default icon set, not a hard requirement. Every component that renders an icon — SeneuButton, SeneuInput, SeneuAlert, SeneuToast, all of them — does so through a single internal component, SeneuIcon. That means you can swap the entire library's icon set in one place, without touching any component.

Provide a component at the SENEU_ICON_KEY injection key from your app root:

// main.js
import { createApp } from 'vue'
import App from './App.vue'
import { SENEU_ICON_KEY } from '@cimang/seneu-ui'
import MyIconAdapter from './MyIconAdapter.vue'

const app = createApp(App)
app.provide(SENEU_ICON_KEY, MyIconAdapter)
app.mount('#app')

Your adapter component receives the same props SeneuIcon does — name, size, fill, weight, grade, label — and renders whatever you want. name is Seneu UI's internal Material-Symbols-based icon name (e.g. "close", "search", "chevron_left"), so map it to your icon set's equivalent:

<!-- MyIconAdapter.vue — example using lucide-vue-next -->
<script setup>
import * as icons from 'lucide-vue-next'

const props = defineProps(['name', 'size', 'label'])

// Map Seneu UI's Material-Symbols-style names to your icon set
const ICON_MAP = {
  close: icons.X,
  search: icons.Search,
  chevron_left: icons.ChevronLeft,
  chevron_right: icons.ChevronRight,
  check: icons.Check,
  error: icons.AlertCircle,
  // ...add mappings for every icon name your app actually uses
}
</script>

<template>
  <component
    :is="ICON_MAP[name] || icons.HelpCircle"
    :size="size"
    :aria-label="label || undefined"
    :aria-hidden="label ? undefined : 'true'"
  />
</template>

If you don't provide SENEU_ICON_KEY, nothing changes — components fall back to rendering Material Symbols Rounded, as documented above.

Design Tokens

Seneu UI uses a two-layer token system:

  • Primitive (--primitive-*) — raw values, not meant to be used directly in your code.
  • Semantic (--color-*, --space-*, --font-*, etc.) — contextual tokens used by components and safe for you to override.
import '@cimang/seneu-ui/dist/style.css' // tokens + base + fonts, all-in-one

Need just the token CSS without the base reset? Import the token files separately:

import '@cimang/seneu-ui/src/tokens/primitive.css'
import '@cimang/seneu-ui/src/tokens/semantic.css'

Works Alongside Any CSS Framework

Seneu UI ships zero framework CSS — no bundled Tailwind, no bundled Bootstrap. Components are styled with plain CSS custom properties and a minimal reset, so you can drop this into a project using Tailwind, Bootstrap, UnoCSS, or nothing at all, without either side fighting the other for spacing/margins.

The minimal reset (* { margin: 0; padding: 0 }, heading weights, focus rings, etc.) lives inside @layer base. Per the CSS Cascade Layers spec, any CSS your app writes outside of a layer — plain custom CSS, Bootstrap, most non-utility frameworks — automatically wins over anything in a layer, regardless of selector specificity.

If your framework uses layers itself (Tailwind, UnoCSS), base is reused deliberately rather than a private name like seneu-ui-base: Tailwind already declares @layer theme, base, components, utilities; and puts its own element defaults in base specifically so utilities always outranks it. Reusing that exact name means Seneu UI's reset merges into the same layer position — below utilities — regardless of whether your app's CSS loads before or after this library's stylesheet. A private layer name doesn't have that guarantee: its position is decided by whichever file mentions it first, which makes the outcome depend on load order instead of being predictable.

In practice: you never need !important or extra specificity tricks to override Seneu UI's base styles — your app's own spacing/margin utilities just work, regardless of import order.

Dark & Light Theme

The default theme follows the device's prefers-color-scheme. For manual toggling, use the useTheme composable:

<script setup>
import { useTheme } from '@cimang/seneu-ui'

const { theme, toggleTheme } = useTheme()
</script>

<template>
  <SeneuButton @click="toggleTheme">
    Switch to {{ theme === 'dark' ? 'light' : 'dark' }}
  </SeneuButton>
</template>

Components

All components below are built, tested, and WCAG 2.2 AA verified in both light and dark theme.

Foundation SeneuIcon · useTheme · useToast · useConfirmDialog

Form & Input SeneuButton · SeneuInput · SeneuTextarea · SeneuSelect · SeneuCheckbox · SeneuRadio · SeneuToggle · SeneuDatePicker · SeneuFileUpload · SeneuSearchBar · SeneuColorPicker

Layout & Navigation SeneuSidebar · SeneuTopbar · SeneuBreadcrumb · SeneuTabs · SeneuPagination · SeneuStepper · SeneuFooter · SeneuCarousel · SeneuRichTextEditor

Data Display SeneuCard · SeneuTable · SeneuBadge · SeneuTag · SeneuTooltip · SeneuAvatar · SeneuStatCard · SeneuChartWrapper · SeneuEmptyState · SeneuSkeleton

Feedback & Overlay SeneuAlert · SeneuToast · SeneuModal · SeneuDrawer · SeneuProgressBar · SeneuSpinner · SeneuConfirmDialog

SeneuRichTextEditor is built on native contenteditable + execCommand — no Tiptap or other editor dependency needed.

SeneuChartWrapper uses ECharts as an optional peer dependency (see Install).

License

MIT