Lottie / Rive
Animazioni vettoriali · Animaciones vectoriales · Lottie animation · Rive state machine · Bodymovin
Vector animations made by a motion designer and exported to a light file the site plays crisply at any size. Self-drawing icons, waving characters, onboarding that moves like a cartoon.
- Era
- 2017 – today
- Use
- Mainstream
Live demo
View code
<main>
<svg class="pal" viewBox="0 0 160 160" aria-hidden="true">
<ellipse class="sh" cx="80" cy="146" rx="36" ry="6"/>
<g class="body">
<path d="M30 120 Q30 40 80 40 Q130 40 130 120 Z" fill="#5B5FEF"/>
<g class="eyes"><circle cx="64" cy="82" r="7" fill="#fff"/><circle cx="96" cy="82" r="7" fill="#fff"/><circle cx="66" cy="83" r="3.5" fill="#2B2D42"/><circle cx="98" cy="83" r="3.5" fill="#2B2D42"/></g>
<path d="M70 100 Q80 110 90 100" stroke="#fff" stroke-width="4" fill="none" stroke-linecap="round"/>
<path class="arm" d="M128 92 q16 -8 18 -26" stroke="#5B5FEF" stroke-width="10" fill="none" stroke-linecap="round"/>
</g>
</svg>
<div class="side">
<svg class="ok" viewBox="0 0 64 64" aria-hidden="true"><circle cx="32" cy="32" r="28" stroke="#3CCF91" stroke-width="5" fill="none"/><path d="M19 33 l9 9 l17 -19" stroke="#3CCF91" stroke-width="5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
<h1>Ciao!</h1>
<p>Stato: <b>felice</b></p>
</div>
</main> body{margin:0;height:100vh;display:grid;place-items:center;background:#FFF4E6;font-family:Nunito,sans-serif;color:#2B2D42}
main{display:flex;align-items:center;gap:22px}
.pal{width:170px;height:170px;overflow:visible}
.sh{fill:#2B2D4222}
.body,.arm,.eyes,.sh{transform-box:fill-box}
.ok{width:54px;height:54px}
h1{margin:6px 0 0;font-weight:900;font-size:42px;line-height:1;color:#FF8A5B}
p{margin:4px 0 0;font-weight:600}
b{color:#5B5FEF}
@media (prefers-reduced-motion:no-preference){
.body{transform-origin:50% 100%;animation:hop 1.6s cubic-bezier(.65,0,.35,1) infinite}
.sh{transform-origin:50% 50%;animation:shd 1.6s cubic-bezier(.65,0,.35,1) infinite}
.arm{transform-origin:0% 100%;animation:wave .8s ease-in-out infinite alternate}
.eyes{transform-origin:50% 50%;animation:blink 3.2s infinite}
.ok circle,.ok path{stroke-dasharray:180;stroke-dashoffset:180;animation:draw 3.2s cubic-bezier(.65,0,.35,1) infinite}
.ok path{stroke-dasharray:60;stroke-dashoffset:60;animation-delay:.35s}
@keyframes hop{0%,100%{transform:translateY(0) scale(1.08,.9)}15%{transform:translateY(0) scale(.94,1.06)}50%{transform:translateY(-22px) scale(.97,1.03)}85%{transform:translateY(0) scale(1.06,.92)}}
@keyframes shd{0%,100%,85%{transform:scale(1)}50%{transform:scale(.65);opacity:.6}}
@keyframes wave{from{transform:rotate(-14deg)}to{transform:rotate(16deg)}}
@keyframes blink{0%,46%,52%,100%{transform:scaleY(1)}49%{transform:scaleY(.1)}}
@keyframes draw{0%{stroke-dashoffset:180}35%,80%{stroke-dashoffset:0}100%{stroke-dashoffset:0;opacity:0}}
} Characteristics
- Flat vector shapes with rounded strokes
- Lines drawing themselves via stroke-dashoffset
- Cartoon principles like anticipation and squash
- Short seamless loops
- Interactive states via Rive state machines
Palette
Click a swatch to copy it
Typography
Headings · Nunito Lottie / Rive
Body · Nunito Vector animations made by a motion designer and exported to a light file the site plays crisply at any size. Self-drawing icons, waving characters, onboarding that moves like a cartoon.
Motion
- Easing
curve di After Effects / cubic-bezier(0.65, 0, 0.35, 1)- Typical duration
- loop di 1–4 s; micro-animazioni 300–800 ms
- Techniques
- Lottie (JSON da After Effects con Bodymovin), dotLottie, Rive con state machine, SVG animato con CSS, stroke-dasharray / stroke-dashoffset
Accessibility (reduced motion)
Show the most meaningful frame as a still, or play the animation only on request with no looping.
Prompt for your agent
Copy and paste into your prompt to have an agent or image generator reproduce this style.
For web pages and UI
Design the web page or interface in this style: Lottie / Rive (Animazioni vettoriali, Animaciones vectoriales). Vector animations made by a motion designer and exported to a light file the site plays crisply at any size. Self-drawing icons, waving characters, onboarding that moves like a cartoon. Characteristics: Flat vector shapes with rounded strokes, Lines drawing themselves via stroke-dashoffset, Cartoon principles like anticipation and squash, Short seamless loops, Interactive states via Rive state machines. Palette: #FFF4E6, #2B2D42, #5B5FEF, #FF8A5B, #3CCF91, #FFD166. Typography: headings in Nunito, body text in Nunito (Google Fonts or equivalents). Mood: playful, clean, energetic. Motion: easing curve di After Effects / cubic-bezier(0.65, 0, 0.35, 1), typical duration loop di 1–4 s; micro-animazioni 300–800 ms; techniques: Lottie (JSON da After Effects con Bodymovin), dotLottie, Rive con state machine, SVG animato con CSS, stroke-dasharray / stroke-dashoffset. With prefers-reduced-motion: Show the most meaningful frame as a still, or play the animation only on request with no looping. References: Lottie di Airbnb (2017), LottieFiles, Rive (ex Flare), plugin Bodymovin per After Effects.
Relations
Derives from
References
- Lottie di Airbnb (2017)
- LottieFiles
- Rive (ex Flare)
- plugin Bodymovin per After Effects