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

@dashforge/rn

v0.0.1

Published

Token-first React Native UI library. Props, not styles.

Downloads

278

Readme

@dashforge/rn

Token-first React Native UI library. Props, not styles.

Part of Dashforge, sharing its reactive engine, form bridge and RBAC layer with the web renderers, and nothing else.

Status: 0.0.1, the first published cut. The component surface is complete and covered by tests, but the API is still free to move before 0.1.0.

What it is

A React Native library where every visual decision is a typed prop resolved against design tokens, with no build step, no native modules, and no Expo requirement.

  • Props, not styles. You describe intent (variant, color, size), not appearance.
  • Zero configuration. Install it and nothing else. No Metro config, no Babel preset, no prebuild, no dev client.
  • Three-tier tokens. Primitive to semantic to component, so a rebrand is a remapping and dark mode is one tier swapping.
  • RBAC-aware and form-integrated, through the shared Dashforge core.

Install

pnpm add @dashforge/rn

The four shared core packages are peer dependencies, so they are installed alongside:

pnpm add @dashforge/ui-core @dashforge/forms @dashforge/rbac @dashforge/calendar-core

Requires React 19.2.3 or newer and React Native 0.78 or newer.

Usage

Wrap the app once. The provider renders no view of its own: it wires the theme store to the platform, and everything it takes is optional.

import { DashforgeNativeProvider } from '@dashforge/rn/theme';

export default function App() {
  return (
    <DashforgeNativeProvider>
      <Screen />
    </DashforgeNativeProvider>
  );
}

Then the components read the theme themselves.

import { Button, Card, TextField } from '@dashforge/rn';

function Screen() {
  const [q, setQ] = useState('');

  return (
    <Card>
      <TextField label="Search" value={q} onChangeText={setQ} fullWidth />
      <Button size="sm" color="secondary" variant="outline" onPress={submit}>
        Send
      </Button>
    </Card>
  );
}

Without a storage adapter the chosen mode does not survive a relaunch, and without a datePicker adapter a DateField falls back to the calendar this library draws itself. Both are valid configurations, and both are a prop on the provider.

Entry points

| Import | What it holds | | --- | --- | | @dashforge/rn | The components and the hooks. | | @dashforge/rn/theme | The theme runtime and the styling API: defineTheme, sv, createRecipe, useTheme, the provider. | | @dashforge/rn/tokens | The token tiers and the palette builder. |

What is in it

Form fields: TextField, Textarea, NumberField, SearchField, DateField, DateRangeField, OTPField, Slider, Checkbox, Switch, RadioGroup, Select.

Layout and surfaces: Surface, SurfaceViewport, Stack, Card, Divider, KeyboardAvoidingContainer, Header, TabBar, FAB.

Content: Typography, Image, Avatar, Badge, Chip, Spinner, Skeleton, EmptyState, List, ListItem.

Overlays and navigation: Modal, BottomSheet, Popover, Snackbar, Tabs, Accordion, SegmentedControl, SwipeableRow, createDialogs, createActionSheet.

Hooks: useAccessState, useVisibility, useKeyboardHeight, useRefreshControl.

Documentation

ARCHITECTURE.md is normative: it is the reference for how this package is built and why, and when an implementation choice contradicts it, the document wins or the document gets amended first. It lives in the repository rather than in the package.

Licence

MIT.