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

@minuk-hwang-design-system/base-react

v1.0.0

Published

React base components for the Minuk Hwang Design System

Readme

@minuk-hwang-design-system/base-react

Headless components. Behavior and accessibility, no styling.

This is the layer that makes the design system's opinions optional. components-react is one styled implementation on top of it; anyone wanting a different look can take these and bring their own CSS.

What gets wrapped, what gets written

Not every primitive is worth building. The line runs through how much of a component's correctness lives in a published specification.

Wrap Radix when WAI-ARIA already specifies the behavior. Dialog, menu, popover, select, tabs — these have documented keyboard contracts, focus management rules and screen-reader expectations. Getting them subtly wrong is easy, and the failure is invisible until someone tries to use a keyboard.

Write it ourselves when the behavior is ours. Anything composing design system concepts rather than implementing a standard. Press handling that has to work identically on a button, an a and a div is one of those, and it lives one layer down in behavior-react; Button here is built on it.

The point is not that Radix is better code. It is that a bug in usePress shows up in review, and a bug in focus-trapping a dialog shows up in an accessibility audit six months later.

| Group | Primitives | Source | What is hard to get right | | ---------- | ----------------------------------------------------------- | ------ | ----------------------------------------------------------------------------------- | | Overlay | dialog alert-dialog popover tooltip dropdown-menu | Radix | Focus trap, portal, scroll lock, collision-aware positioning, Escape | | Navigation | tabs accordion | Radix | Roving tabindex, arrow keys, aria-controls wiring | | Form | select checkbox radio-group switch label | Radix | Typeahead, group focus, label-control association | | Display | toast avatar separator | Radix | Live regions, image fallback timing | | Utility | slot visually-hidden | Radix | asChild composition, screen-reader-only text | | Behavior | button | ours | A native button already carries the semantics; what varies is which element renders |

Deliberately absent: AspectRatio (pure CSS), ScrollArea (native scrolling is fine), Slider and Progress (nothing needs them yet), Menubar, NavigationMenu and Toolbar (desktop-app shapes), Form (fights react-hook-form and friends).

Server components

Everything here is a client component. Radix primitives all carry 'use client', and press handling needs state.

That matters when composing. Pulling a base component into a presentational one moves that component to the client too. Compose at the boundary instead — a server component can render a client one as a child, and pass server-rendered content through as children.

Usage

Each primitive is its own subpath, so importing a dialog does not pull in a select.

import { Dialog } from '@minuk-hwang-design-system/base-react/dialog';
import { DropdownMenu } from '@minuk-hwang-design-system/base-react/dropdown-menu';

<DropdownMenu.Root>
  <DropdownMenu.Trigger className={trigger}>Options</DropdownMenu.Trigger>
  <DropdownMenu.Content className={menu} sideOffset={8}>
    <DropdownMenu.Item onSelect={onRename}>Rename</DropdownMenu.Item>
  </DropdownMenu.Content>
</DropdownMenu.Root>;

Every part forwards className and ref, so styling stays entirely the caller's. The wrappers exist to fix the parts we always want — content portalled, sensible collision padding — not to hide Radix. Its own props pass straight through, and its docs remain the reference.