FolioKit

Catchme Button

An interactive button component that evades the cursor with smooth animations and physics-based movement

Installation

pnpm dlx shadcn@latest add https://folio-kit.vercel.app/r/catchme-button.json
npx shadcn@latest add https://folio-kit.vercel.app/r/catchme-button.json
yarn shadcn@latest add https://folio-kit.vercel.app/r/catchme-button.json
bunx shadcn@latest add https://folio-kit.vercel.app/r/catchme-button.json

Usage

import { Button } from "@/components/ui/catchme-button";
<Button evade evadeDistance={180} evadeThreshold={150}>
  Try to Click Me!
</Button>

Examples

Default Evade Button

Button with icon

Button size

Button Variant

Props

Prop

Type

API Reference

Radix UI Slot API Reference


On this page