Evil Eye Button

Evil Eye Button: Obsidian pill button with a burning eye behind the label that tracks cursor movement across the viewport. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Evil Eye Button

npx motion-ui-skill add evil-eye-button

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Evil Eye Button

Obsidian pill button with a burning eye behind the label that tracks cursor movement across the viewport.

Install

npx motion-ui-skill add evil-eye-button

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"use client";

import { EvilEyeButton } from "@/components/buttons/evil-eye-button";

export function EvilEyeButtonDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <EvilEyeButton>Click Me</EvilEyeButton>
    </div>
  );
}

API Reference

EvilEyeButton

Prop Type Default Required Description
className string — No Additional CSS classes
children React.ReactNode — No Button label content

Browse this category