Motion
Drop-in animated marks and loaders that inherit color and respect reduced motion.
Two browser-ready custom elements cover the animated wordmark loop and the official loader. Both inherit currentColor and skip motion when the visitor asks for less of it.
Preview
Animated brand mark
Loader
Choose a cream-and-sage, cream-and-olive, or orange-and-charcoal surface to check color inheritance. Turn Animate off to hold a static mark. The controls also respect your system reduced-motion preference. More brand examples live in the asset showcase.
Install
Animated mark
<shaughv-mark
style="display:block;width:96px;height:96px;color:currentColor"
aria-label="SHAUGHV"
></shaughv-mark>
<script src="https://cdn.shaughv.com/js/animated-brand-mark.js"></script>
Portrait loader
<shaughv-loader style="color:var(--accent);height:120px"></shaughv-loader>
<script src="https://cdn.shaughv.com/js/shaughv-loader.js"></script>
The loader fetches Anime.js from jsDelivr if it is not already loaded.
Customize
Hold a static frame with data-static (the footer of the CDN website does this):
<shaughv-mark data-static aria-label="SHAUGHV"></shaughv-mark>
A React source port also ships at js/react/AnimatedBrandMark.jsx for projects that already own the component tree. The vanilla custom element is the default for HTML pages.
Behavior
js/animated-brand-mark.js defines <shaughv-mark>. The loop is:
- Wordmark holds
- Undraws
- Portrait (mustache + glasses) draws in
- Undraws
- Wordmark returns
The loader portrait fills, drains, and morphs into a soft blob before returning. Keep its timing, paths, and geometry intact.
Reduced motion
For a moving page texture, see the optional ambient background: QorkMe’s procedural dither field and finite mouse wake, with color controls and a clear reading column. Its reduced-motion mode holds a static field and disables the wake.
Both drop-ins honor prefers-reduced-motion: reduce. The mark stays on the static wordmark. The loader does not run the morph loop. Keep that behavior if you wrap either element.
Reference
Browse the asset showcase for more examples. The catalog lists exact scripts and source ports. For pointer interactions, use the cursor with frosted dropdowns. The ambient background is an optional page texture.