Animation styles are defined using the defineAnimationStyles function.
Here's an example of an animation style:
Cerberus provides a set of built-in animation styles that you can use.
Note
You can change the direction of some animations by using the `data-placement` attribute with the value of: top,bottom,left, or right.
To use the animation styles, update the theme object with the
animationStyles property.
import { createCerberusConfig, createCerberusPreset,} from '@cerberus/panda-preset'import { animationStyles } from "./animation-styles"
Now you can use animationStyle property in your components.
<Box data-state="open" animationDuration="slow" animationStyle={{ _open: "slide-fade-in", _closed: "slide-fade-out"To make using animations even easier, Cerberus provides JSX patterns for all built-in animation styles. You can use these patterns to quickly apply animations to your components.
import { defineAnimationStyles } from "@pandacss/dev"
const animationStyles = defineAnimationStyles({ bounceFadeIn: { value: