Topics / #css-in-js
CSS in js projects on GitHub
Writing component-scoped styles directly in JavaScript.
As of , the most-starred CSS in js projects on GitHub are ant-design (100.4K stars), styled-components (41K stars) and chakra-ui (40.8K stars). GitHub.Locker tracks 13 CSS in js repositories with 362.5K stars combined. The fastest-growing on December 4 was ant-design, with +17 stars in a day.
Hot right now
Most stars gained in a day · Dec 4
+17ant-design
ant-design/ant-design · ★ 100.4KAnt Design is an enterprise-class UI design language and a React component library for building web applications.
mantine
mantinedev/mantine · ★ 32KMantine is a fully featured React components library: @mantine/core alone ships 100+ components, and companion packages cover forms, charts, notifications, editors and more.
postcss
postcss/postcss · ★ 29KPostCSS is a Node.js tool for transforming styles with JS plugins: it parses CSS into an Abstract Syntax Tree and gives plugins an API to analyze and modify its rules.
+3emotion
emotion-js/emotion · ★ 18KEmotion is a performant and flexible CSS-in-JS library for JavaScript: you write styles in your JS code instead of separate CSS files. It is one of the most popular libraries in this space.
The all-time top
13 projects · by stars
- 100.4K
#1 · ant-design/ant-designant-design
Ant Design is an enterprise-class UI design language and a React component library for building web applications.
- 41K
#2 · styled-components/styled-components
styled-components
A CSS-in-JS library for React: styles are written in JavaScript and turned into styled components, with one API across server components, client components, streaming SSR and React Native.
- 40.8K
#3 · chakra-ui/chakra-uichakra-ui
Chakra UI is a component system for building SaaS products with speed: a set of accessible React components for creating web apps and design systems.
- 4
mantine
32Kmantinedev/mantine · TypeScriptMantine is a fully featured React components library: @mantine/core alone ships 100+ components, and companion packages cover forms, charts, notifications, editors and more.
- 5
postcss
29Kpostcss/postcss · TypeScriptPostCSS is a Node.js tool for transforming styles with JS plugins: it parses CSS into an Abstract Syntax Tree and gives plugins an API to analyze and modify its rules.
- 6

react-native-web
22.2Knecolas/react-native-web · JavaScriptReact Native for Web is a set of cross-platform React UI packages; this repository is the development monorepo where the react-native-web package and related projects are built.
- 7
unocss
19Kunocss/unocss · TypeScriptUnoCSS is an instant on-demand atomic CSS engine: it generates only the utility classes your code actually uses, so you ship minimal CSS for the web.
- 8

emotion
18Kemotion-js/emotion · JavaScriptEmotion is a performant and flexible CSS-in-JS library for JavaScript: you write styles in your JS code instead of separate CSS files. It is one of the most popular libraries in this space.
- 9

tamagui
14.3Ktamagui/tamagui · TypeScriptTamagui is a set of TypeScript libraries for styling React apps: a universal style library, an optimizing compiler, and an optional UI kit that let you share UI code across web and React Native.
- 10

evergreen
12.4Ksegmentio/evergreen · JavaScriptEvergreen is Segment's React UI framework — a set of polished, enterprise-grade React components for web apps that work out of the box.
- 11
linaria
12.4Kcallstack/linaria · TypeScriptLinaria is a zero-runtime CSS-in-JS library: you write styles in JavaScript or TypeScript, and they are extracted to plain CSS files at build time.
- 12

stylex
10.5Kmeta/stylex · JavaScriptStyleX is a styling system from Meta — a JavaScript library for defining styles for optimized user interfaces.
- 13

vanilla-extract
10.5Kvanilla-extract-css/vanilla-extract · TypeScriptvanilla-extract lets you write CSS styles in TypeScript (or JavaScript) with locally scoped class names and CSS variables, then compiles everything into static CSS files at build time with zero runtime cost.
Related topics
Often tagged together