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

@yokouma/oxygen-react

v0.1.0

Published

Oxygen Design System — composants React consommables par Figma Make

Readme

@yokouma/oxygen-react

Oxygen Design System — bibliothèque de composants React prête pour la production et compatible Figma Make.

Installation

npm install @yokouma/oxygen-react
# ou
yarn add @yokouma/oxygen-react
# ou
pnpm add @yokouma/oxygen-react

Oxygen utilise des classes Tailwind CSS. Assurez-vous que Tailwind CSS est installé dans votre projet.

Usage rapide

import { Button, Badge, Card, Text, Input } from "@yokouma/oxygen-react";

export default function App() {
  return (
    <Card variant="elevated" padding="md">
      <Text variant="h4">Oxygen UI</Text>
      <Badge variant="success" dot>Actif</Badge>
      <Input label="Email" placeholder="[email protected]" />
      <Button variant="primary" size="md">Envoyer</Button>
    </Card>
  );
}

Composants disponibles

| Composant | Description | |-------------|--------------------------------------------------| | Button | Bouton avec variantes, tailles, icônes et état loading | | Text | Typographie (h1–h6, body, label, caption, code…) | | Badge | Étiquette colorée avec dot indicator | | Card | Conteneur avec header/body/footer | | Input | Champ texte avec label, hint, erreurs et addons | | Select | Liste déroulante accessible | | Avatar | Photo de profil ou initiales avec status | | Spinner | Indicateur de chargement | | Divider | Séparateur horizontal/vertical avec label | | Stack | Layout flexbox déclaratif |

Design Tokens

import { tokens, colors, typography, spacing } from "@yokouma/oxygen-react/tokens";

// Accès direct aux valeurs
const blue = colors.primary[600]; // "#2563eb"
const fontSm = typography.fontSize.sm; // "0.875rem"
const space4 = spacing[4]; // "1rem"

Utilisation avec Figma Make

Cette bibliothèque est conçue pour être importée directement dans Figma Make :

  1. Publiez le package sur npm (npm publish)
  2. Dans Figma Make, ajoutez la dépendance : @yokouma/oxygen-react
  3. Importez les composants dans votre code généré :
import { Button, Text, Card } from "@yokouma/oxygen-react";

Les props de chaque composant sont entièrement typées en TypeScript, ce qui permet à Figma Make d'inférer les variantes disponibles.

Développement local

# Installer les dépendances
npm install

# Build
npm run build

# Mode watch
npm run dev

# Vérifier les types
npm run lint

Structure

src/
├── components/
│   ├── Avatar/
│   ├── Badge/
│   ├── Button/
│   ├── Card/
│   ├── Divider/
│   ├── Input/
│   ├── Select/
│   ├── Spinner/
│   ├── Stack/
│   └── Text/
├── tokens/
│   ├── colors.ts
│   ├── typography.ts
│   ├── spacing.ts
│   └── index.ts
├── utils/
│   └── cn.ts
└── index.ts

License

MIT