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.md
source 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:

TopicURLCovers
Complete Docshttps://panda-css.com/llms-full.txtEverything in one file
Overviewhttps://panda-css.com/llms.txt/overviewGetting started, browser support, FAQ, why Panda
Installationhttps://panda-css.com/llms.txt/installationFramework-specific setup guides
Conceptshttps://panda-css.com/llms.txt/conceptsPatterns, recipes, conditional styles, responsive design, cascade layers, hooks
Theminghttps://panda-css.com/llms.txt/themingDesign tokens, text styles, layer styles, animation styles
Utilitieshttps://panda-css.com/llms.txt/utilitiesAll CSS utilities by category (background, border, flex, grid, typography, etc.)
Customizationhttps://panda-css.com/llms.txt/customizationCustom theme, utilities, patterns, presets
Guideshttps://panda-css.com/llms.txt/guidesPractical use case guides
Migrationhttps://panda-css.com/llms.txt/migrationMigrating from other CSS-in-JS libraries
Referenceshttps://panda-css.com/llms.txt/referencesCLI 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)

  1. reset
    - CSS reset/preflight
  2. base
    - Global base styles
  3. tokens
    - Design token CSS variables
  4. recipes
    - Component recipe styles
  5. utilities
    - Atomic utility classes

Styling Approaches

  • css()
    function - Inline atomic styles
  • Recipes (
    cva
    ) - Multi-variant component styles with base, variants, compoundVariants
  • 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
    ,
    2xl
    breakpoints
  • Color opacity:
    color/opacity
    syntax (e.g.,
    blue.500/50
    )

Design Tokens

  • Semantic tokens with light/dark mode support
  • Token categories: colors, spacing, sizes, fonts, radii, shadows
  • Access via
    token()
    function or curly brace syntax

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
  • extend
    keyword for customizing without losing defaults