Design system interactions
Optional decorative motion used across Glasspage. Our six categories of interactions are inspired by Tailwind classes. They are states, transitions, transforms, animations, pointer effects, and scroll effects.
States
Changes tied to interface state, such as hover, focus, press, or open. Uses variants like hover:, focus-visible:, active:, disabled:, open:, and group-hover:.
Transitions
Smooth changes from one state to another. Uses transition-*, duration-*, ease-*, and delay-*.
Transforms
Spatial changes such as lift, press, scale, or rotate. Uses scale-*, translate-*, rotate-*, skew-*, and origin-*.
Animations
Timed motion that plays a sequence. Uses animate-* and custom animation tokens. Prefer motion-reduce:animate-none when decorative.
Pointer effects
Responses that follow the pointer as it moves. Uses Tailwind for styling, plus JavaScript or canvas for pointer tracking. Prefer motion-reduce: fallbacks.
Scroll effects
Responses driven by scroll position or entering the viewport. Uses scroll utilities when helpful, or scroll and intersection listeners when needed. Prefer motion-reduce: fallbacks.
Read the rest of the design system
Enter your details to unlock the remainder of this page, plus the principles, foundations, components and interactions pages in full.