Skip to content

UI Motion

Motion improves user experience and it brings to our UI a sense of life while providing our users with valuable interactional feedback.

⚠️ Warning: The UI motion library is a work in progress and subject to daily changes. Consult usage with the Soul DS team.

Variable Duration Potential usage
--motion-duration-instant 0ms Text change
--motion-duration-quick-1 80ms Checkboxes, Radio buttons
--motion-duration-quick-2 120ms Toggles, Tabs, Chips, Color, Button hover
--motion-duration-moderate-1 180ms Dropdowns, Tooltips
--motion-duration-moderate-2 270ms Modals, Snackbars, Dialogs, Notifications
Variable Easing
--motion-easing-ease ease
--motion-easing-entry ease-out
--motion-easing-exit ease-in
--motion-easing-linear linear
Variable Value
--motion-slide-up translateY(12px)
--motion-slide-down translateY(-12px)

Effects are the key to turning components from static to interactive and keeping UI elements alive.

Open link

As a default setup, Soul recommends using duration --motion-duration-moderate-2 to show and hide the UI element with --motion-easing-entry and --motion-easing-exit easings and --motion-slide-up position.

Open link

As a default setup, Soul recommends using duration --motion-duration-moderate-2 to show and hide the UI element with --motion-easing-entry and --motion-easing-exit easings and --motion-slide-down position.

Open link

As a default setup, Soul recommends using duration --motion-duration-quick-2 to show and hide the UI element with --motion-easing-linear.