Skip to content

Want to skip the docs? Check out pandamastery.com - the best way to learn Panda CSS

Governance

Analyze usage

Report which tokens and recipes each app actually uses with panda analyze.

panda analyze reports which tokens, recipes, utilities, patterns, and keyframes a project uses. Run it in a consuming app to measure adoption. Run it before removing anything.

pnpm panda analyze
 
# one category
pnpm panda analyze --scope tokens
pnpm panda analyze --scope recipes

Share a report

pnpm panda analyze --report ./analyze-report   # static HTML, shareable
pnpm panda analyze --ui                        # interactive, refreshes on change
pnpm panda analyze --outfile analyze.json      # JSON, for CI or scripts

Before removing a token

A token with zero usage across every consuming app is safe to drop in the next major. One that still shows up gets deprecated first, so consumers are warned while they migrate.

See also

Edit this page on GitHubView as markdown
Last updated on