📚 Universal Architecture & Delivery

Animated Icons Documentation

A guide to integrating, animating, and customizing our 18,456 Bodymovin/Lottie icons across web, mobile, and desktop applications.

1Quick Integration

All icons are self-contained Lottie JSON animations. You can embed them directly via CDN in React, Next.js, Vue, or vanilla HTML.

React / Next.js Component
import React, { useEffect, useRef } from "react";
import lottie from "lottie-web";

export default function AnimatedIcon({ url }: { url: string }) {
  const containerRef = useRef<HTMLDivElement>(null);

  useEffect(() => {
    if (!containerRef.current) return;
    const anim = lottie.loadAnimation({
      container: containerRef.current,
      renderer: "svg",
      loop: true,
      autoplay: true,
      path: url, // e.g. "https://pub-f6f6b4326da74c378c4295c08ca25bb3.r2.dev/icons-json/wired/gradient/2115-refund.json"
    });

    return () => anim.destroy();
  }, [url]);

  return <div ref={containerRef} className="w-12 h-12" />;
}
Vanilla HTML & JS
<!-- 1. Include Lottie Web player -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.12.2/lottie.min.js"></script>

<!-- 2. Container element -->
<div id="icon-container" style="width: 64px; height: 64px;"></div>

<!-- 3. Initialize player -->
<script>
  const anim = lottie.loadAnimation({
    container: document.getElementById('icon-container'),
    renderer: 'svg',
    loop: true,
    autoplay: true,
    path: 'https://pub-f6f6b4326da74c378c4295c08ca25bb3.r2.dev/icons-json/wired/gradient/2115-refund.json'
  });
</script>

2The 3 Design Families

Every icon in the platform is crafted to belong strictly to one of three geometric and aesthetic design systems:

1. Wired

Geometric

Precision vector geometry, clean axes, circular arcs, and crisp corners. Built for modern tech, SaaS, and web interfaces.

Styles: outline, lineal, flat, gradient

2. System

Micro UI

Pixel-snapped interface glyphs designed for maximum optical legibility at 16px–24px display sizes. Minimalist and friction-free.

Styles: bold, solid

3. Doodle

Hand-Drawn

High corner roundness, organic squircle borders, and playful sketchy bezier curves. Friendly, approachable, and illustrative.

Styles: lines, black, color, motif

Visual Style Specification Matrix

StyleStroke WeightFill TypeFamilyDescription
Outline2.0px–2.5pxZero (Transparent)wiredStandard balanced geometric wireframe
Lineal1.2px–1.5px (Thinner)Solid Color FillswiredDelicate outline letting rich color fills breathe
Flat0px (Zero Stroke)Solid Fills + ShadingwiredBorderless color planes with subtle multiply shading
Gradient2.0px–2.5pxAlpha Track MattewiredSoft 360° rotating dual-tone gradient fill
BoldFixed 2.0pxZero (Transparent)systemHigh-contrast interface grid wireframe
Solid0pxSilhouette GlyphsystemSolid filled badge with negative space cutouts
Lines~2.0px Hand-drawnZero (Transparent)doodleOrganic rounded doodle line art
Black~2.0px Hand-drawnZero (Monochrome)doodlePure dark ink doodle line art
Color~2.0px Hand-drawnFull Illustrated WashdoodleVibrant storybook color blocks
Motif~2.0px Hand-drawnSpot Color HighlightsdoodleTwo-tone sketch with spot color accents only

3Interactive Action Markers

Every animated icon includes semantic Bodymovin markers that define discrete animation segments. You can trigger them individually or chain them into custom flows:

in-*Intro Action

Entrance animation from zero scale/opacity into resting pose (e.g. in-reveal, in-dynamic).

default:hover-*Primary Hover

Micro-interaction played on mouse enter/tap. Always starts and finishes at the exact resting pose (e.g. default:hover-pinch).

morph-*State Transitions

State transitions between On ↔ Off, Visible ↔ Hidden, or Checked ↔ Unchecked (e.g. morph-visibility-off).

loop-*Continuous Ambient

Smooth seamless ambient loop. The first frame matches the last frame identically (e.g. loop-cycle, loop-spin).

Triggering Action Segments in JS
// Trigger specific marker action (e.g. hover-pinch)
const marker = anim.markers.find(m => m.payload.name === "default:hover-pinch" || m.payload.name === "hover-pinch");
if (marker) {
  anim.playSegments([marker.time, marker.time + marker.duration], true);
}

4Dynamic Color & Stroke Customization

Icons feature a root Null Layer (`nm: "control"`, `ty: 3`) with After Effects Expression Controls:

  • Primary / Secondary Color Control: Modifying the Color effect dynamically updates all mapped shape strokes and fills.
  • Stroke Slider Control: Scaling the Slider Control scales line weights across all precompositions uniformly.
  • Studio Customizer: When you modify colors in our web modal and click Download JSON, the exported JSON contains your exact customized color values and stroke settings embedded.

Cloudflare CDN URL Structure

Assets are globally accelerated on Cloudflare R2:

https://pub-f6f6b4326da74c378c4295c08ca25bb3.r2.dev/icons-json/{family}/{style}/{index}-{name}.json