Responsive variants use the @breakpoint suffix (.animate-spin@md); .hover-ready has none.
Animation options are passed as a map: animate-spin((duration: 2s)). An unknown key raises an error.
Generated from the doc blocks in the core source when the site is built, so it always matches the current release of @wovenui/core. Every example is compiled against core during the build; open Compiled CSSunder an example to see its output. Guide: Animations. The A to Z index lists every public mixin and function.
Emits an @keyframes rule with the given name once per compilation, at the root of the stylesheet (outside @media, @supports, @container and @scope, inside any @layer); later calls with the same name emit nothing.
@mixinensure-keyframes($name)
Parameter
Type
Default
Description
$name
String
Required
Keyframes name
Content block
The keyframe selectors and declarations
Example
.toast {
animation: toast-in 0.3sease-out;
@includeensure-keyframes(toast-in) {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
}
Compiled CSS
.toast {
animation: toast-in 0.3sease-out;
}
@keyframestoast-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
Source: utilities/_animations.scss:47
animate-bouncemixin
Sets an animation that moves the element to a horizontal and vertical offset and back, and emits its keyframes once.
@mixinanimate-bounce($props: ())
Parameter
Type
Default
Description
$props
Map
()
Overrides for vertical (0.5rem), horizontal (0), duration (1s), timing (ease-in-out), iteration (infinite); offsets are lengths, and a unitless number other than 0 raises an error
Adds a transition on all properties with the default duration and easing tokens ($transition-default-duration, $transition-default-ease) so hover changes animate.
Sets a fade animation of type in, out, in-up or in-down (the up and down types also slide 20px), and emits its keyframes once; any other type raises an error.
@mixinanimate-fade($props: ())
Parameter
Type
Default
Description
$props
Map
()
Overrides for type (in), duration (0.5s), timing (ease-in-out), iteration (1 forwards)