styled-components/css-to-react-native
Convert CSS text to a React Native stylesheet object observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 74
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3584
- days_rel: n/a
- days_push: 156
- n_releases_24m: 0
Adoption not part of the score
1178 stars · 82 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TypeScript library that converts CSS text into React Native stylesheet objects, handling camelCase conversion, shorthand expansion, and value transformations. It is used by styled-components and can be used standalone to translate CSS declarations into React Native-compatible style objects.
Use cases
- convert css text to react native stylesheet object
- expand css shorthand properties like margin and font for react native
- transform kebab-case css properties to camelcase react native styles
- reuse existing css styles in a react native app
- parse css declarations into javascript style objects
When to choose
- you need to translate CSS strings or shorthand into React Native style objects programmatically
- you are building tooling or styling libraries on top of React Native and need CSS parsing
- you want to migrate or share styles between web CSS and React Native
When to avoid
- you need full CSS support including selectors, media queries, or border-side shorthands
- you are styling web apps rather than React Native
- you need runtime CSS cascade features rather than static style conversion
Facets
library · maturity active
parser serialization mobile-development frontend web-development css react-native stylesheet-conversion styled-components typescript nodejs javascript
2 sources
- readme: https://github.com/styled-components/css-to-react-native · fetched 2026-08-28 · feeba7a50042
- registry_npm: https://registry.npmjs.org/css-to-react-native · fetched 2026-08-29 · 3d40536edcf3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| styled-components/css-to-react-native | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="styled-components/css-to-react-native")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem