# lelandrichardson/react-primitives

Primitive React Interfaces Across Targets

Repository: https://github.com/lelandrichardson/react-primitives
Canonical: https://ross.abutalabs.com/products/react-primitives
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2025-12-11T17:46:50+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 56, release rhythm 8, longevity 100
- inputs: {"age_days": 3816, "days_push": 265, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3075, forks 105 (observed 2026-08-28T04:07:41.733444+00:00)

## What it is
A JavaScript library providing a shared set of primitive React interfaces (View, Text, Image, Touchable, StyleSheet, Animated) that work across web, React Native, Sketch, Figma, VR, and Windows targets. It lets developers write platform-agnostic React components without touching platform-specific APIs.

## Use cases
- write react components that run on web and native
- share ui components between react and react native
- build cross-platform design systems with react
- render react components to sketch or figma
- use react native stylesheet api on the web
- avoid platform-specific apis in shared components

## When to choose
- you maintain a component library targeting both web and react native
- you want a thin universal primitive layer over react-native-web and react-native
- you render react components to design tools like sketch or figma

## When to avoid
- you need a full cross-platform app framework with navigation and platform apis
- you only target a single platform
- you need modern actively developed alternatives like tamagui or nativewind

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation, state-management
- domain: cross-platform, frontend, web-development, mobile-development
- platform: cross-platform
- tags: react, react-native, react-native-web, universal-components, stylesheet, sketch, figma, web-server, nodejs, mobile

## Member repositories
- lelandrichardson/react-primitives (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.733444+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:46:37.324142+00:00, confidence not recorded.
  - readme: https://github.com/lelandrichardson/react-primitives (fetched 2026-08-28T04:07:41.733444+00:00, sha 9cb9db2774ff)
  - registry_npm: https://registry.npmjs.org/react-primitives (fetched 2026-08-29T09:43:22.388157+00:00, sha faa61c1e4be3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
