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

@stellar-ui-kit/web

v1.1.1

Published

React DOM UI components library - Stellar UI

Downloads

291

Readme

@stellar-ui-kit/web

A comprehensive React component library built with Radix UI and Tailwind CSS. Published on npm.

npm version License: MIT

Features

  • 🎨 48 Production-Ready Components - Comprehensive set of UI components
  • Accessible by Default - Built on Radix UI primitives (WCAG compliant)
  • 🎭 Dark Mode Support - Built-in theme system
  • 🎯 TypeScript First - Full type safety and IntelliSense
  • 🎨 Tailwind CSS - Utility-first styling with design tokens
  • 📦 Tree Shakeable - Only bundle what you use
  • 🔧 Customizable - Variants system with CVA

Installation

npm install @stellar-ui-kit/web

Peer Dependencies

npm install react react-dom

Quick Start

1. Configure Tailwind CSS

Add the Stellar UI preset to your tailwind.config.ts:

import type { Config } from 'tailwindcss';

const stellarPreset = require('@stellar-ui-kit/shared/tailwind-preset');

const config: Config = {
  darkMode: ['class'],
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
    './node_modules/@stellar-ui-kit/web/dist/**/*.{js,mjs}',
  ],
  presets: [stellarPreset],
};

export default config;

2. Import Styles

Import the CSS in your main entry file:

import '@stellar-ui-kit/web/dist/styles.css';

3. Setup Theme Provider

Wrap your app with the ThemeProvider:

import { ThemeProvider } from '@stellar-ui-kit/web';

function App() {
  return <ThemeProvider variant="light">{/* Your app */}</ThemeProvider>;
}

4. Use Components

import { Button, Input, Card } from '@stellar-ui-kit/web';

function MyComponent() {
  return (
    <Card>
      <Input placeholder="Enter text..." />
      <Button>Submit</Button>
    </Card>
  );
}

Available Components

Layout & Structure

  • Card
  • Separator
  • ScrollArea
  • Tabs

Forms & Inputs

  • Button, ButtonGroup
  • Input, InputText, InputSearch, InputPassword, InputCounter, InputOTP
  • TextArea
  • Select, MultiSelect, Combobox
  • Checkbox
  • RadioGroup
  • Switch
  • Toggle
  • Slider
  • Label
  • DatePicker, Calendar

Feedback

  • Alert
  • Progress, CircularProgress
  • Spinner
  • Skeleton
  • Empty
  • Toaster
  • PasswordStrength
  • Rating

Overlays

  • Dialog
  • Drawer
  • Popover
  • Tooltip
  • ContextMenu
  • DropdownMenu
  • Command

Data Display

  • Avatar
  • Badge
  • Breadcrumb
  • Text
  • CodeBlock
  • TextEditor

Interactive

  • Accordion
  • Collapsible

Documentation

Visit our documentation site for:

  • Interactive component previews
  • API reference
  • Usage examples
  • Customization guides
  • Theme documentation

Examples

Button with Variants

import { Button } from '@stellar-ui-kit/web';

<Button variant="default">Primary</Button>
<Button variant="secondary">Secondary</Button>
<Button variant="outline">Outline</Button>
<Button variant="ghost">Ghost</Button>
<Button variant="destructive">Destructive</Button>

Form with Validation

import { Input, Label, Button } from '@stellar-ui-kit/web';

<form>
  <div>
    <Label htmlFor="email">Email</Label>
    <Input
      id="email"
      type="email"
      placeholder="[email protected]"
      aria-invalid={hasError}
    />
  </div>
  <Button type="submit">Submit</Button>
</form>;

Dark Mode Toggle

import { Button } from '@stellar-ui-kit/web';
import { useTheme } from '@stellar-ui-kit/web';

function ThemeToggle() {
  const { variant, setVariant } = useTheme();

  return (
    <Button onClick={() => setVariant(variant === 'light' ? 'dark' : 'light')}>
      Toggle Theme
    </Button>
  );
}

Icons

Lucide React is included as a dependency:

import { Search, Settings, User } from 'lucide-react';
import { Button } from '@stellar-ui-kit/web';

<Button>
  <Search />
  Search
</Button>;

Customization

Components use Tailwind CSS classes and can be customized via className:

<Button className="rounded-full px-8">Custom Button</Button>

TypeScript

Full TypeScript support with exported types:

import type { ButtonProps } from '@stellar-ui-kit/web';

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

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

License

MIT © Stellar UI

Contributing

Contributions are welcome! Please read our contributing guide.

Support