Studio Logo Animation
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install studio-logo-animationWhat this does: 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".
Manual setup by platform
Claude Code
~/.claude/skills/studio-logo-animation/SKILL.md
Cursor
~/.cursor/skills/studio-logo-animation/SKILL.md
Codex CLI
~/.codex/skills/studio-logo-animation/SKILL.md, or reference via codex.md instructions file
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
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.svgwith--configkeeping 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-webor@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)
<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>
.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
.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:
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:
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:
# 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 avoidvector-effectscaling 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
currentColoror 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
Security
Reviews (0)
Related skills
Browse all →More from Skills Hub
View source →More Build skills
Browse category →Frequently asked questions about studio-logo-animation
What does the studio-logo-animation skill do?
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". It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the studio-logo-animation skill?
Run `npx @skills-hub-ai/cli install studio-logo-animation` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/studio-logo-animation/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does studio-logo-animation work with?
studio-logo-animation runs in Claude Code, Cursor, Codex CLI. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the studio-logo-animation skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use studio-logo-animation after installing it?
In Claude Code, type `/studio-logo-animation` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the studio-logo-animation skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.