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

svemac-ui

v0.0.3

Published

[![NPM Version](https://img.shields.io/npm/v/svemac-ui?color=007AFF&style=flat-square)](https://www.npmjs.com/package/svemac-ui) [![Svelte Version](https://img.shields.io/badge/Svelte-5.0+-FF3E00?style=flat-square&logo=svelte)](https://svelte.dev) [![Lice

Readme

svemac-ui 

NPM Version Svelte Version License

A high-fidelity macOS component library for Svelte 5, built with Tailwind CSS. Designed for developers who want to create authentic, premium desktop-style web applications with zero compromise on aesthetics.


✨ Features

  • 💎 Authentic Design: Precise dimensions, typography, and glassmorphism (backdrop blurs) matching macOS Monterey/Ventura/Sonoma.
  • 🌓 Dynamic Interactivity: Built-in dark mode support, traffic light hover states, and smooth spring-based transitions.
  • Svelte 5 Powered: Engineered with the latest Svelte snippets and runes for maximum performance and a modern developer experience.
  • 🎨 Tailwind CSS: Easy to customize while staying true to the system design language.
  • 🧩 Atomic Architecture: 50+ components from basic Atoms to complex Organisms like Desktop and TitleBar.

🚀 Installation

Install the package via your favorite package manager:

pnpm add svemac-ui
# or
npm install svemac-ui

🛠 Usage

Integrating svemac-ui into your Svelte 5 application is simple:

<script>
  import { TitleBar, Toolbar, PushButton, SegmentedControl } from 'svemac-ui';
</script>

<div class="macos-window">
  <TitleBar title="My Application" active={true} showNavigation={true}>
    <Toolbar align="center">
      <SegmentedControl 
        options={[
          { label: 'Files', value: 'files' },
          { label: 'Photos', value: 'photos' }
        ]} 
        value="files"
      />
    </Toolbar>
    
    <Toolbar align="right">
      <PushButton variant="secondary" label="Share" />
    </Toolbar>
  </TitleBar>
  
  <main class="content">
    <!-- Your application content -->
  </main>
</div>

<style>
  .macos-window {
    width: 800px;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  }
</style>

🧱 Components Showcase

svemac-ui provides a rich set of components classified by Atomic Design principles:

Organisms

  • TitleBar: Unified and centered window headers.
  • MenuBar: System-wide top navigation bar.
  • Dock: Dynamic application launcher with magnification.
  • Desktop: Full environment runner with wallpaper support.
  • Table: High-performance data tables with macOS styling.

Molecules

  • TrafficLights: Functional window controls (Close, Minimize, Zoom).
  • Sidebar: Authentic folder and navigation sidebars.
  • SaveDialog: Standard system dialog layouts.
  • Notification: Native-style alert banners.

Atoms

  • PushButton: Standard, Primary, and Destructive variants.
  • SegmentedControl: Pill-shaped toggle groups.
  • SearchField: Glassmorphic search inputs with clear actions.
  • Menu / MenuItem: Contextual and application menus.
  • Slider / Switch / Stepper: Fine-grained input controls.

🎨 Design Principles

Our components strictly adhere to the macOS Human Interface Guidelines (HIG):

  • Glassmorphism: Using backdrop-filter: blur(30px) and semi-transparent backgrounds.
  • Typography: Optimized for SF Pro (system fonts) with precise weight mapping (semibold 590).
  • Transitions: Using ease-in-out and spring physics for a "responsive and alive" feel.

👩‍💻 Development

If you want to contribute or explore the library locally:

  1. Clone & Install:

    git clone https://github.com/thanhtran/svemac-ui.git
    pnpm install
  2. Explore Storybook:

    pnpm run storybook
  3. Build the Lib:

    pnpm run build

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.