Skip to content

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

Utility Reference

Helpers

Panda CSS offers utility classes to enhance accessibility and aid in debugging.

Panda CSS offers utility classes to enhance accessibility and aid in debugging.

Screen Reader-Only Content

The srOnly utility class hides content visually while keeping it accessible to screen readers. It is particularly useful when you want to provide information to screen readers without displaying it on the screen.

<div className={css({ srOnly: true })}>Accessible only to screen readers</div>

Debug

The debug utility class applies styles to aid in debugging by adding outlines to elements. This can be helpful during development to visually inspect the layout and structure of your components.

<div className={css({ debug: true })}>Debugging outline applied</div>

Full reference

Generated from @pandacss/preset-base, so this table always matches the utilities Panda ships.

Other · 4
PropertyShorthandClassValues
clipPathcp-path
debugdebugtype
hyphenshy
srOnlysrtype
System · 2
PropertyShorthandClassValues
boxSizingbx-s
cursorcursorcursor
Edit this page on GitHubView as markdown
Last updated on