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

sander-ui

v0.1.25

Published

A modern React component library built with TypeScript and CSS Modules

Readme

🧩 sander-ui

npm version license

A modern, accessible React component library — lightweight, themeable, and ready for production.

🌐 Live Demo · 📖 Storybook Docs

✨ Why sander-ui?

  • Accessibility-first — Built on native HTML elements (<dialog>, <details>), full ARIA support, keyboard navigation, and focus management baked into every component.
  • Zero-runtime styling — CSS Modules + CSS Custom Properties. Scoped styles with zero CSS-in-JS overhead.
  • Minimal dependencies — Only classnames and lucide-react at runtime. All animations are pure CSS — no heavy libraries needed.
  • 28 production-ready components — Forms, feedback, data display, navigation, and layout with compound component patterns (e.g. Modal + ModalHeader/Body/Footer).
  • Design token system — Comprehensive CSS custom properties for colors, typography, spacing, radii, shadows, and transitions — ready for theming via simple variable overrides.
  • Tree-shakeable — ES module exports with subpath imports (sander-ui/button) for optimal bundle size.
  • TypeScript-first — Strict mode, full type definitions, and clear prop interfaces for every component.

📦 Installation

npm install sander-ui

Peer dependencies: React 18 or 19

🚀 Usage

Import components and the stylesheet:

import { Button, Input, Modal } from "sander-ui";
import "sander-ui/styles.css";

You can also import individual components via subpath exports for optimal tree-shaking:

import { Button } from "sander-ui/button";
import { Modal, ModalHeader, ModalBody, ModalFooter } from "sander-ui/modal";

Use them in your app:

function App() {
  return (
    <div>
      <Button variant="primary" size="md" onClick={() => alert("Clicked!")}>
        Click me
      </Button>
      <Input label="Email" placeholder="[email protected]" />
    </div>
  );
}

Many components support compound patterns for flexible composition:

<Card>
  <CardHeader>
    <Heading as="h3">Card Title</Heading>
  </CardHeader>
  <CardBody>
    <Text>Card content goes here.</Text>
  </CardBody>
  <CardFooter>
    <Button variant="primary">Save</Button>
  </CardFooter>
</Card>

🗂️ Components

📝 Form

Button · IconButton · Input · Textarea · Select · Checkbox · Radio · Switch

💬 Feedback

Alert · Toast · Progress · Spinner · Skeleton

📊 Data Display

Avatar · Badge · Table · Tooltip · Accordion

🧭 Navigation

Tabs · Breadcrumbs · Pagination · Dropdown

📐 Layout

Container · Card · Modal · Drawer · Heading · Text

See the components in action at the 🌐 Live Demo, or browse interactive examples and full prop documentation at the 📖 Storybook.

🎨 Theming

All visual decisions are centralized in CSS custom properties, making theming as simple as overriding variables:

:root {
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --font-family: "Inter", system-ui, sans-serif;
  --radius-md: 0.5rem;
}

Available token categories: colors, typography (Outfit), spacing, border radius, shadows, transitions, and z-index.

🌐 Browser Support

Supports all modern browsers (Chrome, Firefox, Safari, Edge). Requires support for CSS Custom Properties and ES Modules.

📄 License

MIT