Pencil Animated Icon
Customize colours, stroke, and background — then export in any format.
Export
Lottie.jsonSVG.svgPNG.pngRive.riv
The Pencil animated icon is part of the Science & Education 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 pencilIcon from "./pencil.json";
export default function App() {
return <Lottie animationData={pencilIcon} loop />;
}// React — @rive-app/react-canvas
import { useRive } from "@rive-app/react-canvas";
export default function App() {
const { RiveComponent } = useRive({
src: "/pencil.riv",
stateMachines: "State Machine 1",
autoplay: true,
});
return <RiveComponent style={{ width: 64, height: 64 }} />;
}Frequently asked questions
- How do I use the Pencil icon in React?
- Install lottie-react (npm install lottie-react), download the Pencil .json file, then import and render it: <Lottie animationData={pencilIcon} loop />. The animation plays automatically and loops by default.
- What formats is the Pencil icon available in?
- The Pencil 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 Pencil icon free to use?
- Yes, the Pencil icon is free to use in personal and commercial projects under the Unicorn Icons license. No attribution required.