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

@marcwelti/mw-ui

v0.4.4

Published

Marc Welti - Styled UI components based on shadcn/ui

Downloads

2,604

Readme

@marcwelti/mw-ui

Marc Welti's UI component library based on shadcn/ui, styled according to the Brand Design System.

Installation

npm install @marcwelti/mw-ui

Setup

1. Import styles in your app's layout

// app/layout.tsx
import '@marcwelti/mw-ui/styles.css';

2. Configure Tailwind (optional)

If you need to extend the theme in your app, you can import the preset:

// tailwind.config.ts
import type { Config } from 'tailwindcss';

const config: Config = {
  content: [
    './app/**/*.{ts,tsx}',
    './node_modules/@marcwelti/mw-ui/dist/**/*.{js,mjs}',
  ],
  // Your additional config...
};

export default config;

Usage

import { Button, Card, Input, Dialog } from '@marcwelti/mw-ui';

// Intent-based Button system
<Button intent="primary" background="solid">
  Book Now
</Button>

<Button intent="secondary" background="picture" size="lg">
  Learn More
</Button>

// Card with gold accent
<Card variant="gold">
  <CardHeader>
    <CardTitle>Welcome</CardTitle>
    <CardDescription>Get started with Marc Welti</CardDescription>
  </CardHeader>
  <CardContent>
    Content here
  </CardContent>
</Card>

// Input with gold focus
<Input placeholder="Enter your email" />

Components

Core Components

  • Button - Intent-based (primary/secondary/destructive/ghost/link × solid/picture)
  • Input - Text input with gold focus border
  • Textarea - Multi-line text input
  • Label - Form labels
  • Card - Container with default and gold variants
  • Dialog - Modal dialogs
  • Alert - Status messages (default/destructive/success/warning/info)
  • AlertDialog - Confirmation dialogs

Form Components

  • Checkbox - Gold checked state
  • RadioGroup - Radio buttons with gold indicator
  • Switch - Toggle switches with gold when active
  • Select - Dropdown select with gold focus
  • Slider - Range slider with gold track
  • Toggle - Toggle buttons
  • ToggleGroup - Group of toggle buttons
  • Progress - Progress bars with gold indicator
  • InputOTP - OTP input with gold focus

Navigation

  • Tabs - Tab navigation
  • Breadcrumb - Breadcrumb navigation
  • Pagination - Page navigation
  • NavigationMenu - Dropdown navigation
  • Menubar - Application menubar

Data Display

  • Table - Data tables
  • Badge - Status badges (default/secondary/destructive/success/warning/info)
  • Avatar - User avatars
  • Calendar - Date picker calendar
  • Carousel - Image/content carousel
  • Chart - Data visualization (recharts)

Feedback & Overlay

  • Tooltip - Hover tooltips
  • Popover - Click-triggered popovers
  • HoverCard - Hover-triggered cards
  • DropdownMenu - Context menus
  • ContextMenu - Right-click menus
  • Command - Command palette
  • Sheet - Slide-out panels
  • Drawer - Mobile-friendly bottom sheets
  • Toast - Toast notifications
  • Sonner - Toast notifications (alternative)

Layout & Utility

  • Separator - Visual dividers
  • Skeleton - Loading placeholders
  • ScrollArea - Custom scrollbars
  • AspectRatio - Maintain aspect ratios
  • Accordion - Expandable sections
  • Collapsible - Show/hide content
  • Resizable - Resizable panels

Brand Colors

| Color | Hex | Usage | |-------|-----|-------| | Brand Gold | #B08C53 | Primary accent, CTAs | | Gold Hover (Light) | #8B6D3D | Hover state (light mode) | | Gold Hover (Dark) | #C4A066 | Hover state (dark mode) |

Typography

  • Font Family: Poppins
  • Weights: Light (300), Normal (350), Medium (500), Semibold (600)

Dark Mode

All components support dark mode automatically via the .dark class on the <html> element.

// Using next-themes
import { ThemeProvider } from 'next-themes';

<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
  {children}
</ThemeProvider>

License

UNLICENSED - Marc Welti