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

@baolq/ui

v1.0.0

Published

A rich dark-gradient React component library for the baole.space ecosystem. Ant Design-level prop richness, glassmorphism design system.

Readme

@baolq/ui — React Component Library

A rich, dark-gradient React component library for the baole.space ecosystem

Version React TypeScript Tailwind License


✨ Features

  • 🎨 45+ Components — Comprehensive library with Ant Design-level prop richness
  • 🌙 Dark-First Design — Optimized for dark mode with gradient accents
  • 🔮 Glassmorphism — Frosted glass surfaces with backdrop blur
  • Fully Typed — TypeScript strict mode, zero any types
  • 🎯 Radix UI Primitives — Accessible components built on Radix
  • 🎭 CVA Variants — Flexible styling with class-variance-authority
  • 🎪 Motion Ready — Animation support via motion/react
  • 📦 Tree-shakeable — Only import what you need

🚀 Quick Start

Installation

npm install @baolq/ui lucide-react
# or
pnpm add @baolq/ui lucide-react
# or
yarn add @baolq/ui lucide-react

Setup

Import the stylesheet in your app entry point:

// src/main.tsx or src/app/App.tsx
import '@baolq/ui/style.css'

Usage

import { Button, Card, CardHeader, CardTitle, CardContent, Input } from '@baolq/ui'
import { Plus } from 'lucide-react'

function App() {
  return (
    <Card variant="glass">
      <CardHeader>
        <CardTitle>Welcome to @baolq/ui</CardTitle>
      </CardHeader>
      <CardContent className="space-y-4">
        <Input placeholder="Enter your name" />
        <Button variant="gradient" leftIcon={<Plus size={16} />}>
          Get Started
        </Button>
      </CardContent>
    </Card>
  )
}

📚 Documentation

Comprehensive guidelines are available in the /guidelines/baole-ui/ directory:

Getting Started

  1. Guidelines.md — Master index and AI workflow
  2. overview-components.md — Complete component reference
  3. overview-icons.md — Icon system documentation

Design Tokens

  • colors.md — Color system and usage
  • typography.md — Font scales and text patterns (coming soon)
  • spacing.md — Layout and spacing conventions (coming soon)

Component Guides

Detailed documentation for each component:

  • button.md — Button variants, sizes, and states
  • card.md — Card compositions and patterns
  • input.md — Form inputs with validation (coming soon)
  • ...and 40+ more component guides

🎨 Component Categories

Inputs & Forms

Button, Input, Textarea, Select, Checkbox, RadioGroup, Switch, Slider, Form, Label, Toggle, ToggleGroup, InputOTP

Overlays

Dialog, AlertDialog, Drawer, Sheet, Popover, HoverCard, Tooltip, DropdownMenu, ContextMenu

Feedback

Alert, Toast (Sonner), Progress, Skeleton

Navigation

Tabs, Breadcrumb, NavigationMenu, Menubar, Pagination, Sidebar

Data Display

Table, Accordion, Collapsible, Calendar, Carousel, Chart, Command

Layout

Card, Separator, AspectRatio, ScrollArea, Resizable

Utility

Avatar, Badge


🎯 Design Philosophy

@baolq/ui embodies the creative energy of a developer, photographer, and gamer:

Visual Language

  • Dark backgrounds — Base: #0f0c29 with gradient overlays
  • Glassmorphism — Frosted glass surfaces with backdrop-blur
  • Gradient accents — Purple → Fuchsia → Pink spectrum
  • Subtle glows — Color-matched shadows for depth
  • White text — High contrast on dark backgrounds
  • Minimal bordersrgba(255,255,255,0.1) barely-visible dividers

Philosophy Quote

"In code we trust, in games we clutch, in photos we overexpose (+0.3 EV)"
— Bao LE, baked into every pixel of this component library


🛠️ Tech Stack

| Technology | Version | Purpose | |------------|---------|---------| | React | 19+ | UI framework | | TypeScript | 5+ | Type safety (strict mode) | | Tailwind CSS | v4 | Utility-first styling | | Radix UI | Latest | Accessible primitives | | CVA | Latest | Variant management | | Lucide React | Latest | Icon system | | Motion | Latest | Animations (optional) | | react-hook-form | Latest | Form handling | | sonner | Latest | Toast notifications |


📦 Project Structure

@baolq/ui/
├── src/
│   ├── components/
│   │   ├── button.tsx
│   │   ├── card.tsx
│   │   ├── input.tsx
│   │   └── ... (45+ components)
│   ├── lib/
│   │   └── utils.ts              # cn() helper
│   ├── hooks/
│   │   ├── use-mobile.ts
│   │   └── ...
│   ├── tokens/
│   │   └── index.css             # Design tokens
│   ├── index.ts                  # Barrel export
│   └── index.css                 # Tailwind + utilities
├── guidelines/
│   ├── Guidelines.md             # Master documentation
│   ├── overview-components.md
│   ├── overview-icons.md
│   ├── design-tokens/
│   │   ├── colors.md
│   │   ├── typography.md
│   │   └── spacing.md
│   └── components/
│       ├── button.md
│       ├── card.md
│       └── ... (29+ guides)
├── showcase/                     # Demo application
├── tailwind-preset.ts            # Tailwind preset export
└── README.md

🎮 Showcase

Run the showcase app to see all components in action:

cd showcase
npm install
npm run dev

Visit http://localhost:5173 to explore:

  • All 45+ components with live examples
  • Multiple variants and states
  • Interactive demos
  • Code snippets

🤝 Contributing

Contributions are welcome! Please read the Guidelines.md first.

Development Setup

# Clone the repository
git clone https://github.com/unique01082/baole-ui.git

# Install dependencies
npm install

# Build the library
npm run build

# Run showcase
cd showcase
npm install
npm run dev

📄 License

MIT © Bao LE


🔗 Links

  • GitHub: https://github.com/unique01082/baole-ui
  • Portfolio: https://baole.space
  • NPM: (coming soon)
  • Storybook: (coming soon)

🙏 Acknowledgments

Built with inspiration from:

  • shadcn/ui — Component architecture and patterns
  • Ant Design — Prop richness and completeness
  • Radix UI — Accessible primitives
  • Tailwind CSS — Utility-first styling philosophy

📊 Component Checklist

Implemented (Core):

  • ✅ Button (7 variants, 6 sizes, loading, icons)
  • ✅ Card (4 variants, hoverable, composable)
  • ✅ Badge (8 variants, removable, dots)
  • ✅ Input (validation, icons, clearable)
  • ✅ Separator (gradient, labels)
  • ✅ Skeleton (animated, variants)

In Progress:

  • 🚧 Dialog, Sheet, Drawer
  • 🚧 Select, Checkbox, RadioGroup
  • 🚧 Tabs, Accordion, Table
  • 🚧 Form (react-hook-form integration)
  • 🚧 Toast (Sonner wrapper)
  • 🚧 And 35+ more...

Made with 💜 for the baole.space ecosystem