# Panda CSS

> Universal, type-safe, CSS-in-JS framework for design systems

Source: https://talira.ai/catalog/panda-css-tqftwdj6
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [libraries / css in js](https://talira.ai/categories/libraries/css-in-js)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source under MIT.
- Free tier: yes[^2]
- Self-hostable: yes
- MCP server: yes[^3]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^3]
- Backed by: [Chakra Systems](https://talira.ai/orgs/chakra-systems.md)

Panda CSS is a styling engine: you write styles in [TypeScript](https://talira.ai/catalog/typescript-w0asrgz8.md) with a `css()` function, JSX style props, layout patterns or variant recipes, and at build time it scans your source and emits only the atomic CSS you used, so no style engine runs in the browser. A codegen step turns your config's design tokens, semantic tokens, themes and recipes into a type-safe `styled-system` package, and the output uses CSS variables and cascade layers. It runs through PostCSS or the Panda CLI with guides for [Next.js](https://talira.ai/catalog/next-js-2chrxyc7.md), [Vite](https://talira.ai/catalog/vite-2kbqmjmm.md), [Astro](https://talira.ai/catalog/astro-9me12zhd.md), Vue, Svelte, SolidJS and more, and ships an MCP server that lets coding agents query a project's tokens and recipes, official agent skills and an [ESLint](https://talira.ai/catalog/eslint-0nyjt04g.md) plugin. It is MIT-licensed and made by Chakra Systems, the team behind Chakra UI.

## Links

- Website: https://panda-css.com/
- GitHub: https://github.com/chakra-ui/panda
- Docs: https://panda-css.com/docs

## Problems it solves

- I like writing styles in TypeScript but don't want a CSS-in-JS runtime slowing down my React app
- styled-components and Emotion don't work well with React Server Components
- type-safe design tokens so a typo in a colour or spacing name fails in the editor
- generate only the atomic CSS my components actually use at build time
- define button and card variants once as recipes and get typed props for them
- set up semantic tokens, dark mode and several brand themes for a design system
- the same styling approach across React, Vue, Svelte, Solid and Qwik projects
- let my coding agent look up our design system's real tokens and recipes instead of guessing
- lint for hard-coded values that should use a design token
- migrate off a runtime CSS-in-JS library without rewriting every component's styles

## Features

- css() function, JSX style props, layout patterns and cva-style recipes that all compile to atomic CSS
- static extraction at build time: only the styles you use reach the stylesheet
- codegen of a type-safe styled-system package from your config
- design tokens, semantic tokens, composite styles, themes and dark mode
- slot recipes for multi-part components and config recipes for design systems
- output with CSS variables and cascade layers, with a polyfill option
- PostCSS plugin and Panda CLI with watch mode
- framework guides for Next.js, Vite, Astro, Nuxt, Vue, Svelte, SolidJS, Qwik, Angular and more
- MCP server (@pandacss/mcp) exposing a project's tokens, recipes, patterns and conditions to AI assistants
- official agent skills for styling, theming and the v1 to v2 upgrade
- ESLint plugin for unresolved tokens and hard-coded values
- migration guides from Chakra UI, Emotion, styled-components, StyleX, Tailwind CSS and vanilla-extract

## Limitations

- Doesn't generate CSS for values only known at runtime: styles are extracted at build time, so values must be visible in the source[^1]

## Capabilities

- Has a command line tool: plan not known
- Has an MCP server: plan not known

## Trust

Overall: 0.38 out of 1.
Signals: backing 0.30, extensibility 0.40.

- backed by Chakra Systems
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [styled-components](https://talira.ai/catalog/styled-components-97cxpqhn.md): Fast, expressive styling for React. Server components, client components, streaming SSR, React Native, all one API.
- [vanilla-extract](https://talira.ai/catalog/vanilla-extract-f6hkm8zf.md): Zero-runtime Stylesheets-in-TypeScript
- [StyleX](https://talira.ai/catalog/stylex-cqw1r35s.md): The expressive, type-safe, composable, predictable and themeable styling system for ambitious interfaces
- [Emotion](https://talira.ai/catalog/emotion-cdf86k4g.md): CSS-in-JS library designed for high performance style composition
- [Tailwind CSS](https://talira.ai/catalog/tailwind-css-wfchsr5n.md): Rapidly build modern websites without ever leaving your HTML.
- [goober](https://talira.ai/catalog/goober-bq3mcays.md): A less than 1KB css-in-js solution

## Sources

[^1]: https://panda-css.com/docs/get-started/why-panda (checked 23 Nov 2026)
[^2]: https://github.com/chakra-ui/panda/blob/v2/LICENSE.md (checked 23 Nov 2026)
[^3]: https://panda-css.com/docs/get-started/mcp-server (checked 23 Nov 2026)
