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

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

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

零运行时 CSS-in-JS 库

排名更新于 2026年6月30日

For 零运行时的 CSS-in-JS 样式库, the strongest matches are vanilla-extract-css/vanilla-extract (vanilla-extract is a type-safe zero-runtime CSS-in-JS library that compiles), callstack/linaria (Linaria is a zero-runtime CSS-in-JS library that extracts styles) and snackui/snackui (SnackUI is a full UI framework built around a). tamagui/tamagui and atlassian-labs/compiled round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

在构建时生成静态 CSS 文件,以消除客户端运行时开销的样式解决方案。

零运行时 CSS-in-JS 库

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • vanilla-extract-css/vanilla-extractvanilla-extract-css 的头像

    vanilla-extract-css/vanilla-extract

    10,387在 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
    在 GitHub 上查看↗10,387
  • 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

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

    snackui/snackui

    14,040在 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
    在 GitHub 上查看↗14,040
  • tamagui/tamaguitamagui 的头像

    tamagui/tamagui

    13,729在 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
    在 GitHub 上查看↗13,729
  • 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

    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
    在 GitHub 上查看↗2,049
  • seek-oss/treatseek-oss 的头像

    seek-oss/treat

    1,143在 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
    在 GitHub 上查看↗1,143
  • 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

    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
    在 GitHub 上查看↗1,125

Related searches

  • Tailwind 工具优先 CSS 插件生态
  • React 组件动画库
  • React 数据获取与缓存库
  • 使用编译型语言编写的高性能 JavaScript 打包工具
  • TypeScript 运行时类型验证库
  • a library of UI components for React
  • SvelteKit 项目 UI 组件库
  • React 表单验证库