Code Animated Icon
Customize colours, stroke, and background — then export in any format.
Export
Lottie.jsonSVG.svgPNG.pngRive.riv
The Code animated icon is part of the Programming collection, designed in Outline style. Available in Lottie (.json), Rive (.riv), SVG and PNG — free to use in personal and commercial projects under the Unicorn Icons license. Use it in web and mobile projects. Customize colors, stroke width, and animation speed directly in the browser before exporting.
Available formats
- Lottie (.json)—Plays in React, Vue, iOS, Android, Flutter, and HTML with the lottie-web player.
- Rive (.riv)—GPU-accelerated with interactive hover and click state machines via @rive-app.
- SVG—Scalable vector for CSS and HTML — no rasterization at any size.
- PNG—Raster fallback for email templates and static image contexts.
Integration examples
// React — lottie-react
import Lottie from "lottie-react";
import codeIcon from "./code.json";
export default function App() {
return <Lottie animationData={codeIcon} loop />;
}// React — @rive-app/react-canvas
import { useRive } from "@rive-app/react-canvas";
export default function App() {
const { RiveComponent } = useRive({
src: "/code.riv",
stateMachines: "State Machine 1",
autoplay: true,
});
return <RiveComponent style={{ width: 64, height: 64 }} />;
}Frequently asked questions
- How do I use the Code icon in React?
- Install lottie-react (npm install lottie-react), download the Code .json file, then import and render it: <Lottie animationData={codeIcon} loop />. The animation plays automatically and loops by default.
- What formats is the Code icon available in?
- The Code icon is available in Lottie (.json), Rive (.riv), SVG, PNG. Download any format from the export panel — you can also customize colors and speed before downloading.
- Is the Code icon free to use?
- Yes, the Code icon is free to use in personal and commercial projects under the Unicorn Icons license. No attribution required.