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

@stareezy-ui/components

v1.1.3

Published

Stareezy UI component library — 17+ cross-platform React Native and web components

Readme

@stareezy-ui/components

17+ cross-platform UI components for React Native and web, built on the Stareezy UI token system.

npm


Installation

Web (React / Next.js / Vite)

npm add @stareezy-ui/tokens @stareezy-ui/components @stareezy-ui/runtime
# or
pnpm add @stareezy-ui/tokens @stareezy-ui/components @stareezy-ui/runtime
# or
yarn add @stareezy-ui/tokens @stareezy-ui/components @stareezy-ui/runtime

React Native (Expo / bare workflow)

yarn add @stareezy-ui/tokens @stareezy-ui/components @stareezy-ui/runtime

Optional peer dependency — Slider component only

The Slider component requires @react-native-community/slider on React Native. All other components use only React Native core APIs.

yarn add @react-native-community/slider
# bare workflow only — Expo managed workflow handles this automatically
npx pod-install

If you don't install it, Slider renders an empty placeholder and logs a warning in dev mode. All other components work without it.

Metro config

Metro must be able to resolve the exports field in package.json. Add this to your metro.config.js:

const { getDefaultConfig } = require("expo/metro-config");

const config = getDefaultConfig(__dirname);

// Required: allow Metro to resolve package exports subpaths
config.resolver.unstable_enablePackageExports = true;

module.exports = config;

If you use @tamagui/metro-plugin or another Metro wrapper, apply the exports flag before wrapping:

const { getDefaultConfig } = require("expo/metro-config");
const { withTamagui } = require("@tamagui/metro-plugin");

let config = getDefaultConfig(__dirname);
config.resolver.unstable_enablePackageExports = true;

module.exports = withTamagui(config, {
  /* ... */
});

Babel config

Add the stareezy babel plugin to your babel.config.js. Keep it before any Tamagui plugin:

const { stareezyBabelPlugin } = require("@stareezy-ui/compiler/babel");

module.exports = function (api) {
  api.cache(true);
  return {
    presets: ["babel-preset-expo"],
    plugins: [
      stareezyBabelPlugin(),
      // ... other plugins
      // keep @tamagui/babel-plugin last if you use Tamagui
    ],
  };
};

The compiler package also needs to be installed:

yarn add -D @stareezy-ui/compiler

Usage

Primitives

import { Box, Text, HStack, VStack } from '@stareezy-ui/components'
import { colors, spacing, radius } from '@stareezy-ui/tokens'

// Box — foundational layout primitive
<Box
  bg={colors.celurenBlue[500]}
  p={spacing[4]}
  rounded={radius.md}
  flexDirection="row"
  alignItems="center"
/>

// Text — typography with 50+ variants
<Text type="M-heading-bold" text="Hello world" />
<Text type="S-paragraph-regular" text="Body copy" color="#024CCE" />
<Text text="" emptyState="—" />

// Layout stacks
<HStack gap={8}>
  <Text text="Left" />
  <Text text="Right" />
</HStack>

<VStack gap={16}>
  <Text text="Top" />
  <Text text="Bottom" />
</VStack>

Button

import { Button } from '@stareezy-ui/components'

<Button variant="primary"   size="md" text="Submit" onPress={() => {}} />
<Button variant="secondary" size="md" text="Cancel" />
<Button variant="primary"   size="md" text="Loading" loading />
<Button variant="primary"   size="md" text="Disabled" disabled />

Variants: primary | secondary | tertiary | link | transparent
Sizes: sm | md | lg | xl | xxl

Responsive props

All style props accept breakpoint maps:

<Box
  flexDirection={{ base: "column", md: "row" }}
  p={{ base: spacing[2], lg: spacing[6] }}
/>

Full component list

Box, Text, HStack, VStack, Button, Input, Checkbox, CheckboxOption, Dropdown, FilterButton, PinCode, Ratings, Screen, ViewStack, Spacer, Line, Dot, CardBox, Card, GroupContainer, Footer, Header, Topbar, BaseModal, BottomSheets, Drawer, ImageModal, CalendarModal, DateRangeCalendarModal, MonthCalendarModal, Labels, Badges, BadgesStatus, Avatars, Loading, LoadingSpinner, ProgressBar, Toast, EmptyState, Calendar, CalendarV2, BirthdateCalendar, LineChart, RadarChart, BarChart, Table, TopTabs, Pagination, SummaryCard, Photo, UploadPhoto, and more.


Peer dependencies

| Dependency | Required | Notes | | ------------------------------------ | -------- | --------------------------------------------- | | react ≥ 18 | ✅ | | | react-native ≥ 0.73 | optional | Only needed for React Native targets | | @react-native-community/slider ≥ 4 | optional | Only needed if you use the Slider component |


License

MIT