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

lootvm-ui

v0.1.5

Published

LootVM UI CLI — add components to your project

Downloads

584

Readme

lootvm-ui

CLI to add LootVM UI components and page blocks to your project — with MCP support for AI assistants.

Built with Radix UI, Tailwind CSS, and TypeScript. Inspired by shadcn/ui, with LootVM-specific design tokens and form primitives.

Requirements: Node.js >= 22 · Tailwind CSS 4 · React 18/19

Quick start

npx lootvm-ui init
npx lootvm-ui add button dialog
npx lootvm-ui add dashboard-01

After init, import components from your project aliases:

import { Button } from "@/components/ui/button";
import { Dialog, DialogContent, DialogTrigger } from "@/components/ui/dialog";

Commands

| Command | Description | |---------|-------------| | lootvm-ui init | Create components.json, cn utility, and design tokens | | lootvm-ui add <items...> | Copy components or blocks into your project | | lootvm-ui list | List all 46 components and 5 blocks | | lootvm-ui mcp | Start the MCP server (stdio) | | lootvm-ui mcp init --client <client> | Generate MCP config for an AI client |

Supported MCP clients: cursor, claude, vscode, codex

What init sets up

  1. components.json — project configuration (see below)
  2. @/lib/utilscn() helper (clsx + tailwind-merge)
  3. src/styles/lootvm-ui.css — design tokens, imported into your globals CSS
  4. Base dependenciesclsx, tailwind-merge, class-variance-authority

Make sure your tsconfig.json has a @/* path alias before running init.

components.json

{
  "$schema": "https://lootvm.dev/schema.json",
  "tsx": true,
  "tailwind": {
    "css": "src/app/globals.css"
  },
  "aliases": {
    "components": "@/components",
    "utils": "@/lib/utils",
    "ui": "@/components/ui",
    "blocks": "@/components/blocks"
  }
}

Blocks

Full-page templates installed via lootvm-ui add <block>:

| Block | Category | Route created | |-------|----------|---------------| | dashboard-01 | dashboard | app/dashboard/page.tsx | | layout-grid-01 | layouts | app/layout-grid-01/page.tsx | | layout-grid-02 | layouts | app/layout-grid-02/page.tsx | | auth-login-centered | authentication | app/login/page.tsx | | auth-login-split | authentication | app/login-split/page.tsx |

Blocks automatically install their component dependencies (e.g. sidebar, chart, card).

MCP integration

Connect LootVM UI to your AI assistant so it can browse the registry, add components, and scaffold pages.

npx lootvm-ui mcp init --client cursor

This writes MCP config to .cursor/mcp.json (or the equivalent for your client). Restart your AI client and enable the lootvm-ui server.

MCP tools

| Tool | Description | |------|-------------| | list_items | List components and/or blocks from the registry | | search_items | Search by name, export, or description | | view_items | Full docs: props, usage, dependencies, install commands | | get_item_examples | Import snippets and usage examples | | get_design_tokens | CSS variables, colors, typography, motion | | get_audit_checklist | Setup checklist for LootVM UI in a project | | get_project_config | Read and validate components.json | | init_project | Run lootvm-ui init in the current project | | add_items | Add components or blocks to the current project |

Example prompts:

  • "List all LootVM UI components"
  • "Add button and dialog to my project"
  • "Create a login page using auth-login-centered block"

LootVM vs shadcn/ui

| | shadcn/ui | LootVM UI | |---|-----------|-----------| | Button default variant | default | primary | | Form primitives | — | Field, Fieldset | | Loading state | — | Button isLoading | | Design tokens | shadcn CSS vars | lootvm-variables.css | | MCP server | — | Built-in (9 tools) |

Alternative: npm library

If you prefer importing from node_modules instead of copying source:

npm install @lootvm/ui

See @lootvm/ui on npm for library usage.

Links

License

MIT