panda-css

Automate CSS-in-JS styling with Panda CSS design tokens and atomic output.

1.6k|123|Updated Jul 15, 2019
One-click install
npx skills add https://github.com/hashintel/hash --skill panda-css
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: panda-css
Source: https://github.com/hashintel/hash/tree/main/.codex/skills/panda-css
Command: npx skills add https://github.com/hashintel/hash --skill panda-css

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Panda CSS provides guidance for a CSS-in-JS framework with static analysis and atomic CSS output for type-safe, optimized styling.

Core Features & Use Cases

  • Static analysis at build time to extract styles from source
  • Just-In-Time (JIT) CSS generation for only used styles
  • Design tokens and theming for scalable UI systems
  • Patterns for cascade layers: reset, base, tokens, recipes, utilities

Quick Start

Fetch the aggregated Panda CSS docs and start integrating atomic styles in your components.

Frequently Asked Questions about panda-css

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up type-safe CSS-in-JS styling with Panda CSS?

Panda CSS automates CSS-in-JS styling through static build-time analysis that extracts styles from your source code, generates atomic CSS output, and provides type-safe APIs for components. Configure design tokens, recipes, and extend rules in your Panda config to enable type checking and responsive/conditional styling across your project.

What's the difference between static analysis and JIT CSS generation in Panda CSS?

Static analysis at build time scans your source to extract only the styles you use, preventing unused CSS bloat. JIT generation creates atomic CSS output on demand, so your final stylesheet contains only classes your components actually reference, reducing bundle size and improving performance.

Can I use design tokens and theming with Panda CSS?

Yes, Panda CSS includes built-in design token and theming support. Define tokens for colors, spacing, and typography in your config, then reference them in styled components and recipes. Cascade layer ordering (reset, base, tokens, recipes, utilities) ensures predictable style precedence and makes theme switching straightforward.

How do I manage responsive and conditional styles in Panda CSS?

Panda CSS recipes and styled components support responsive breakpoints and conditional styling through its type-safe API. Define responsive arrays and conditional objects in your component styles, and Panda generates the necessary media queries and selectors automatically at build time.

Do I need to write raw CSS when using Panda CSS?

No. Panda CSS handles atomic CSS generation and cascade layer management automatically. You define styles through @pandacss packages, styled components, and design tokens in your config; Panda extracts and outputs optimized CSS without manual intervention.