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
mui avatar

mui/pigment-css

0
View on GitHub↗
1,125 stars·55 forks·TypeScript·MIT·26 viewsgithub.com/mui/pigment-css/discussions/424↗

Pigment Css

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 supports component-based style encapsulation, enabling developers to define reusable styles and variant-based logic that remain isolated and maintainable.

Beyond core styling, the tool includes automated support for internationalized user interfaces by generating bidirectional CSS rules for right-to-left layouts. It also offers capabilities for defining global styles, creating reusable animation keyframes, and exposing component slots for theme-based overrides. The framework integrates into modern web environments by extracting colocated styles into static assets during the build process.

Features

  • CSS-in-JS Compilers - Provides a zero-runtime styling framework that compiles component-level CSS-in-JS definitions into static assets during the build phase.
  • Design Tokens - Configures central theme objects containing design values that inject into styles during the build process.
  • Build-Time Style Compilers - Analyzes component logic at build time to convert shorthand properties and style objects into standard CSS class names.
  • Zero-Runtime Styling Engines - Resolves all component styles and variants during compilation to remove the need for a browser-side styling library.
  • Build-Time CSS Extraction - Extracts component styles into standalone CSS files during the build process to eliminate runtime overhead.
  • Static Style Generators - Compiles dynamic component styles into optimized, static CSS files during the build process to eliminate runtime styling overhead.
  • CSS Variable Theming - Transforms centralized design tokens into native CSS variables to enable dynamic, theme-aware styling without a JavaScript runtime engine.
  • Design Token Systems - Provides a configuration-driven system for managing design tokens and transforming them into CSS variables for consistent application styling.
  • Right-To-Left Support - Automatically generates mirrored CSS rules for right-to-left languages during the build process.
  • RTL Generation Tools - Automatically generates mirrored stylesheets for right-to-left languages by detecting layout direction attributes.
  • Component Styling - Defines encapsulated component styles and variant-based logic that compiles into standard class names and CSS rules.
  • Style Encapsulations - Supports encapsulated, reusable component styles that remain isolated and maintainable through build-time processing.
  • Global CSS Stylings - Injects site-wide styles into the application bundle from a top-level entry point for consistent visual presentation.
  • Static Style Extraction - Extracts colocated styles into static CSS files during the build process to eliminate runtime styling overhead.
  • CSS Styling - Creates static CSS classes from style objects or theme-aware callbacks that extract into external files.

Star history

Star history chart for mui/pigment-cssStar history chart for mui/pigment-css

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does mui/pigment-css do?

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.

What are the main features of mui/pigment-css?

The main features of mui/pigment-css are: CSS-in-JS Compilers, Design Tokens, Build-Time Style Compilers, Zero-Runtime Styling Engines, Build-Time CSS Extraction, Static Style Generators, CSS Variable Theming, Design Token Systems.

Which projects share features with mui/pigment-css?

Projects with overlapping indexed features include: atlassian-labs/compiled — Compiled is a styling framework for React that converts component-level styles into static, atomic CSS files during… callstack/linaria — Linaria is a zero-runtime CSS-in-JS library and static CSS generator. It evaluates JavaScript expressions at build… facebook/stylex — StyleX is a type-safe CSS-in-JS library and atomic CSS compiler that transforms JavaScript style definitions into… vanilla-extract-css/vanilla-extract — vanilla-extract is a type-safe CSS-in-JS library and zero-runtime CSS framework. It uses TypeScript to define styles… seek-oss/treat — Treat is a styling library that extracts CSS from JavaScript definitions during the build process to eliminate runtime… tamagui/tamagui — Tamagui is a cross-platform user interface framework designed to build high-performance, themeable applications that…

Projects sharing features with Pigment Css

These projects share indexed features with Pigment Css. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • 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

    TypeScriptbabelcsscss-in-js
    View on GitHub↗2,049
  • 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

    TypeScript
    View on GitHub↗12,335
  • facebook/stylexfacebook avatar

    facebook/stylex

    9,126View on GitHub↗

    StyleX is a type-safe CSS-in-JS library and atomic CSS compiler that transforms JavaScript style definitions into optimized static CSS and type-safe class names. It functions as a multi-framework styling tool, generating standard CSS assets compatible with various JavaScript UI frameworks and server components. The system includes a CSS design token system and theme engine for managing shared constants and composing visual schemes. It allows for the creation of light, dark, and custom themes through variable overrides and token inheritance. The project covers component styling through object

    JavaScript
    View on GitHub↗9,126
  • 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

    TypeScript
    View on GitHub↗10,387
Compare all 30 related projects→

Curated searches featuring Pigment Css

Hand-picked collections where Pigment Css appears.
  • Zero-Runtime CSS-in-JS Libraries