Skip to content
Limited timeStarter is now $9 a month instead of $20.See plans
charmotion

Turning a Figma Logo Into Transparent WebM and Interactive Rive for Your Website

By the Charmotion team · Updated · How we write guides

Cover illustration for the guide: Turning a Figma Logo Into Transparent WebM and Interactive Rive for Your Website, with Charmotion demo characters

Export the logo from Figma as a PNG or SVG, animate it in a tool that keeps alpha, then encode a VP9 WebM with yuva420p for a fixed transparent loop. Build a separate Rive file when the landing page must react to hover or clicks, and add an HEVC .mov for Safari.

Key takeaways

  • Figma supplies the source: export an SVG at 1x for vector work and a PNG at 2x or 4x for animation frames.
  • Encode a transparent WebM with libvpx-vp9, yuva420p and -auto-alt-ref 0, then check it over a bright background.
  • Safari needs an HEVC .mov with alpha, while Chrome, Edge and Firefox can play the WebM.
  • Build a Rive file when the landing page must react to hover, clicks or form states, and remember that exporting a .riv needs a paid plan.
  • Keep the .rev project for later edits and ship only the .riv file to the page.

Already have a character or logo? See examples in real app screens: splash, onboarding, loading and empty-state screens, with the animation that plays in each.

Which file does each part of a Figma logo need?

This guide covers how to animate a figma logo into transparent webm and rive for landing page from one Figma file, without redrawing the mark for each format. Figma is the source for the mark. The motion is built in another tool and rendered to frames, or built in Rive, and each output has a different job.

FileMade fromUse it forWatch for
SVGFigma export at 1x (fixed)Vector source for Rive import and a crisp static logoNo scale choice at export
PNGFigma export with a scale multiplierRaster frames for video encodingPick 2x or 4x before rendering
WebM (VP9 alpha)FFmpeg, from frames or a .mov with alphaTransparent loop in Chrome, Edge and FirefoxSafari reportedly ignores the alpha channel
HEVC .mov (alpha)Apple tools, or FFmpeg on macOSTransparent video in SafariOther browsers generally do not render the alpha layer
.rivRive editor, exported on a paid planStates the page can switch, such as hover or clickNeeds a Rive runtime on the page

Figma's export panel produces PNG, JPG, SVG and PDF. Figma does not document an export of animation timelines to video or Lottie (as of December 2026), so the motion has to come from an animation tool or a plugin.

How do you export a Figma logo without losing transparency?

Clean exports start with a clean frame. Frames are containers that can hold other layers and be nested inside other frames, and the export panel in the right sidebar works on whatever is selected. Select the frame that holds the logo, not the loose paths inside it.

  1. Put the logo in one frame. Frames show a frame icon in the Layers panel, and everything inside is a child object of that frame, so one selection exports the whole mark.
  2. Remove background fills. A white fill on the frame or a background rectangle will appear in the export. Delete it or set the frame fill to none.
  3. Choose the format and scale. PNG and JPG accept scale multipliers, so pick 2x or 4x for a landing page on high-density screens. SVG and PDF are fixed at 1x.
  4. Check the edges on light and dark backgrounds. Soft shadows and anti-aliased edges show halos on the wrong backdrop, so review both before you render frames.

Export one PNG set at the scale you need for the largest hero size. If you select several frames and choose PDF, Figma merges them into a single PDF, which suits a design review but not a frame sequence.

If the logo has no transparent version yet, get one before animating. The guide on how to get an AI logo with a transparent background covers that step.

Some teams animate inside Figma first. Figmotion is listed as an example plugin in Figma's help center, and it animates objects within a frame without leaving Figma. Plugins are written in JavaScript with an HTML interface and use the Plugin API. Check the plugin's own listing for what it exports before you plan the rest of the pipeline around it.

How do you encode a transparent WebM with VP9 alpha?

WebM files made with VP8 or VP9 can carry an alpha channel. Google's Chrome team says so, and Chrome 31 added alpha transparency support for WebM video. The encoder you need is libvpx-vp9 in FFmpeg, with an alpha-capable pixel format. The input is a numbered PNG sequence with alpha, or a .mov that already has alpha.

ffmpeg -framerate 60 -i frames/%04d.png -c:v libvpx-vp9 -pix_fmt yuva420p -auto-alt-ref 0 -b:v 2M logo.webm

Each flag has a job:

  • -c:v libvpx-vp9 selects the VP9 encoder.
  • -pix_fmt yuva420p keeps the alpha plane. Without it, the transparent layer is discarded and replaced with a black or white background.
  • -auto-alt-ref 0 turns off alternate reference frames, which can cause rendering glitches or strip the alpha channel.
  • -b:v 2M sets a target bitrate. A flat logo loop often looks fine at a lower value, so test a smaller number and compare file sizes.

If you re-encode an existing WebM, put the decoder flag before the input. FFmpeg's native VP9 decoder drops the alpha, and the decoded frames come out on solid black.

ffmpeg -c:v libvpx-vp9 -i old-logo.webm -c:v libvpx-vp9 -pix_fmt yuva420p -auto-alt-ref 0 -b:v 2M new-logo.webm

Test the file before it reaches a page. Place it over a bright colour on a test page in Chrome and in Firefox. A black or white box means the alpha was lost somewhere in the chain. For the wider question of video behaviour on sites, see transparent video on websites, Safari included.

