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

@livingsecurity/ui

v0.0.7

Published

<p align="center"> <img src="https://assets.livingsecurity.com/image/upload/v1712764621/platform-logo-light_mvwpuv.webp" alt="Living Security Logo" /> </p>

Readme


@livingsecurity/ui

Shared UI component library built on React 19, Shadcn, Radix UI, and Tailwind 4.

The foundation of Living Security's AI-first product development approach—designed to work seamlessly with AI coding agents and rapid prototyping tools.

Documentation

AI-First Development

This component library is architected for AI-assisted development:

  • MCP Server Integration - All components are available via Model Context Protocol, enabling AI coding agents like Cursor and Windsurf to scaffold features with production-ready UI
  • v0.app Compatible - Every component works with v0.app for rapid prototyping by anyone in the company, not just engineers
  • Consistent Patterns - Standardized component APIs and design tokens ensure AI-generated code follows best practices
  • Fast Iteration - Prototypes built in v0 become immediate input for product development, accelerating the feedback loop from idea to implementation

This approach lets us move from concept to code faster while maintaining quality and consistency across all Living Security applications.

Installation

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

Usage

import { Button, Card, Dialog } from '@livingsecurity/ui';
import '@livingsecurity/ui/styles/globals.css';

function App() {
  return (
    <Card>
      <Button variant="default">Predict</Button>
      <Button variant="ai">Guide</Button>
      <Button variant="primary">Act</Button>
    </Card>
  );
}

What's Included

UI Components (50+)

Accessible primitives built on Radix UI:

  • Forms: Input, Textarea, Select, Checkbox, Radio, Switch, Calendar, DatePicker
  • Overlays: Dialog, Sheet, Drawer, Popover, Tooltip, HoverCard, ContextMenu
  • Navigation: Sidebar, NavigationMenu, Menubar, Breadcrumb, Tabs
  • Data: Table, Card, Badge, Avatar, Skeleton, Progress
  • Feedback: Alert, AlertDialog, Toast (Sonner)
  • Utilities: Button, Separator, ScrollArea, Resizable, Carousel

Layouts

Pre-built page layouts:

  • AdminLayout - Full app with sidebar/nav
  • MinimalLayout - Clean, centered content

Blocks

Composite components:

  • AppSidebar, NavMain, NavSecondary, NavUser
  • LSIcon, LSLogo - Brand components

Hooks

  • useDarkMode() - Theme toggling
  • useMobile() - Responsive breakpoint detection

Utilities

  • cn() - Tailwind class merging via tailwind-merge

Styling

Import the global stylesheet in your app entry point:

import '@livingsecurity/ui/styles/globals.css';

Components use Tailwind 4 and support dark mode via the .dark class strategy.

Development

pnpm build       # Compile TypeScript + copy styles
pnpm lint        # ESLint check
pnpm typecheck   # TypeScript validation

Publishing

pnpm publish:patch  # Bump version & publish
pnpm publish:minor
pnpm publish:major

Licenses

  • Source code is licensed under [BSD 3-Clause]

© 2025 Living Security