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

dandy-ui

v4.1.0

Published

Lightweight UI component library based on tailwindcss v4, optimized for edge and serverless environments

Readme

Dandy UI

A lightweight, edge-first React UI library built on TailwindCSS v4.
Optimized for Cloudflare Pages, serverless, and SSR environments.

npm license


Features

  • 🎨 TailwindCSS v4 - Latest Tailwind with CSS-first configuration
  • 🌙 Dark Mode - Built-in dark mode support with semantic tokens
  • 📱 Mobile-First - Responsive, touch-friendly design
  • 🔧 TypeScript - Full TypeScript support with strict type checking
  • 🚀 Next.js Ready - Compatible with Next.js 13+ App Router
  • 🌳 Tree Shakable - Only import what you need
  • ♿ Accessible - WCAG 2.1 AA compliant components
  • 🎯 Semantic Tokens - CSS custom properties for consistent theming

Quick Start

npm install dandy-ui
@import "tailwindcss";
@import "dandy-ui/theme.css";
@import "dandy-ui/base.css";
import { ThemeProvider } from "dandy-ui";

<ThemeProvider>
  <App />
</ThemeProvider>;

For SSR, add <ThemeScript /> in <head> to prevent flash of unstyled content.


Entry Points

| Entry | Purpose | Example | | ------------------- | -------------------------------- | ------------------------------------------------------- | | dandy-ui | Core components | import { Button, Dialog } from "dandy-ui" | | dandy-ui/extra | Heavy components (optional deps) | import { Drawer, DatePicker } from "dandy-ui/extra" | | dandy-ui/markdown | Markdown renderer | import { MarkdownViewer } from "dandy-ui/markdown" | | dandy-ui/utils | Pure utility functions | import { formatDate, debounce } from "dandy-ui/utils" |


Components

LayoutContainer · Flex · Grid · Paper · Section · Table · ScrollShadow

TypographyText · Heading · Hint · Label · Divider · Code · Kbd

FormsButton · IconButton · Input · TextArea · NumberInput · Select · CheckBox · Radio · Switch · Slider · FileInput · Rating · Icon

FeedbackAlert · Badge · Chips · Spinner · Skeleton · ProgressBar · CircularProgress

OverlaysDialog · Popover · InfoTip · SnackbarProvider

CompoundAccordion

ExtraDrawer · DatePicker · DateRangePicker · MultiDatePicker · MultiSelect · InputOTP · SidebarLayout · SideBar

MarkdownMarkdownViewer


Peer Dependencies

Required:

npm install react react-dom tailwindcss @radix-ui/react-tooltip

Optional (install only what you use):

| Package | Component | | ------------------------------------------------------------------------------- | -------------------------------------------- | | @radix-ui/react-dialog | Dialog | | @radix-ui/react-popover | Popover | | @radix-ui/react-select | Select | | vaul | Drawer | | react-day-picker | DatePicker, DateRangePicker, MultiDatePicker | | input-otp | InputOTP | | react-markdown rehype-highlight rehype-raw rehype-sanitize remark-gfm | MarkdownViewer |


Theme System

CSS custom properties defined in theme.css. Never hardcode colors.

Tokens: primary · secondary · accent · background · foreground · muted · border · card · popover · success · warning · error · info
Each has a -foreground variant. Dark mode activates via the dark class.

<div className="bg-primary text-primary-foreground" />

License

MIT © Nidhal Bettaibi