Avijit Dey

Percent Icon

Component

About

An animated percent-sign icon that plays a slash-and-dots animation on hover or via an imperative ref, for use in finance, discount, or stats UI.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Percent Icon to your project and fits it to your theme.

Code

How Percent Icon is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { PercentIcon } from "@/components/ui/percent-icon";

export default function PercentIconDemo() {
  return (
    <div className="flex items-center justify-center w-full h-screen">
      <PercentIcon size={64} duration={1} />
    </div>
  );
}

Dependencies

More by Avijit Dey

View all
  • Checkmark Circle Icon

    Checkmark Circle Icon

    1
  • Eye Icon

    Eye Icon

    1
  • Mouse Pointer Click Icon

    Mouse Pointer Click Icon

    1
  • VK Square Icon

    VK Square Icon

  • Bell Off Icon

    Bell Off Icon

  • Filter Icon

    Filter Icon

  • Shield User Icon

    Shield User Icon

  • Analytics Down Icon

    Analytics Down Icon

Explore more

Part of AnimateIcons / Lucide — browse the full library on 21st.dev.