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

@md-oss/design-system

v0.10.0

Published

Reusable React UI components, hooks, and styles

Readme

@md-oss/design-system

Shared React component library, based on shadcn/ui components.

This package includes:

  • Core UI primitives (mostly shadcn/radix style building blocks)
  • Higher-level product components (adaptive, sections, state)
  • Theme providers and helpers
  • Form utilities such as schema-driven object forms

Quick usage

import { Button } from '@md-oss/design-system/components/ui/button';

Adding components

Add base shadcn/ui components:

pnpm add:components

Add shadcn registry components:

pnpm dlx shadcn@latest add @aceternity/code-block

Component export catalog

The following list reflects the current component export entrypoints from this package.

Adaptive components

  • ./components/adaptive/dialog - Responsive dialog shell that adapts to viewport (dialog/drawer patterns).
  • ./components/adaptive/tabs - Tabs that adapt interaction and layout across mobile/desktop contexts.
  • ./components/adaptive/tooltip - Tooltip behavior optimized for adaptive device interactions.

Animated components

  • ./components/animated/ambient-blob - Animated decorative blob/background element.
  • ./components/animated/content-marquee - Horizontal marquee/scrolling content track.
  • ./components/animated/staggered-list - List wrapper with staggered entrance animations.

Core utility components

  • ./components/client-only - Client-only render guard to prevent SSR-only execution.
  • ./components/dev-utilities - Development-only helpers and diagnostics UI.

Form components

  • ./components/forms/schema-object-form - Recursive schema-driven object form renderer for Zod object schemas.

Section/layout components

  • ./components/sections/access-denied - Access denied/permission error section with optional card mode.
  • ./components/sections/page-container - Consistent page width and spacing container.
  • ./components/sections/particle-background - Animated particle background section.

State/feedback components

  • ./components/state/confirmation-dialog - Centralized confirmation dialog driven by store state.
  • ./components/state/date-renderer - Smart date display (relative/absolute) with timed refresh behavior.
  • ./components/state/full-page-loader - Full-screen loading overlay portal.
  • ./components/state/http-error-alert - HTTP error presentation component.
  • ./components/state/loader - Loading spinner/indicator component set.
  • ./components/state/loading-overlay - Overlay loading state and progress bar helpers.

Theme components

  • ./components/theme/client-only - Theme-safe client-only wrapper.
  • ./components/theme/provider - Theme provider for app-level theming.
  • ./components/theme/registry - Theme registry wiring for SSR/client hydration.
  • ./components/theme/switcher - Theme switcher control component.
  • ./components/theme/toggle - Theme toggle control component.

UI primitives

  • ./components/ui/accordion - Expand/collapse accordion.
  • ./components/ui/aceternity/code-block - Enhanced code block with syntax highlighting and UI controls.
  • ./components/ui/alert - Alert message primitive.
  • ./components/ui/alert-dialog - Modal alert/confirmation dialog primitive.
  • ./components/ui/aspect-ratio - Aspect ratio constrained container.
  • ./components/ui/avatar - Avatar/image/fallback primitive.
  • ./components/ui/badge - Status and label badge primitive.
  • ./components/ui/breadcrumb - Breadcrumb navigation.
  • ./components/ui/button - Button primitive with variants/sizes.
  • ./components/ui/button-group - Grouped button layout and behavior.
  • ./components/ui/calendar - Calendar/date picker surface.
  • ./components/ui/card - Card container primitives.
  • ./components/ui/carousel - Carousel/slider viewport components.
  • ./components/ui/chart - Chart scaffolding and style helpers.
  • ./components/ui/checkbox - Checkbox control.
  • ./components/ui/collapsible - Collapsible region primitive.
  • ./components/ui/combobox - Searchable combobox/select.
  • ./components/ui/command - Command palette primitives.
  • ./components/ui/context-menu - Context menu primitives.
  • ./components/ui/dialog - Dialog/modal primitives.
  • ./components/ui/direction - Directionality helpers (LTR/RTL support).
  • ./components/ui/drawer - Drawer/sheet-style side/bottom panel.
  • ./components/ui/dropdown-menu - Dropdown menu primitives.
  • ./components/ui/empty - Empty state UI primitive.
  • ./components/ui/extended/callout - Emphasized callout/information block.
  • ./components/ui/extended/copy-button - Copy-to-clipboard button helper.
  • ./components/ui/extended/external-link - External link primitive with safe defaults.
  • ./components/ui/extended/inline-edit - Inline editing suite (text, select, string list).
  • ./components/ui/extended/spoiler - Reveal/hide spoiler content component.
  • ./components/ui/field - Form field wrappers and helpers.
  • ./components/ui/hover-card - Hover card/popover card primitive.
  • ./components/ui/input - Text input primitive.
  • ./components/ui/input-group - Input with leading/trailing slot composition.
  • ./components/ui/input-otp - One-time-password segmented input.
  • ./components/ui/item - Generic item row primitive.
  • ./components/ui/kbd - Keyboard key hint display.
  • ./components/ui/label - Label primitive.
  • ./components/ui/menubar - Menubar primitives.
  • ./components/ui/native-select - Native select wrapper component.
  • ./components/ui/navigation-menu - Navigation menu primitives.
  • ./components/ui/pagination - Pagination controls.
  • ./components/ui/popover - Popover primitives.
  • ./components/ui/progress - Progress bar primitive.
  • ./components/ui/radio-group - Radio group controls.
  • ./components/ui/resizable - Resizable panel primitives.
  • ./components/ui/scroll-area - Styled scroll area primitive.
  • ./components/ui/select - Select primitives.
  • ./components/ui/separator - Separator/divider primitive.
  • ./components/ui/sheet - Sheet/dialog hybrid primitives.
  • ./components/ui/sidebar - Sidebar layout primitives.
  • ./components/ui/skeleton - Skeleton loading placeholder.
  • ./components/ui/slider - Slider/range control.
  • ./components/ui/sonner - Toast integration wrapper.
  • ./components/ui/spinner - Spinner loading indicator.
  • ./components/ui/switch - Toggle switch control.
  • ./components/ui/table - Table primitives.
  • ./components/ui/tabs - Tab primitives.
  • ./components/ui/textarea - Textarea input primitive.
  • ./components/ui/toggle - Toggle button primitive.
  • ./components/ui/toggle-group - Grouped toggle controls.
  • ./components/ui/tooltip - Tooltip primitives.

Notes for consumers

  • Import from package export entrypoints, not deep relative source paths.
  • Prefer the closest semantic component first (for example, state or sections) before dropping to low-level ui primitives.
  • Most components are designed to support class-based customization and slot-level prop overrides.

Why src Is Included In Published Artifacts

We intentionally publish both dist and src.

  • Many design-system packages ship source for better debugging, source maps, IDE navigation, and static analysis.
  • In pnpm injected/packed workspace installs, exported source entrypoints must exist in the packaged artifact.
  • Public runtime entrypoints are still defined by package exports.

Consumers should import documented package entrypoints only; src presence is not a promise that deep source paths are public API.