awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
vanilla-extract-css avatar

vanilla-extract-css/vanilla-extract

0
View on GitHub↗
10,387 星标·349 分支·TypeScript·MIT·7 次浏览vanilla-extract.style↗

Vanilla Extract

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 utilities including component style isolation, static CSS compilation, and type-safe design theme management. These capabilities allow for the creation of consistent visual systems and the ability to switch between multiple themes.

Features

  • Zero-Runtime Styling Engines - Implements a zero-runtime styling engine that shifts all CSS generation to the compile-time step.
  • Zero-Runtime - Converts TypeScript style definitions into standard CSS files to improve browser performance.
  • Component Styling - Ensures styles remain local to specific components by assigning unique identifiers to classes and variables.
  • CSS-in-JS Compilers - Compiles type-safe CSS-in-JS definitions into static CSS files to remove runtime overhead.
  • Scoped Style Generators - Generates unique class names and local variables to isolate styles to individual UI components.
  • Type-Safe Style Schemas - Uses TypeScript as a configuration language to define type-safe constraints for styles and tokens.
  • Static Style Generators - Compiles styles into static files during the build process to eliminate browser-side computation.
  • Type-Safe Styling Utilities - Provides development tools to ensure CSS property values are valid through TypeScript type checking.
  • CSS Build Tools - Provides a build-time engine that compiles TypeScript style definitions into static CSS files.
  • CSS Property Validations - Uses type definitions to validate that CSS property values adhere to standard specifications.
  • CSS Scoping Engines - Provides a build-time engine to isolate locally scoped variables, animations, and font rules.
  • CSS Class Prefixing - Generates unique and deterministic identifiers for CSS classes at build time to prevent naming collisions.
  • Type-Safe Theme Customization - Implements a type-safe theme system with scoped variables for switching between multiple visual themes.
  • Theme Compilers - Processes theme variables during the build phase to generate static CSS custom properties.
  • Type-Safe Design Systems - Enables the creation of consistent, type-safe design themes that can be shared and switched dynamically.
  • Styling - Zero-runtime CSS-in-JS with full TypeScript support.
  • Styling and Icons - Zero-runtime stylesheet generation.

Star 历史

vanilla-extract-css/vanilla-extract 的 Star 历史图表vanilla-extract-css/vanilla-extract 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Vanilla Extract 的开源替代方案

相似的开源项目,按与 Vanilla Extract 的功能重合度排序。
  • callstack/linariacallstack 的头像

    callstack/linaria

    12,335在 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
    在 GitHub 上查看↗12,335
  • emotion-js/emotionemotion-js 的头像

    emotion-js/emotion

    18,017在 GitHub 上查看↗

    This project is a styling library and framework designed for component-based architectures, enabling developers to define and manage visual styles directly within JavaScript or TypeScript. It functions as a styling engine that generates unique class names from style definitions, ensuring encapsulated, predictable, and maintainable visual presentation across applications. By integrating with component logic, it allows for the creation of reusable UI elements with styles defined through template literals or object syntax. The library distinguishes itself through a comprehensive suite of build-t

    JavaScriptbabel-plugincsscss-in-js
    在 GitHub 上查看↗18,017
  • atlassian-labs/compiledatlassian-labs 的头像

    atlassian-labs/compiled

    2,049在 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
    在 GitHub 上查看↗2,049
  • mui/pigment-cssmui 的头像

    mui/pigment-css

    1,125在 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

    TypeScript
    在 GitHub 上查看↗1,125
查看 Vanilla Extract 的所有 30 个替代方案→

常见问题解答

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 and design tokens, compiling these definitions into static CSS files during the build process to eliminate styling overhead in the browser.

vanilla-extract-css/vanilla-extract 的主要功能有哪些?

vanilla-extract-css/vanilla-extract 的主要功能包括:Zero-Runtime Styling Engines, Zero-Runtime, Component Styling, CSS-in-JS Compilers, Scoped Style Generators, Type-Safe Style Schemas, Static Style Generators, Type-Safe Styling Utilities。

vanilla-extract-css/vanilla-extract 有哪些开源替代品?

vanilla-extract-css/vanilla-extract 的开源替代品包括: callstack/linaria — Linaria is a zero-runtime CSS-in-JS library and static CSS generator. It evaluates JavaScript expressions at build… emotion-js/emotion — This project is a styling library and framework designed for component-based architectures, enabling developers to… atlassian-labs/compiled — Compiled is a styling framework for React that converts component-level styles into static, atomic CSS files during… mui/pigment-css — Pigment CSS is a framework-agnostic styling tool that moves component style processing from the browser runtime to the… facebook/stylex — StyleX is a type-safe CSS-in-JS library and atomic CSS compiler that transforms JavaScript style definitions into… styled-components/styled-components — styled-components is a CSS-in-JS styling library and tool for React components. It provides a cross-platform UI…