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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@poak-dev/quokka-ui

v1.0.2

Published

**A token-driven React component library focused on accessibility, theming, and developer experience.**

Readme

🦘 Quokka UI

A token-driven React component library focused on accessibility, theming, and developer experience.

Quokka UI helps you build modern, accessible interfaces with predictable design tokens, Tailwind v4 utilities, and a consistent API.
Every component is built with React, TypeScript, and Radix primitives, ensuring strong accessibility and composability out of the box.


🚀 Features

  • 🎨 Token-driven design – built on CSS variables and Tailwind v4 theme tokens for instant dark/light mode.
  • Accessible by default – components follow WAI-ARIA standards and use Radix primitives under the hood.
  • 🧹 Composable API – small, reusable pieces designed for flexibility without sacrificing structure.
  • Modern stack – React + TypeScript + Vite + Tailwind v4 + Radix UI.
  • 🧱 Design system ready – create consistent themes and component tokens that scale across projects.
  • 🥪 Fully tested – Vitest + React Testing Library ensure stability and confidence in production.
  • 📘 Storybook docs – preview, test, and explore every component interactively.

📦 Installation

# npm
npm install @poak-dev/quokka-ui

# or yarn
yarn add @poak-dev/quokka-ui

# or pnpm
pnpm add @poak-dev/quokka-ui

Then import the base styles and start using components:

import '@poak-dev/quokka-ui/dist/index.css';
import { Button } from '@poak-dev/quokka-ui';

export function Example() {
  return <Button variant="solid">Click me</Button>;
}

🧬 Theming

Quokka UI uses CSS variables for tokens (color, radius, spacing, etc.) and Tailwind v4 for utilities.
Switch themes instantly using a single attribute:

<html data-theme="light">
  <!-- or data-theme="dark" -->
</html>

You can override any token directly in your global CSS:

:root {
  --color-brand: #4f46e5;
  --radius-lg: 1rem;
}

🧱 Development

Run locally in dev mode:

pnpm install
pnpm dev

Run Storybook:

pnpm storybook

Run tests:

pnpm test

Build the library:

pnpm build

🧹 Component Philosophy

Each component is:

  • Headless where it matters (fully controllable with props)
  • Styled with Tailwind v4 utilities
  • Accessible by default via Radix primitives
  • Composable and tree-shakeable with minimal API surface

🥪 Example Components

  • Button – variants, sizes, loading state, icons
  • Input – label, description, error text
  • Modal – overlay, scroll lock, keyboard a11y
  • Select – Radix-powered with keyboard navigation
  • Toast – stacked notifications with variants and actions

(See Storybook for full examples.)


🔧 Tech Stack

| Category | Stack | |-----------|-------| | Framework | React + TypeScript | | Styling | Tailwind v4 + CSS Variables | | Accessibility | Radix UI primitives | | Documentation | Storybook | | Testing | Vitest + React Testing Library | | Build | Vite | | Package | pnpm |


🤝 Contributing

Contributions and feedback are welcome.
Fork the repo, create a feature branch, and open a pull request.

Please ensure your changes follow the existing code style and include relevant tests and Storybook stories.


📄 License

MIT © 2025 Pourya Akraminayeri