Back to icons
IconSocialHas a state
Thumbs Up icon
The Thumbs Up icon is an animated React icon from ReactFrame: a 24×24 drawing with a 1.5px stroke that moves when its button or card is hovered, and switches to a “Liked” state with the active prop. Copy it as SVG or JSX, download the .svg file, or install it with the shadcn CLI. It's free.
Also known aslikegoodemotionlovefavoritedfavoritesemojiyes
16
20
24
32
48
Hover to play
Install
Copied!
npx shadcn@latest add @reactframe/thumbs-up-iconUse it
import { useState } from "react";
import { motion } from "motion/react";
import { ThumbsUpIcon } from "@/components/thumbs-up-icon";
export function Example() {
const [on, setOn] = useState(false);
// Hovering the button plays the icon; `active` switches it to its "Liked" state.
return (
<motion.button initial="rest" whileHover="hover" onClick={() => setOn(!on)}>
<ThumbsUpIcon size={20} active={on} />
Thumbs Up
</motion.button>
);
}Details
- Component
- ThumbsUpIcon
- Category
- Social
- Canvas
- 24 × 24, 2px padding
- Stroke
- 1.5 (adjustable), round caps and joins
- Styles
- Stroke, duotone, static, pixel
- State
- “Liked” via the active prop
- Dependencies
- motion