Skip to content
Back to skills

Studio Logo Animation

ASecurity

Animate an SVG logo with stroke draw-on, morph and mask reveals, delivered as CSS/SVG, Lottie and MP4 or WebM with alpha, with reduced-motion handling and deliberate timing curves. Triggers: "animate my logo", "logo reveal", "SVG draw-on animation", "Lottie logo", "logo sting with transparency".

  • 25 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgobashexpressawsapiperformance

Works with

  • cursor
  • cli
  • api

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add tinh2/skills-hub-registry --skill studio-logo-animation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Studio Logo Animation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Studio Logo Animation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tinh2-studio-logo-animation/badge)](https://www.skillsdirectory.com/skills/tinh2-studio-logo-animation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: studio-logo-animation
description: Animate an SVG logo with stroke draw-on, morph and mask reveals, delivered as CSS/SVG, Lottie and MP4 or WebM with alpha, with reduced-motion handling and deliberate timing curves. Triggers: "animate my logo", "logo reveal", "SVG draw-on animation", "Lottie logo", "logo sting with transparency".
version: "1.0.0"
category: build
platforms: [CLAUDE_CODE, CURSOR, CODEX_CLI]
---

# Logo animation

A good logo animation is short (1 to 2.5 s), reveals the mark in a way that says something about the brand, and ends on the exact static logo.

## Inputs to agree on

- Clean SVG: outlined text, no embedded raster, meaningful group ids (`#mark`, `#wordmark`).
- Uses: website header or loader (CSS/SVG), app or product UI (Lottie), video intro or outro (MP4, WebM or MOV with alpha).
- Duration and whether it loops (loaders) or plays once (intros).
- Sound: sting audio if for video.
- Brand motion personality: precise (ease-out, short), playful (overshoot), calm (long ease-in-out).

## Timing toolkit

- Entrances: ease-out, `cubic-bezier(0.16, 1, 0.3, 1)` (expo out).
- Moves between states: ease-in-out, `cubic-bezier(0.65, 0, 0.35, 1)`.
- Playful settle: `cubic-bezier(0.34, 1.56, 0.64, 1)` (back out with overshoot).
- Stagger letters 30 to 60 ms; keep total under 2.5 s; hold the final frame at least 0.5 s for video.

## Toolchain

- Prep: Inkscape or Illustrator, SVGO (`npx svgo logo.svg -o logo.min.svg` with `--config` keeping ids).
- Web: CSS animations or the Web Animations API; GSAP (DrawSVG and MorphSVG plugins are free since GSAP 3.13) for complex morphs; flubber for path interpolation.
- Lottie: After Effects plus Bodymovin, or LottieFiles Creator / Lottie web editor; play with `lottie-web` or `@lottiefiles/dotlottie-web`.
- Video: render frames with a headless browser (Playwright screenshots), Remotion, or After Effects; encode with ffmpeg.

## Workflow

### 1. Prepare the SVG

- Convert text to paths, flatten transforms, remove hidden layers.
- For draw-on, the mark needs strokes. If the logo is fills only, create a stroke version (centerline trace) and animate it, then cross-fade to the fill.
- Keep `viewBox`, remove fixed width and height so it scales.

### 2. Stroke draw-on (CSS)

```html
<svg viewBox="0 0 200 60" class="logo" role="img" aria-label="Brand name">
  <path class="draw" pathLength="1" d="M10 50 L40 10 L70 50" />
  <path class="fill" d="..." />
</svg>
```

```css
.logo .draw {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 900ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.logo .fill {
  fill: currentColor;
  opacity: 0;
  animation: fade 400ms cubic-bezier(0.16, 1, 0.3, 1) 700ms forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo .draw,
  .logo .fill {
    animation: none;
  }
  .logo .draw {
    stroke-dashoffset: 0;
  }
  .logo .fill {
    opacity: 1;
  }
}
```

`pathLength="1"` normalizes the dash math so you do not need `getTotalLength()`. Use `currentColor` so the logo follows light and dark themes.

### 3. Mask or clip reveal

```css
.logo {
  clip-path: inset(0 100% 0 0);
  animation: wipe 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes wipe {
  to {
    clip-path: inset(0 0 0 0);
  }
}
```

Letters rising from a baseline mask: wrap each glyph group in a `<g>` inside a `clipPath`-ed container and animate `transform: translateY(100%)` to `0` with a 40 ms stagger (`animation-delay: calc(var(--i) * 40ms)`).

### 4. Morph

Paths need compatible structure for a smooth morph. With GSAP:

```js
import { gsap } from "gsap";
import { MorphSVGPlugin } from "gsap/MorphSVGPlugin";
gsap.registerPlugin(MorphSVGPlugin);
gsap.to("#shape", { duration: 0.8, morphSVG: "#mark", ease: "expo.out" });
```

Or `flubber.interpolate(fromD, toD)` and set `d` per frame. Check the reduced-motion preference in JS: `matchMedia("(prefers-reduced-motion: reduce)").matches` and jump to the end state.

### 5. Lottie

Build in After Effects (shape layers only; avoid effects and expressions Bodymovin cannot export), export with Bodymovin as JSON, or convert to `.lottie`. Play:

```js
import lottie from "lottie-web";
const reduce = matchMedia("(prefers-reduced-motion: reduce)").matches;
const anim = lottie.loadAnimation({
  container: el,
  renderer: "svg",
  loop: false,
  autoplay: !reduce,
  path: "/logo.json",
});
if (reduce)
  anim.addEventListener("DOMLoaded", () =>
    anim.goToAndStop(anim.totalFrames - 1, true),
  );
```

Keep Lottie JSON under about 100 KB for a logo; remove unused layers and round keyframe precision.

### 6. Video with alpha

Render frames with transparency (After Effects, Remotion `--image-format=png`, or Playwright screenshots of a transparent page with `omitBackground: true`), then encode:

```bash
# Web, alpha, Chrome/Firefox/Edge
ffmpeg -framerate 60 -i f_%04d.png -c:v libvpx-vp9 -pix_fmt yuva420p -b:v 0 -crf 30 -row-mt 1 -an logo.webm
# Editing master with alpha
ffmpeg -framerate 60 -i f_%04d.png -c:v prores_ks -profile:v 4444 -pix_fmt yuva444p10le logo_alpha.mov
# Opaque MP4 on a brand background
ffmpeg -framerate 60 -i f_%04d.png -f lavfi -i color=c=0x111111:s=1920x1080 -filter_complex "[1][0]overlay=shortest=1" -c:v libx264 -crf 16 -pix_fmt yuv420p -movflags +faststart logo.mp4
```

Safari supports alpha via HEVC with alpha (encode on macOS with `hevc_videotoolbox -alpha_quality 0.75 -tag:v hvc1`), so serve `<source>` HEVC .mov first for Safari and WebM VP9 second.

## Variants

- Loader: loop the draw-on with a pause; respect reduced motion by showing a static mark or a simple opacity pulse.
- Outro sting: reverse of the intro, with the URL appearing below.
- Social avatar: square 1080x1080 MP4, 3 to 5 s, held end frame.
- Hover micro-interaction: under 300 ms, transform and opacity only.

## Quality checks

- Final frame matches the static SVG pixel for pixel (overlay diff).
- Total duration and easing match the brief; no linear easing on entrances.
- Reduced motion: with the OS setting on, the logo appears instantly in its final state.
- Animation uses only transform, opacity, stroke-dashoffset or clip-path; DevTools Performance shows no layout thrash and steady 60 fps on a mid-range phone.
- Alpha video composited over light and dark backgrounds: no dark fringes (premultiplication handled).
- Sizes: CSS/SVG under 10 KB, Lottie under 100 KB, WebM under 1 MB for a 2 s logo.

## Pitfalls and fixes

- Draw-on starts at the wrong point or direction: reverse the path in the editor.
- Dash gaps on complex paths: use `pathLength="1"` and avoid `vector-effect` scaling issues.
- Morph looks like a melting blob: add matching points or split into separate morphs per part.
- Lottie renders differently across players: test in lottie-web and the target native player (iOS/Android) early.
- MP4 cannot hold alpha with H.264: use ProRes 4444, VP9 WebM or HEVC with alpha.
- Hardcoded brand color breaks dark mode: use `currentColor` or CSS variables.

## Deliverables

- [ ] Optimized static SVG plus animated SVG/CSS snippet with reduced-motion fallback
- [ ] Lottie JSON or .lottie if requested
- [ ] WebM VP9 alpha, HEVC alpha .mov, ProRes 4444 master, opaque MP4
- [ ] Timing sheet (durations, delays, easing curves)
- [ ] Preview page showing light and dark backgrounds

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.