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

@lyeve-labs/ui-kit

v0.24.0

Published

A clean, accessible, palette-aware Svelte 5 component library. The design system behind LyEve.

Readme

@lyeve-labs/ui-kit

A clean, accessible Svelte 5 component library. The design system behind LyEve.

License: MIT Svelte 5 Tailwind CSS 4

pnpm add @lyeve-labs/ui-kit @lucide/svelte
<script lang="ts">
  import { Button, Card, toast } from '@lyeve-labs/ui-kit';
  import '@lyeve-labs/ui-kit/styles.css';
</script>

<Card title="Welcome">
  <p>Three lines from a clean dark dashboard.</p>
  <Button onclick={() => toast.success('Hello, world!')}>Try it</Button>
</Card>

No config file, no theme provider, no setup ceremony.


What's in the box

  • 67 components: buttons, inputs, modals, drawers, tabs, tables, toasts, the works.
  • Two themes: Soft Dark (default) and Soft Light, switched by a single data-theme attribute on <html>.
  • One CSS file: @lyeve-labs/ui-kit/styles.css declares every token; the rest is just Tailwind.
  • Svelte 5 native: built on runes and snippets, fully typed end-to-end.
  • No surprises: a <Button /> is a <button>, an <Input /> is an <input>. Markup matches the preview.

Component list

Layout and structure Card, Panel, AppShell, PageShell, PageHeader, SectionHeading, Divider, Accordion, AccordionItem, Collapsible, Table, DescriptionList, Toolbar, TreeView

Forms and inputs Button, ButtonGroup, Input, PasswordInput, Textarea, NumberInput, SearchInput, FileInput, Label, Field, FormMessage, SegmentedControl, Select, MultiSelect, Autocomplete, DatePicker, TimePicker, DateTimePicker, Checkbox, CheckboxGroup, Radio, RadioGroup, Toggle

Navigation Breadcrumb, Tabs, Pagination, StepIndicator, Dropdown, SidebarNav, AccountMenu

Overlays Modal, Drawer, Tooltip

Dialogs Dialog, DialogContainer, ConfirmDialog (plus the openDialog and confirm services)

Feedback and status Alert, Banner, Badge, Tag, Indicator, Progress, Spinner, Skeleton, EmptyState, Stat, Kbd, CopyButton

Media Avatar, AvatarGroup, Logo

Theming ThemeToggle, Toaster (plus the toast service)

Requirements

  • Svelte 5.0 or newer
  • Tailwind CSS v4 with the @tailwindcss/vite plugin
  • @lucide/svelte 0.511 or newer, below 2.0
  • Node 20 or newer

Install

pnpm add @lyeve-labs/ui-kit @lucide/svelte
# or npm install @lyeve-labs/ui-kit @lucide/svelte
# or yarn add @lyeve-labs/ui-kit @lucide/svelte

The icon set is a peer dependency, so it installs once and the application picks the version. Most applications already depend on it directly, and while the kit owned a copy of its own they resolved two: the same icons shipped twice in the bundle and an upgrade on the application's side moved only one of them. A missing peer is resolved for you by pnpm and by npm, and not by yarn.

If you don't have Tailwind v4 yet:

pnpm add -D tailwindcss @tailwindcss/vite
// vite.config.ts
import { sveltekit } from '@sveltejs/vite-plugin-svelte';
import tailwindcss from '@tailwindcss/vite';
import { defineConfig } from 'vite';

export default defineConfig({
  plugins: [tailwindcss(), sveltekit()],
});

Use

Import the stylesheet once at the top of your app's CSS entry:

/* src/app.css */
@import '@lyeve-labs/ui-kit/styles.css';

Then drop components into your routes:

<script lang="ts">
  import { Button, Card, Toaster, toast } from '@lyeve-labs/ui-kit';
</script>

<Card title="Profile" description="Update your details.">
  <Button onclick={() => toast.success('Saved.')}>Save</Button>
</Card>

<Toaster />

Mount the <Toaster /> component in your root layout to surface toast notifications. See src/lib/components/Toaster.svelte for the full prop list.

Theming

Two themes ship out of the box. Switch with one attribute:

<html data-theme="light">
  <!-- light mode -->
</html>
<html>
  <!-- dark mode (default) -->
</html>

Or use the helpers:

import { setTheme, toggleTheme, getTheme } from '@lyeve-labs/ui-kit';

setTheme('light');
toggleTheme(); // returns the new theme
getTheme(); // 'dark' | 'light'

Avoid the flash-of-wrong-theme by adding the boot script to your app.html. Import themeBootScript from @lyeve-labs/ui-kit and inline it in <head> before any stylesheets.

Want to bend the palette to your own brand? Override individual tokens after the import:

@import '@lyeve-labs/ui-kit/styles.css';

@theme {
  --color-brand: #ff5e9c;
  --color-brand-light: #ff85b3;
}

Local development

pnpm install            # install dependencies
pnpm test               # run unit tests
pnpm check              # type-check + svelte-check
pnpm build              # svelte-package + publint → dist/

The documentation site lives in its own repo (lyeve-labs/ui-kit-docs). This repo is a single-purpose component library. Nothing but src/lib/.

Project layout

src/
└── lib/                 # → published as @lyeve-labs/ui-kit
    ├── components/      # 67 .svelte files
    ├── stores/          # toast.svelte.ts
    ├── styles/          # theme.css (the one stylesheet)
    ├── utils/           # cn.ts, theme.ts
    └── index.ts         # public API

Versioning

@lyeve-labs/ui-kit follows SemVer. While under 1.0, breaking changes bump the minor version; additive changes bump the patch. Every release is logged in CHANGELOG.md and on the docs site.

Maintainers: the release workflow is CONTRIBUTING.md.

Contributing

Bug reports, prop suggestions, and component proposals are welcome. See CONTRIBUTING.md for the development setup, coding conventions, and how the kit stays cohesive.

License

MIT. See LICENSE.