Hash panda-css
Panda CSS styling framework guidance. Use when working with @pandacss packages, styled components, design tokens, or responsive/conditional styles.
install
source · Clone the upstream repo
git clone https://github.com/hashintel/hash
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/hashintel/hash "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/panda-css" ~/.claude/skills/hashintel-hash-panda-css && rm -rf "$T"
manifest:
.claude/skills/panda-css/SKILL.mdsource content
Panda CSS
CSS-in-JS framework with static analysis and atomic CSS output for type-safe, optimized styling.
LLM-Optimized Documentation
Fetch these pre-compiled docs for comprehensive topic coverage:
| Topic | URL | Covers |
|---|---|---|
| Complete Docs | https://panda-css.com/llms-full.txt | Everything in one file |
| Overview | https://panda-css.com/llms.txt/overview | Getting started, browser support, FAQ, why Panda |
| Installation | https://panda-css.com/llms.txt/installation | Framework-specific setup guides |
| Concepts | https://panda-css.com/llms.txt/concepts | Patterns, recipes, conditional styles, responsive design, cascade layers, hooks |
| Theming | https://panda-css.com/llms.txt/theming | Design tokens, text styles, layer styles, animation styles |
| Utilities | https://panda-css.com/llms.txt/utilities | All CSS utilities by category (background, border, flex, grid, typography, etc.) |
| Customization | https://panda-css.com/llms.txt/customization | Custom theme, utilities, patterns, presets |
| Guides | https://panda-css.com/llms.txt/guides | Practical use case guides |
| Migration | https://panda-css.com/llms.txt/migration | Migrating from other CSS-in-JS libraries |
| References | https://panda-css.com/llms.txt/references | CLI commands, configuration reference |
For broad topic understanding, fetch the aggregated
/llms.txt/topic URL. For specific page details, fetch /docs/path/page.mdx.
Key Concepts
Cascade Layers (specificity order)
- CSS reset/preflightreset
- Global base stylesbase
- Design token CSS variablestokens
- Component recipe stylesrecipes
- Atomic utility classesutilities
Styling Approaches
function - Inline atomic stylescss()- Recipes (
) - Multi-variant component styles with base, variants, compoundVariantscva - Config recipes - JIT generation, only used variants compiled
- Patterns - Layout primitives (Stack, Flex, Grid, Container)
Conditional Styling
- Pseudo-classes:
,_hover
,_focus
,_active_disabled - Pseudo-elements:
,_before_after - Responsive:
,sm
,md
,lg
,xl
breakpoints2xl - Color opacity:
syntax (e.g.,color/opacity
)blue.500/50
Design Tokens
- Semantic tokens with light/dark mode support
- Token categories: colors, spacing, sizes, fonts, radii, shadows
- Access via
function or curly brace syntaxtoken()
Key Patterns
- Static analysis at build time extracts styles from source
- JIT CSS generation - only used styles are compiled
- Type-safe APIs with generated TypeScript types
- Atomic CSS output for optimal caching
keyword for customizing without losing defaultsextend