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

tailwind-quartz

v0.3.2

Published

Modern Tailwind-based component library with Quartz design system

Readme

tailwind-quartz

Modern Tailwind-based component library with the Quartz design system.

Installation

npm install tailwind-quartz
# or
pnpm add tailwind-quartz
# or 
yarn add tailwind-quartz

Quick Start

Preview Components

To see all components in action with interactive documentation:

npm install
npm run storybook

This will open Storybook at http://localhost:6006 with all components, their variants, and interactive controls.

1. Import Components

import { Button, Card, Input, Select } from 'tailwind-quartz';

function App() {
  return (
    <Card title="Welcome">
      <Button intent="primary">Get Started</Button>
    </Card>
  );
}

2. Configure Tailwind

Add the Tailwind Quartz preset to your tailwind.config.js:

const { tailwindQuartzPreset } = require('tailwind-quartz/tailwind-preset');

module.exports = {
  presets: [tailwindQuartzPreset],
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
    './node_modules/tailwind-quartz/**/*.{js,mjs}',
  ],
};

Components

Layout

  • Box - Basic building block with polymorphic as prop
  • Flex - Flexbox container with alignment props

Typography

  • Text - Body text component
  • Title - Page/section titles
  • Subtitle - Section subtitles
  • Labeling - Form labels and small text
  • Microlabeling - Extra small labels
  • Value - Monospace value display

Form Controls

  • Input - Text input with variants and validation states
  • Select - Dropdown select component
  • Checkbox - Checkbox input
  • Radio - Radio button input
  • Toggle - Toggle switch component

Buttons & Actions

  • Button - Primary action button with loading states
  • IconButton - Icon-only button variant

Display

  • Card - Content container with title and actions
  • Modal - Dialog/modal component
  • Badge - Status indicators and labels
  • Tooltip - Hover tooltips
  • Table - Data table components
  • Spinner - Loading spinner

Navigation

  • Dropdown - Dropdown menu component

Design Tokens

Access the complete Quartz design system tokens:

import { colors, spacing, typography, shadows } from 'tailwind-quartz/tokens';

// Use tokens directly in your styles
const styles = {
  color: colors.primary,
  padding: spacing[4],
  fontSize: typography.fontSizes.text,
  boxShadow: shadows.primary,
};

Available Tokens

  • colors - Primary, grayscale, and semantic label colors
  • spacing - Consistent spacing scale (0-15)
  • typography - Font families, sizes, and weights
  • iconSizes - Icon size scale (xxs to xl)
  • shadows - Elevation and state shadows
  • borderRadius - Radius scale from none to full
  • transitions - Animation timing functions
  • zIndices - Layering z-index values

Dark Mode Support

The design tokens include dark mode variants. Configure your app to use the dark class on the root element to enable dark mode.

TypeScript Support

This package includes TypeScript definitions for all components and tokens.

License

MIT