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

@duestel/native-ui

v0.1.0

Published

Material 3 (M3) React Native component library — the native counterpart of @duestel/ui, ported from the Duestel design guide.

Readme

@duestel/native-ui

Material 3 (M3) React Native component library — the native counterpart of @duestel/ui, ported one-to-one from the Duestel design guide.

Same M3 token names, same component API shape (compound Root/Item/… parts), rebuilt on React Native primitives instead of the web's DOM + Base UI.

Stack

  • Expo (SDK 56) + React Native 0.82 + React 19
  • NativeWind v4 (Tailwind v3) — className on RN primitives; the M3 token classes (bg-primary, text-on-surface, rounded-extra-large, text-title-medium, shadow-mm-1, …) are identical to the web package, so visuals port directly. Tokens live in tailwind.config.js + src/styles/global.css.
  • Reanimated v4 — interactive + enter/exit animation
  • react-native-gesture-handler — sliders, sheets, swipe, resizable
  • @gorhom/bottom-sheet — sheet/drawer/select/menu modals
  • @gorhom/portal — overlays (dialog, menu, popover, tooltip, toast) that must escape clipping; the native analogue of the web portal
  • lucide-react-native — icons

Usage

Wrap your app once in NativeUIProvider (gesture root + safe area + portal + bottom-sheet + theme + Readex Pro font loading):

import { NativeUIProvider, Button, Switch } from '@duestel/native-ui'

export default function App() {
  return (
    <NativeUIProvider defaultMode="system">
      <Button.Root variant="filled">Get started</Button.Root>
    </NativeUIProvider>
  )
}

Theme switches via useTheme() (light | dark | system), driving NativeWind's .dark class — the M3 --m3-* tokens swap exactly like the web build.

Develop

Storybook on-device is the demo surface (mirrors the web package). It runs inside this Expo app:

bun run --filter '@duestel/native-ui' start      # regenerates stories + starts Metro
# then press i (iOS sim) / a (Android) — the app boots into Storybook
bun run --filter '@duestel/native-ui' typecheck  # tsc --noEmit

Every component ships a colocated *.stories.tsx. prestart regenerates .rnstorybook/storybook.requires.ts from them.

Layout

src/
  components/<name>/   <Name>.tsx + index.ts + <Name>.stories.tsx
  lib/                 cn (twMerge), state-layer (M3 press overlay)
  providers/           NativeUIProvider, ThemeProvider
  styles/global.css    M3 color tokens (:root light / .dark dark)
  index.ts             root barrel (component namespaces)
tailwind.config.js     M3 type scale / radii / elevation / colors
PORTING_GUIDE.md       web → native porting rules

See the repo-root CLAUDE.md for the design-system source of truth.