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

@makemore/mobile-design-system

v0.1.1

Published

iOS-style mobile UI components for Next.js + shadcn/ui + Tailwind. Drop-in native mobile prototyping kit.

Readme

@makemore/mobile-design-system

iOS-style mobile UI components for Next.js + shadcn/ui + Tailwind CSS.

Build native-feeling mobile prototypes in the browser. On desktop you get a centred phone frame with notch and home indicator; on mobile it goes full-screen automatically.

Quick Start

# Add components to your Next.js project
npx @makemore/mobile-design-system init

# Or include the interactive demo page too
npx @makemore/mobile-design-system init --demo

Components are copied into src/components/mobile/ (source files, not compiled — fully yours to customise).

Prerequisites

| Requirement | Why | |---|---| | Next.js 14+ | App Router, "use client" directives | | Tailwind CSS 3+ | All styling | | shadcn/ui initialised | Uses @/lib/utils (cn helper) and CSS variable theming | | lucide-react | Icons used by StatusBar, NavigationBar, MobileListItem |

Components

Layout

| Component | Description | |---|---| | MobileShell | Phone-sized container on desktop, full-screen on mobile. Wrap your whole page. | | StatusBar | Fake iOS status bar (time, signal, wifi, battery) | | NavigationBar | Top nav with back button, title (standard or large), and right action slot | | TabBar | Bottom tab bar with icons and labels | | PageContent | Scrollable content area with iOS momentum scrolling |

UI

| Component | Description | |---|---| | MobileListGroup | iOS Settings-style grouped list section with optional header/footer | | MobileListItem | List row with icon, label, detail, chevron, or custom right element | | MobileSearchBar | Rounded search input | | SegmentedControl | Pill-style toggle (like iOS UISegmentedControl) | | MobileSpinner | Activity indicator | | MobileProgressBar | Thin progress bar | | MobileEmptyState | Centred placeholder for empty views |

Overlays

| Component | Description | |---|---| | MobileActionSheet | Slides up from bottom with action buttons + cancel | | MobileActionSheetItem | Individual action row (supports destructive style) | | MobileBottomSheet | Half/full-sheet modal with drag handle and done button |

Usage

"use client";

import {
  MobileShell,
  StatusBar,
  NavigationBar,
  TabBar,
  PageContent,
  MobileListGroup,
  MobileListItem,
} from "@/components/mobile";
import { Home, Settings, Wifi, Bluetooth } from "lucide-react";
import { Switch } from "@/components/ui/switch";

export default function MyPage() {
  const [activeTab, setActiveTab] = useState("home");

  return (
    <MobileShell>
      <StatusBar />
      <NavigationBar title="Settings" largeTitle />
      <PageContent>
        <MobileListGroup header="Network">
          <MobileListItem
            label="Wi-Fi"
            detail="Home"
            icon={<Wifi className="h-4 w-4" />}
            chevron
            onClick={() => {}}
          />
          <MobileListItem
            label="Bluetooth"
            icon={<Bluetooth className="h-4 w-4" />}
            rightElement={<Switch />}
          />
        </MobileListGroup>
      </PageContent>
      <TabBar
        items={[
          { id: "home", label: "Home", icon: <Home className="h-5 w-5" /> },
          { id: "settings", label: "Settings", icon: <Settings className="h-5 w-5" /> },
        ]}
        activeId={activeTab}
        onSelect={setActiveTab}
      />
    </MobileShell>
  );
}

Demo

Run npx @makemore/mobile-design-system init --demo, start your dev server, and visit:

http://localhost:3000/mobile-design-system

The demo page showcases every component across four tabs: Home (components overview), Forms, Feedback, and Settings.

Customisation

Everything uses shadcn's CSS variable theming, so your existing theme applies automatically. The source files live in your project — edit colours, spacing, typography, or add new components directly.

License

MIT