10 icons · MIT licensed
Animated text editing icons
Bold, italic, underline, alignment and list icons for rich text toolbars. A quick click animation confirms the formatting was applied, which helps in editors where the change to the text itself is subtle.
Of the 10 icons, 8 replay on every click and 2 play once on hover. Each one comes as a React component, a shadcn/ui component and a Lottie JSON animation with static SVGs, free for commercial use under the MIT license.
All text editing icons
Where to use them
- Rich text editor toolbars
- Comment and message composers
- CMS and blog post editors
- Markdown and note-taking apps
- Text alignment controls in design tools
By interaction
- Click animated icons · 8
Replays once from the start on every click unless reduced motion is preferred. Align Center, Align Justify, Align Left, Align Right, Bold, Italic, Type, Underline.
- Hover-to-play animated icons · 2
Plays once on mouseenter unless reduced motion is preferred. Leaving does not stop it; entering during playback does not restart it. Hash, List.
Add one to your app
With React, install react-useanimations and import the icon; it plays its click replay interaction on its own. Every icon in this category works the same way: swap bold for the name on its page.
npm install react-useanimationsimport UseAnimations from 'react-useanimations';
import bold from 'react-useanimations/lib/bold';
<UseAnimations animation={bold} size={32} />With shadcn/ui, the CLI adds a ready-made component:
npx shadcn@latest add https://useanimations.com/r/bold.jsonimport { AnimatedBold } from '@/components/animations/bold';
<AnimatedBold size={24} />Not using React? Each icon is a Lottie JSON file at /icons/<id>.json; see Lottie icons for web, iOS, Android and Flutter players.
FAQ
Which animated text editing icons are included?
10 icons: Align Center, Align Justify, Align Left, Align Right, Bold, Hash, Italic, List, Type and Underline. All of them are free for personal and commercial projects under the MIT license, with no attribution required.
How do I use these animated text editing icons in React?
Install react-useanimations, add import bold from 'react-useanimations/lib/bold' and render <UseAnimations animation={bold} size={32} />. The icon plays its click replay interaction and follows the text color. With shadcn/ui, run npx shadcn@latest add https://useanimations.com/r/bold.json instead.
Can I use these animated text editing icons without React?
Yes. Each icon is a Lottie JSON file at https://useanimations.com/icons/<id>.json (for example https://useanimations.com/icons/bold.json), playable with lottie-web, lottie-ios, lottie-android or Flutter's lottie package; static SVGs are on each icon page. None of them use expressions, so lottie-web's light build is enough.