New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

liminal-ui

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liminal-ui

CLI para liminal-ui

latest
npmnpm
Version
0.17.0
Version published
Maintainers
1
Created
Source

Liminal UI CLI

Copy-paste component library for React/Next.js with full ownership

npm MIT

Quick Start

# 1. Initialize config
npx liminal-ui init

# 2. Add components (ejemplos)
npx liminal-ui add button
npx liminal-ui add accordion dialog select
npx liminal-ui add tabs alert popover

Commands

CommandDescription
liminal initSetup components.json config file
liminal add <name>Add component to your project
liminal add <name> -yAdd + auto-install dependencies
liminal add <name> -fForce overwrite existing files
liminal listShow available components
liminal diff <name>Compare local vs registry version

Available components

Liminal UI incluye una colección de componentes listos para copiar en tu proyecto (no viven en node_modules). Algunos ejemplos:

  • accordion, tabs — navegación y contenido colapsable
  • button — botones con variantes y tamaños
  • dialog, popover, tooltip — overlays y feedback
  • input, textarea, checkbox, switch, label — formularios
  • card, badge, separator, avatar — layout y display
  • toast — notificaciones via wrapper de sonner

Puedes ver la lista completa con:

liminal-ui list

Y cada componente tiene su propia página de documentación en la app de docs de este repo (apps/www), por ejemplo /docs/components/button.

Configuration

Running liminal init creates components.json:

{
  "tsx": true,
  "rsc": true,
  "tailwind": {
    "config": "tailwind.config.js",
    "css": "app/globals.css",
    "baseColor": "slate",
    "cssVariables": true
  },
  "aliases": {
    "ui": "@/components/ui",
    "lib": "@/lib",
    "utils": "@/lib/utils"
  }
}

Requirements

  • Tailwind CSS with CSS variables (background, foreground, primary, etc.)
  • TypeScript (optional but recommended)

You have two options for the CSS tokens:

  • Let liminal init copy them for you (recommended)

    • During liminal init, answer:
      • ¿Copiar CSS de tokens base?yes
      • Choose a preset: slate, blue, green
      • Confirm the path for your global CSS (default app/globals.css)
    • The CLI will write a full @layer base { :root { ... } .dark { ... } } block compatible with shadcn/ui.
  • Copy tokens manually

    • Use the reference file registry/lib/themes.css from this repo.
    • Or generate a theme visually with tools like tweakcn and paste the exported CSS into your global stylesheet.

Usage

import { Button } from "@/components/ui/button";

export default function App() {
  return (
    <div className="space-x-2">
      <Button>Default</Button>
      <Button variant="destructive">Destructive</Button>
      <Button variant="outline">Outline</Button>
    </div>
  );
}

License

MIT

FAQs

Package last updated on 26 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts