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

@nipsys/shadcn-lsd

v0.2.5

Published

@nipsys/shadcn-lsd is a UI component library based on the Logos Design System

Readme

@nipsys/shadcn-lsd

license React

A React component library implementing the Logos Design System (LSD). Built with Radix UI primitives and Tailwind CSS, following the shadcn/ui patterns.

Installation

pnpm add @nipsys/shadcn-lsd

Usage

Import Components

import { Dialog, DialogTrigger, DialogContent, Button } from "@nipsys/shadcn-lsd";

CSS Import

import '@nipsys/shadcn-lsd/css';

Or in a CSS stylesheet:

@import "@nipsys/shadcn-lsd/css";

Example

import { Dialog, DialogTrigger, DialogContent, Button } from "@nipsys/shadcn-lsd";

function App() {
  return (
    <Dialog>
      <DialogTrigger asChild>
        <Button>Open</Button>
      </DialogTrigger>
      <DialogContent>
        <p>Dialog content here</p>
      </DialogContent>
    </Dialog>
  );
}

export default App;

Theming

The library supports light and dark themes out of the box. Add the dark class to your root element to enable dark mode:

<html class="dark">
  <!-- your app -->
</html>

Theme Variants

A teal theme variant is also available:

<html class="theme-teal">
  <!-- light teal theme -->
</html>

<html class="dark theme-teal">
  <!-- dark teal theme -->
</html>

CSS Variables

The design system uses CSS custom properties that you can override:

:root {
  /* Core colors */
  --lsd-primary: #000000;
  --lsd-primary-foreground: #ffffff;
  --lsd-text-primary: #000000;
  --lsd-text-secondary: #808080;
  --lsd-border: #000000;
  --lsd-surface: #ffffff;

  /* Icon colors */
  --lsd-icon-primary: #000000;
  --lsd-icon-secondary: #ffffff;

  /* Semantic colors */
  --lsd-destructive: #b91c1c;
  --lsd-destructive-text: #cb3939;
  --lsd-success: #15803d;
  --lsd-success-text: #168440;
  --lsd-warning: #f59e0b;
  --lsd-warning-text: #d68b09;
  --lsd-info: #2563eb;
  --lsd-info-text: #2563eb;
}

Components

| Component | Description | Playground | |-----------|-------------|------------| | Accordion | Vertically stacked collapsible sections | View → | | AlertDialog | Modal dialog for critical confirmations | View → | | Autocomplete | Input with async suggestion fetching | View → | | Badge | Small label for status or categorization | View → | | Button | Interactive button with multiple variants | View → | | ButtonGroup | Grouped buttons with optional separators | View → | | Card | Container for related content | View → | | Checkbox | Boolean input control | View → | | Command | Command palette for keyboard navigation | View → | | Dialog | Modal overlay for focused content | View → | | Input | Text input field | View → | | Label | Form field label | View → | | Menubar | Horizontal menu bar with dropdown menus | View → | | Popover | Floating content anchored to trigger | View → | | Progress | Visual indicator of completion | View → | | ScrollArea | Custom scrollbar container | View → | | Select | Dropdown selection input | View → | | Separator | Visual divider between sections | View → | | Sheet | Slide-out panel overlay | View → | | Sidebar | Navigation sidebar component | View → | | Sonner | Toast notifications | View → | | Switch | Toggle switch input | View → | | Tabs | Tabbed content navigation | View → | | Toggle | Two-state button | View → | | ToggleGroup | Group of toggle buttons | View → | | Typography | Text styling components | View → |

Development

M

Prerequisites

  • Node.js >= 24.0.0
  • pnpm >= 10

Setup

# Clone the repository
git clone https://github.com/nipsysdev/shadcn-lsd.git
cd shadcn-lsd

# Install dependencies
pnpm install

Scripts

# Start component playground
pnpm cosmos

# Build the library
pnpm build

# Run tests
pnpm test

# Run tests in watch mode
pnpm test:watch

# Run tests with coverage
pnpm test:coverage

# Lint code
pnpm lint

# Format code
pnpm format

Component Playground

The project uses React Cosmos for component development. Run pnpm cosmos to start the playground at http://localhost:5000.

To export a static build for deployment:

pnpm cosmos-export

Tech Stack

  • React 19 - UI library
  • TypeScript - Type safety
  • Tailwind CSS 4 - Utility-first styling
  • Radix UI - Accessible primitives
  • Vite - Build tooling
  • Vitest - Testing framework
  • React Cosmos - Component playground

Peer Dependencies

Make sure your project has these installed:

{
  "react": "^19.2.4",
  "react-dom": "^19.2.4"
}

License

GPL-3.0-or-later