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

@girumtech/native

v0.1.3

Published

React Native entry point for GsDesignSystem

Readme

@girumtech/native

React Native entry point for GsDesignSystem, a TypeScript design system built with Tamagui. It exports shared components and themes, native SVG icons, and curated React Native-compatible layout primitives.

Requirements

  • React 19 or newer
  • React Native 0.81 or newer
  • Tamagui 2.7
  • React Native SVG 15 or newer

Installation

npm install @girumtech/native tamagui react-native-svg

For a bare React Native iOS application, install CocoaPods after adding the dependencies:

cd ios
pod install
cd ..

Application setup

Add GsProvider once near the application root. It supplies the Tamagui configuration, tokens, and default theme.

// App.tsx
import { Button, GsProvider, ScrollView, Text, YStack } from '@girumtech/native'

export default function App() {
  return (
    <GsProvider defaultTheme="blue">
      <ScrollView backgroundColor="$background">
        <YStack padding="$4" gap="$4">
          <Text variant="title">My application</Text>
          <Text tone="muted">Built with GsDesignSystem.</Text>
          <Button onPress={() => console.log('Pressed')}>Continue</Button>
        </YStack>
      </ScrollView>
    </GsProvider>
  )
}

Available themes are red, red_dark, blue, and blue_dark.

GsProvider does not have to live directly in App.tsx, but it should appear once above components that use theme tokens. It can be placed in a dedicated application providers component or in the registered root component.

Components

import { Button, Field, Text, XStack, YStack } from '@girumtech/native'

export function ProfileForm() {
  return (
    <YStack padding="$4" gap="$4" backgroundColor="$background">
      <Text variant="title">Profile</Text>

      <Field
        id="display-name"
        label="Display name"
        placeholder="Your name"
        helperText="This name is visible to your team."
      />

      <XStack gap="$3">
        <Button onPress={() => console.log('Saved')}>Save</Button>
        <Button intent="secondary">Cancel</Button>
      </XStack>
    </YStack>
  )
}

Buttons and inputs use the active theme accent for their border by default. Override it with the standard Tamagui borderColor prop:

<Button borderColor="#7C3AED">Custom border</Button>
<Field id="code" label="Code" borderColor="#7C3AED" />

Switching themes

Use the exported Theme component when the selected theme changes at runtime:

import { useState } from 'react'
import {
  Button,
  GsProvider,
  Text,
  Theme,
  YStack,
  type GsThemeName,
} from '@girumtech/native'

export function ThemeExample() {
  const [theme, setTheme] = useState<GsThemeName>('blue')

  return (
    <GsProvider defaultTheme="blue">
      <Theme name={theme}>
        <YStack flex={1} padding="$4" gap="$4" backgroundColor="$background">
          <Text variant="title">Current theme: {theme}</Text>
          <Button onPress={() => setTheme('red')}>Use red</Button>
          <Button onPress={() => setTheme('blue_dark')}>Use dark blue</Button>
        </YStack>
      </Theme>
    </GsProvider>
  )
}

Icons

Built-in icons and custom path icons share the same native SVG API:

import { Icon, NamedIcon, type IconPath } from '@girumtech/native'

const spark: readonly IconPath[] = [
  {
    d: 'M12 2 14.5 9.5 22 12l-7.5 2.5L12 22l-2.5-7.5L2 12l7.5-2.5L12 2Z',
    fill: 'currentColor',
  },
]

export function Icons() {
  return (
    <>
      <NamedIcon name="heart" size={28} color="#FC2B2B" label="Favorite" />
      <Icon paths={spark} size={32} color="#2323F7" label="Spark" />
    </>
  )
}

Decorative icons may omit label; meaningful icons should provide one for accessibility.

Exports

The package exports GsProvider, Theme, Button, Input, Field, Text, Icon, NamedIcon, tokens, themes, and the curated Image, ScrollView, Separator, View, XStack, YStack, and ZStack primitives.