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

gust-ui

v0.0.15

Published

A modern, lightweight React component library built with TypeScript and Tailwind CSS.

Readme

Gust UI

A modern, lightweight React component library built with TypeScript and Tailwind CSS.

Features

  • 🚀 Zero configuration - Works out of the box
  • 📦 Single import - Everything you need in one package
  • 🎨 Tailwind CSS - Built with utility-first styling
  • 📱 Responsive - Mobile-first design approach
  • 🔧 TypeScript - Full type safety and IntelliSense
  • 🎯 Accessible - Built with accessibility in mind
  • 🌙 Themeable - Dark mode and custom themes support

Installation

npm install gust-ui

Quick Start

import { Button, Input, Card } from 'gust-ui';

function App() {
  return (
    <div className="p-8 space-y-4">
      <Card variant="elevated" padding="lg">
        <h2 className="text-xl font-semibold mb-4">Welcome to Gust UI</h2>
        <Input placeholder="Enter your name" className="mb-4" />
        <Button>Get Started</Button>
      </Card>
    </div>
  );
}

Components

Button

A versatile button component with multiple variants and sizes.

import { Button } from 'gust-ui';

// Basic usage
<Button>Click me</Button>

// With variants and sizes
<Button variant="outline" size="lg">Large Outline</Button>
<Button variant="solid" size="sm">Small Solid</Button>

Props:

  • variant: "solid" | "outline" (default: "solid")
  • size: "sm" | "md" | "lg" (default: "md")
  • All standard HTML button attributes

Input

A styled input component with focus states.

import { Input } from 'gust-ui';

<Input placeholder="Enter text" />
<Input type="email" placeholder="Email address" />

Props:

  • All standard HTML input attributes

Card

A flexible container component for grouping content.

import { Card } from 'gust-ui';

<Card variant="elevated" padding="lg">
  <h3>Card Title</h3>
  <p>Card content goes here</p>
</Card>

Props:

  • variant: "default" | "outlined" | "elevated" (default: "default")
  • padding: "none" | "sm" | "md" | "lg" (default: "md")
  • All standard HTML div attributes

Styling

Gust UI uses Tailwind CSS for styling. The package includes:

  • Design tokens - CSS custom properties for consistent theming
  • Component styles - Pre-styled components that work out of the box
  • Tailwind plugin - Optional utilities and components

Design Tokens

The package includes CSS custom properties for consistent theming:

:root {
  --color-brand-500: oklch(0.72 0.12 250);
  --radius-md: 0.5rem;
  --btn-bg: var(--color-brand-500);
}

Dark Mode

Dark mode is supported through CSS custom properties:

:root.dark {
  --btn-bg: oklch(0.60 0.10 250);
}

Custom Themes

You can create custom themes using data attributes:

[data-theme="alt"] {
  --color-brand-500: oklch(0.72 0.14 210);
  --btn-bg: var(--color-brand-500);
}

Advanced Usage

Tailwind Plugin (Optional)

For advanced customization, you can use the included Tailwind plugin:

// tailwind.config.js
import { twPlugin } from 'gust-ui';

export default {
  content: ['./src/**/*.{js,ts,jsx,tsx}'],
  plugins: [twPlugin],
}

CSS Import (Optional)

If you need to import the CSS tokens separately:

@import 'gust-ui/dist/tokens.css';

TypeScript

Gust UI is built with TypeScript and provides full type definitions:

import { Button, ButtonProps } from 'gust-ui';

const MyButton: React.FC<ButtonProps> = (props) => {
  return <Button {...props} />;
};

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT License - see LICENSE file for details.

Author

Created by HotSlug


Made with ❤️ for the React community