Skip to content
React Libraries
On this page

Linaria

A CSS-in-JS library that extracts styles at build time.

What it does

A CSS-in-JS library that extracts styles at build time.

When it fits

Keeping styles near components while producing static CSS.

Other options in this category

  • chroma.js — Generating palettes and color scales for interfaces or charts.
  • Class Variance Authority — Managing size, color, and state variants in a component system.
  • clsx — Building className values from component states and optional styles.
  • CSS Modules — Writing stylesheets without exposing every class name globally.
  • Emotion — Building component-level styles with a flexible CSS-in-JS API.

Source

Project source for Linaria ↗

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

Style and theme components →

All styling & themes options →