Utilities

Transitions

Panda provides utilities for defining and customizing transitions.

Transition

A shorthand utility for defining common transition sets.

Values are all, common, colors, opacity, shadow, transform.

<div className={css({ transition: 'all' })} />
<div className={css({ transitionTimingFunction: 'linear' })} />
<div className={css({ transitionDelay: 'fast' })} />
<div className={css({ transitionDuration: 'faster' })} />
PropCSS PropertyToken Category
transitionTimingFunctiontransition-timing-function easings
transitionDelaytransition-delay durations
transitionDurationtransition-duration durations

Animation

Control the animation property. It supports the animations token category.

<div className={css({ animation: 'bounce' })} />
<div className={css({ animationName: 'pulse' })} />
<div className={css({ animationDelay: 'fast' })} />
PropCSS PropertyToken Category
animationanimation-name animations
animationNameanimation-name animationName
animationDelayanimation-delay durations