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

@galaui/react

v0.7.0

Published

Modern Base UI & Tailwind CSS v4 Component Library and Design Tokens

Readme

@galaui/react

A modern, accessible React component library and design system powered by @base-ui/react, Tailwind CSS v4 (CSS-first / Zero Config), and pure CSS variables for complete token and theme customizability.


📦 Installation

Install the package via your favorite package manager:

# npm
npm install @galaui/react

# pnpm
pnpm add @galaui/react

# yarn
yarn add @galaui/react

# bun
bun add @galaui/react

🚀 Quick Start

1. Import Stylesheet

Import the GalaUI stylesheet at the root of your application (e.g. main.tsx, App.tsx, or Next.js layout.tsx):

import "@galaui/react/styles.css";

2. Use Components

import {
  Button,
  Dialog,
  DialogTrigger,
  DialogPopup,
  DialogHeader,
  DialogTitle,
  DialogDescription,
  DialogFooter,
  DialogClose,
} from "@galaui/react";

export default function Example() {
  return (
    <Dialog>
      <DialogTrigger>
        <Button variant="default" size="md">
          Open Dialog
        </Button>
      </DialogTrigger>
      <DialogPopup>
        <DialogHeader>
          <DialogTitle>GalaUI Dialog</DialogTitle>
          <DialogDescription>
            Fully accessible Base UI dialog powered by Tailwind CSS v4.
          </DialogDescription>
        </DialogHeader>
        <DialogFooter>
          <DialogClose>
            <Button variant="outline" size="sm">Cancel</Button>
          </DialogClose>
          <Button variant="default" size="sm">Confirm</Button>
        </DialogFooter>
      </DialogPopup>
    </Dialog>
  );
}

🎨 Full Design Token & Theme Customization

GalaUI design tokens (Typography, Corner Radii, Component Sizing, and Semantic Colors) are driven 100% by CSS Custom Variables. You can customize them directly in your project's globals.css:

@import "@galaui/react/styles.css";

/* Customize Light Mode & Global Tokens */
:root {
  /* 1. Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* 2. Border Radius Scale */
  --radius: 12px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* 3. Brand / Semantic Colors */
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-active: #3730A3;
  --primary-foreground: #FFFFFF;

  --background: #FFFFFF;
  --foreground: #09090B;
  --border: #E4E4E7;
}

/* Customize Dark Mode */
.dark {
  --primary: #6366F1;
  --primary-hover: #818CF8;
  --background: #09090B;
  --foreground: #FAFAFA;
  --border: #27272A;
}

🛠 Development & Local Workbench

To run the local interactive component test bench and playground:

# Start dev server
npm run dev

# Build library for publishing
npm run build:lib

# Build standalone playground HTML
npm run build:app

🚀 Publishing to npm

  1. Login to your npm account:

    npm login
  2. Publish to npm (public access is free):

    npm publish --access public

📄 License

MIT © GalaUI