How do you build the interactive Rive version?

The Rive file is the interactive version. It is not a video. You import the vector mark, animate it, and define states in a state machine. The page then switches states from code, so a hover or a successful sign-up can change the logo without loading a new file.

  1. Import the SVG. Start from the 1x SVG export so the paths stay vector. The SVG to Rive import steps cover this in detail.
  2. Build the idle loop. Keep it short and light, with a slow breathing motion or a gentle shimmer.
  3. Add states. Create states such as hover, pressed and success, then connect them in a state machine.
  4. Expose inputs. Use a state machine input or a data binding property so that page code can set the state.
  5. Export the .riv file. Exporting a .riv for an app or product requires a paid plan. Keep the .rev project as your editable source, because runtimes cannot load .rev files.

Data binding can drive any property from live data in an app or game. For a landing page, a boolean such as hovered, or a number for the current state, is usually enough. The Is Rive Free? pricing guide explains what the free plan covers and where paid exports begin.

How do you put the WebM and Rive file on a landing page?

Use the Rive file where the logo must react, and the video where a fixed loop is enough. The video below is a decorative loop. It is hidden from screen readers with aria-hidden, and it is muted and inline so that it can autoplay on iPhone.

<video autoplay muted loop playsinline aria-hidden='true' width='240' height='240'>
  <source src='/media/logo.mov' type='video/quicktime'>
  <source src='/media/logo.webm' type='video/webm'>
</video>

The .mov is listed first so that Safari picks the HEVC file with alpha. Browsers that cannot play it move on to the WebM. Check which source each browser actually plays, since support differs by version.

The Rive version uses the React runtime. The package is the option Rive recommends for most apps unless a WebGL renderer is needed. Set the state machine name to match your file, then size the component from the parent container in your site's own stylesheet.

import { useRive } from '@rive-app/react-canvas';

export function LogoHero() {
  const { RiveComponent } = useRive({
    src: '/media/logo.riv',
    stateMachines: 'Logo State Machine',
    autoplay: true,
  });
  return <RiveComponent />;
}

By default the WASM runtime loads from the unpkg CDN, and you can host rive.wasm on your own server instead. If the logo sits below the fold, load the component on demand so it does not compete with the main hero. The guide on hero animation and Core Web Vitals shows how to keep the largest element fast. Respect reduced motion settings as well, as covered in accessible animation and reduced motion.

Should the landing page use WebM, Rive or both?

Most landing pages need one of three setups:

  • WebM only: a fixed hero loop or a decorative corner logo that never reacts. One file and no runtime.
  • Rive only: a hero that reacts to hover, a click or a form state. It needs a runtime on the page and a paid export.
  • Both: the Rive file in the hero, with the WebM as a looping logo further down the page or on pages where a runtime is not wanted.

Pick the setup from the behaviour you need, not from the file type. A logo that only loops does not need state logic, and a logo that must react to a user does not work as a video.

If you would rather not build the motion by hand, Charmotion's Motion Studio at /animate-logo turns a logo into a website hero animation. Three concepts come first at no cost, and building the one you pick uses 5 credits. Plans are listed on the pricing page.

Disclosure: Charmotion is our product.

Animate a Figma logo into a transparent WebM and a Rive file for a landing page

  1. Export the logo from Figma. Select the frame that holds the logo, remove background fills, export a PNG at 2x or 4x for frames and an SVG at 1x for vector work.
  2. Render the animation frames. Build the motion in an animation tool that outputs transparent frames, then export a numbered PNG sequence with alpha.
  3. Encode the transparent WebM. Run ffmpeg with -c:v libvpx-vp9, -pix_fmt yuva420p and -auto-alt-ref 0 to create logo.webm, then check it over a bright background.
  4. Build the Rive file. Import the SVG into the Rive editor, add an idle loop and a state machine with hover and success states, then export a .riv file on a paid plan.
  5. Embed both on the page. Use the Rive component in the hero and a video with the .mov source listed first for Safari, then test both in Chrome, Firefox and Safari.

Frequently asked questions

Why does Safari show a box behind my transparent WebM?

Svgator's guide reports that Safari ignores the alpha channel in VP8 and VP9 WebM, while Chrome, Edge and Firefox show it. Serve an HEVC .mov with alpha as the first source for Safari, and test on a real iPhone or Mac. Third-party reports disagree on some Safari versions, so do not rely on a single test.

Can I edit the Rive file after exporting it?

Edit the project, not the export. The .riv file is what runtimes load, and it bundles artboards, animations, state machines and data binding settings. The .rev format is for backups and editing, and runtimes cannot load it, so keep the .rev project alongside your exported .riv files.

Does Figma export animation to video?

Figma does not document an export of animation timelines to video or Lottie (as of December 2026). Its export panel produces PNG, JPG, SVG and PDF. For motion, render frames from another tool, or use a plugin such as Figmotion and check its listing for export formats.

Do I need a paid Rive plan for a landing page?

Exporting a .riv file for an app or product requires a paid plan, and files made on the free plan cannot be exported for that use. Check the current terms on Rive's pricing page before you launch, and read the Is Rive Free? guide on this site for the plan details as of December 2026.

Sources

Related guides