# vercel/styled-jsx

Full CSS support for JSX without compromises

Repository: https://github.com/vercel/styled-jsx
Canonical: https://ross.abutalabs.com/products/styled-jsx
Homepage: http://npmjs.com/styled-jsx
Language: JavaScript
License: MIT
License Family: permissive
Topics: react, jsx, css, dynamic-styles, css-in-js, shadow-dom
Last push: 2026-06-09T16:20:50+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 86, release rhythm 8, longevity 100
- inputs: {"age_days": 3558, "days_push": 85, "days_rel": 490, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7777, forks 267 (observed 2026-08-28T04:10:04.929799+00:00)

## What it is
styled-jsx is a Babel-based CSS-in-JS library that provides full, scoped CSS support inside JSX components, with dynamic styles and server-side rendering support. It is maintained by Vercel and integrates naturally with React and Next.js projects.

## Use cases
- write scoped css inside react components
- css-in-js for jsx without class name collisions
- style react components with dynamic props
- server-side rendered styled components
- avoid leaking styles to child components
- add css preprocessing plugins to jsx styles

## When to choose
- you use React or Next.js and want colocated scoped styles
- you need dynamic styles driven by component props
- you want SSR-compatible CSS-in-JS with minimal setup

## When to avoid
- you use a framework other than React/JSX
- you prefer plain CSS files or utility-first frameworks like Tailwind
- you need zero-runtime styling or build-time CSS extraction

## Facets
- artifact type: library
- maturity: stable
- function: css-framework, frontend-framework, templating
- domain: frontend, web-development, web-design
- platform: browser
- tags: css-in-js, react, jsx, scoped-styles, babel-plugin, dynamic-styles, shadow-dom, server-side-rendering, nodejs, web-server

## Member repositories
- vercel/styled-jsx (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:04.929799+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-29T17:34:58.060603+00:00, confidence not recorded.
  - readme: https://github.com/vercel/styled-jsx (fetched 2026-08-28T04:10:04.929799+00:00, sha 00bb4a4c96c5)
  - registry_npm: https://registry.npmjs.org/styled-jsx (fetched 2026-08-29T08:31:20.501636+00:00, sha bd573478adaf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
