awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Zero-Runtime CSS-in-JS Libraries

Ranking updated Jun 30, 2026

For a CSS-in-JS styling library with zero runtime, the first results are vanilla-extract-css/vanilla-extract (vanilla-extract is a type-safe zero-runtime CSS-in-JS library that compiles styles to static CSS at build time, eliminating runtime overhead and supporting theming, TypeScript, and build tool integration — exactly matching your need for a performance-friendly styling solution), callstack/linaria (Linaria is a zero-runtime CSS-in-JS library that extracts styles into static CSS at build time, exactly matching the need for a performance-sensitive setup with its compile-time extraction, theming support, TypeScript support, and minimal runtime footprint) and snackui/snackui. tamagui/tamagui and atlassian-labs/compiled round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Styling solutions that generate static CSS files at build time to eliminate client-side runtime overhead.

Zero-Runtime CSS-in-JS Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • vanilla-extract-css/vanilla-extractvanilla-extract-css avatar

    vanilla-extract-css/vanilla-extract

    10,387View on GitHub↗

    vanilla-extract is a type-safe CSS-in-JS library and zero-runtime CSS framework. It uses TypeScript to define styles and design tokens, compiling these definitions into static CSS files during the build process to eliminate styling overhead in the browser. The system acts as a scoped CSS generator, producing unique class names and local variables to prevent global style leakage and naming collisions. It provides a type-safe styling tool that validates CSS property values and ensures design tokens adhere to defined themes during development. The framework covers comprehensive styling utilitie

    vanilla-extract is a type-safe zero-runtime CSS-in-JS library that compiles styles to static CSS at build time, eliminating runtime overhead and supporting theming, TypeScript, and build tool integration — exactly matching your need for a performance-friendly styling solution.

    TypeScriptStatic Style GeneratorsZero-RuntimeZero-Runtime Styling Engines
    View on GitHub↗10,387
  • callstack/linariacallstack avatar

    callstack/linaria

    12,335View on GitHub↗

    Linaria is a zero-runtime CSS-in-JS library and static CSS generator. It evaluates JavaScript expressions at build time to extract styles from tagged template literals into standalone, static CSS files, removing the need for a runtime style injection engine. The library distinguishes itself by mapping component props to CSS custom properties, enabling dynamic styling and runtime property updates without regenerating stylesheets. It utilizes a build-time evaluation engine to resolve interpolations and a hashing system to generate scoped class names that prevent style collisions. The project c

    Linaria is a zero-runtime CSS-in-JS library that extracts styles into static CSS at build time, exactly matching the need for a performance-sensitive setup with its compile-time extraction, theming support, TypeScript support, and minimal runtime footprint.

    TypeScriptBuild-Time CSS ExtractorsStatic CSS StylingStatic Style Extraction
    View on GitHub↗12,335
  • snackui/snackuisnackui avatar

    snackui/snackui

    14,040View on GitHub↗

    SnackUI is a cross-platform UI framework and universal component library designed to share styling and components between React and React Native. It functions as a CSS-in-JS compiler that ensures visual parity across web and mobile environments. The framework utilizes a build-time tool to convert styles into atomic CSS or hoisted objects. This process optimizes runtime performance and loading speeds by extracting styles during the compilation phase. The system provides a set of adaptable interface elements and a mapping layer that renders a single component definition into platform-specific

    SnackUI is a full UI framework built around a zero-runtime CSS-in-JS compiler that converts styles to atomic CSS at build time, delivering static CSS output and theming support with TypeScript — exactly the compile-time-extraction approach and minimal footprint this search targets.

    TypeScriptZero-Runtime Styling Engines
    View on GitHub↗14,040
  • tamagui/tamaguitamagui avatar

    tamagui/tamagui

    13,729View on GitHub↗

    Tamagui is a cross-platform user interface framework designed to build high-performance, themeable applications that share logic and styling across web and mobile environments. It functions as a comprehensive design system orchestrator, providing a collection of type-safe components that compile to optimized atomic CSS for the web and native code for mobile platforms. By utilizing a build-time compiler, the framework eliminates runtime overhead, ensuring consistent visual output and interaction behavior regardless of the target platform. The framework distinguishes itself through its advanced

    Tamagui is a cross-platform UI framework built on a compile-time CSS-in-JS engine that generates static atomic CSS during build, eliminating runtime overhead while offering theming, TypeScript support, and integration with Vite and Webpack — directly matching your search for a performance-focused zero-runtime CSS-in-JS library.

    TypeScriptStatic Style ExtractionCSS Variable Theming
    View on GitHub↗13,729
  • atlassian-labs/compiledatlassian-labs avatar

    atlassian-labs/compiled

    2,049View on GitHub↗

    Compiled is a styling framework for React that converts component-level styles into static, atomic CSS files during the build process. By utilizing build-time abstract syntax tree transformations, the library eliminates the need for runtime style injection, ensuring that styles are processed and optimized before the application executes. The framework distinguishes itself by decomposing complex style objects into individual, reusable utility classes, which minimizes total stylesheet size. It maintains support for dynamic component properties by mapping them to CSS custom variables, allowing f

    Compiled is a compile-time CSS-in-JS library for React that extracts styles to static CSS during build, meaning zero runtime overhead and direct integration with tools like Babel, Webpack, and Parcel — a perfect fit for performance-sensitive apps needing TypeScript theming support.

    TypeScriptStatic Style GeneratorsZero-Runtime Styling Engines
    View on GitHub↗2,049
  • seek-oss/treatseek-oss avatar

    seek-oss/treat

    1,143View on GitHub↗

    Treat is a styling library that extracts CSS from JavaScript definitions during the build process to eliminate runtime overhead. It functions as a static style extraction tool, converting component-level style definitions into optimized, standalone CSS files. The framework is designed for building type-safe, themeable design systems that allow user interface components to adapt their appearance based on active design system settings. The library distinguishes itself by enabling complex style composition, including pseudo-selectors, media queries, and animations, within a unified object struct

    treat is a themeable, statically extracted CSS‑in‑JS library with near‑zero runtime, offering compile‑time extraction and webpack integration, which directly matches the request for a build‑time CSS generation library for performance‑sensitive applications.

    TypeScriptStatic Style ExtractionCSS Variable Theming
    View on GitHub↗1,143
  • mui/pigment-cssmui avatar

    mui/pigment-css

    1,125View on GitHub↗

    Pigment CSS is a framework-agnostic styling tool that moves component style processing from the browser runtime to the build phase. By parsing component source code and theme configurations during compilation, it generates standalone, optimized CSS files and standard class names, effectively eliminating the need for runtime style calculation. The library provides a system for managing design tokens, such as colors and spacing, by transforming them into native CSS variables. This approach allows for dynamic styling and theme-aware logic without requiring a JavaScript-based engine. It also supp

    Pigment CSS is a zero-runtime CSS-in-JS library that extracts colocated styles to static CSS at build time, directly matching your need for compile-time extraction and minimal runtime footprint, though it is still in alpha and may not yet provide built-in theming or advanced build-tool integration.

    TypeScriptStatic Style ExtractionStatic Style GeneratorsZero-Runtime Styling Engines
    View on GitHub↗1,125
  • stitchesjs/stitchesstitchesjs avatar

    stitchesjs/stitches

    7,785View on GitHub↗

    Stitches is a CSS-in-JS library and near-zero runtime CSS engine designed to define styles in JavaScript with minimal overhead. It functions as a variant-based styling framework and a tool for server-side rendered CSS, ensuring styles are extracted and rendered on the server to prevent layout shifts during client hydration. The project distinguishes itself through a structured variants API, allowing for the creation of multiple visual states for components that can be toggled via properties. It implements a system for design system development, focusing on high-performance UI styling and the

    Stitches is a CSS-in-JS library with a near-zero runtime engine, but it generates styles at runtime (including server-side) rather than extracting them statically at build time, so it does not deliver the compile-time elimination of runtime overhead you need.

    JavaScriptZero-Runtime Styling EnginesCSS Variable Theming
    View on GitHub↗7,785
  • argyleink/open-propsargyleink avatar

    argyleink/open-props

    5,409View on GitHub↗

    Open Props is a CSS custom property library and design token set providing reusable variables for colors, typography, and layout. It functions as a CSS variable framework and design system intended to ensure visual consistency across components and platforms. The project includes an optimization toolkit for generating selector-scoped variable bundles and removing unused design tokens from stylesheets to reduce final file size. It also provides configuration files to enable design variable autocompletion within code editors. The system covers broader capabilities in adaptive web interface des

    Open Props is a CSS custom property and design token library, not a CSS-in-JS system — it provides reusable CSS variables for theming and consistency but does not generate static CSS from JavaScript components at build time, so it lacks the core compile-time extraction and runtime elimination you need.

    HTMLCSS Variable ThemingCSS Theme Variable Managers
    View on GitHub↗5,409
  • mui/material-uimui avatar

    mui/material-ui

    98,459View on GitHub↗

    Material UI is a comprehensive component-based library designed to accelerate the construction of professional, accessible web interfaces. It provides a centralized design system framework that manages visual tokens, typography, and color palettes to ensure consistent branding and layout constraints across complex application architectures. By encapsulating behavioral and accessibility logic within modular primitives, the library enables developers to build inclusive user experiences that adhere to rigorous design standards. The project distinguishes itself through a zero-runtime styling engi

    Material UI is a React component library with a CSS-in-JS engine, but it uses runtime emotion for styling rather than generating static CSS at build time, which is the core requirement of a zero-runtime library.

    JavaScriptZero-Runtime Styling EnginesCSS Theme Variable Managers
    View on GitHub↗98,459
  • addyosmani/criticaladdyosmani avatar

    addyosmani/critical

    10,183View on GitHub↗

    Critical is a tool for extracting and inlining the minimum CSS required to render above-the-fold content. It identifies the styles necessary for the initial visible portion of a page to reduce render-blocking requests and improve page load speed. The project generates resolution-specific stylesheets to optimize the initial paint across different device dimensions. It includes a utility to rebase asset URLs within extracted styles, ensuring that images and fonts load correctly when stylesheets are moved to different directories or content delivery networks. The tool provides a command-line in

    Critical extracts and inlines above-the-fold CSS at build time, but it is a CSS optimization tool for existing stylesheets, not a CSS-in-JS library that generates static CSS from JavaScript-based styles.

    JavaScriptStatic Style Generators
    View on GitHub↗10,183
  • chakra-ui/park-uichakra-ui avatar

    chakra-ui/park-ui

    2,326View on GitHub↗

    Park UI is a collection of accessible, pre-styled interface components designed for consistent design across multiple JavaScript frameworks. It functions as a cross-framework user interface kit that provides functional logic and styling hooks for building inclusive web applications. The library utilizes a headless component architecture that delegates state and accessibility logic to a decoupled engine, allowing for flexible styling. By employing a framework-agnostic approach, it ensures that interface elements maintain a unified design language and reliable behavior across various developmen

    Park UI is a UI component kit built on top of a zero-runtime CSS-in-JS engine, but it delivers pre-styled components rather than being the styling library itself that generates static CSS from your own styles.

    TypeScriptStatic Style Extraction
    View on GitHub↗2,326
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
vanilla-extract-css/vanilla-extract10.4KTypeScriptMITJun 23, 2026
callstack/linaria12.3KTypeScriptMITJun 23, 2026
snackui/snackui
14K
TypeScript
MIT
Jun 17, 2026
tamagui/tamagui13.7KTypeScriptmitFeb 20, 2026
atlassian-labs/compiled2KTypeScriptApache-2.0Jun 22, 2026
seek-oss/treat1.1KTypeScriptMITApr 9, 2024
mui/pigment-css1.1KTypeScriptMITJun 6, 2026
stitchesjs/stitches7.8KJavaScriptMITFeb 10, 2025
argyleink/open-props5.4KHTMLMITJan 31, 2026
mui/material-ui98.5KJavaScriptMITJun 22, 2026

Related searches

  • a utility-first CSS plugin ecosystem for Tailwind
  • an animation library for React components
  • Classless CSS framework
  • a data fetching and caching library for React
  • a fast JavaScript bundler written in a compiled language
  • a runtime type validation library for TypeScript
  • a library of UI components for React
  • a UI component library for SvelteKit projects