Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

griffel

> 前端框架
Open source

CSS-in-JS with ahead-of-time compilation ⚡️

1.3K stars0 likes2 views
WebsiteGitHub

About

CSS-in-JS with ahead-of-time compilation ⚡️

CSS-in-JS with ahead-of-time compilation ⚡️

Griffel (German for stylus/pen) is CSS-in-JS with near-zero runtime, SSR support and styles defined with JavaScript objects.

  Zero config start: Griffel has both runtime & build time implementations

  Optional build time transforms to improve performance

  Type-safe styles via csstype

  Uses Atomic CSS to reuse styles and avoid specificity issues with CSS

  Experimental CSS extraction with Webpack plugin

  Debug using Griffel DevTools extension

Griffel with React

bash
npm install @griffel/react
# or
yarn add @griffel/react
  • Quick start
  • API guide
  • README

Learn more?

Check series episodes of Fluent UI Insights related to styling issues and Griffel

EP02: Styling EP03: Griffel

Contributing

This project welcomes contributions and suggestions, please see CONTRIBUTING.md to get started.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

License

This project is licensed under the MIT License, see the LICENSE.md file for details.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptcsscss-in-jsreact

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架