Motion
Ce contenu n’est pas encore disponible dans votre langue.
Things move to show a change: a record written, a loop closed, a panel opened. There is no infinite animation on any page.
| Token | Duration | Used for |
|---|---|---|
micro |
120 ms | hover, press, toggles, tooltips |
standard |
200 ms | menus, popovers, toasts, tabs |
panel |
320 ms | dialogs, drawers, sheets |
write |
500 ms | a record appears |
loop |
1,600 ms | the hero loop draws once |
Entrances decelerate, exits are 0.8 times as long and accelerate. No bounce.
Reduced motion
Section titled “Reduced motion”prefers-reduced-motion: reduce drops every translate and scale and keeps a short opacity fade, at most 200 ms (exits 160 ms). The tokens below are the normal values; the media query overrides them.
| Token | CSS variable | Value |
|---|---|---|
ui. | - | 0ms |
ui. | - | 120ms |
ui. | - | 200ms |
ui. | - | 320ms |
ui. | - | 500ms |
ui. | - | 1600ms |
ui. | - | 120ms |
ui. | - | 200ms |
ui. | - | 320ms |
ui. | - | 96ms |
ui. | - | 160ms |
ui. | - | 256ms |
| Token | CSS variable | Value |
|---|---|---|
ui. | - | cubic-bezier(0.2, 0, 0, 1) |
ui. | - | cubic-bezier(0.16, 1, 0.3, 1) |
ui. | - | cubic-bezier(0.3, 0, 0.8, 0.15) |
ui. | - | cubic-bezier(0, 0, 1, 1) |
ui. | - | cubic-bezier(0.32, 0.72, 0, 1) |
- Responsable
- Okrado founders
- Mis à jour le
- À revoir avant le