UNPKG

lightswind

Version:

A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.

20 lines (19 loc) 707 B
import React from "react"; interface MagneticButtonProps { /** Button label or children */ children: React.ReactNode; /** How strongly the button attracts (0–1, default 0.4) */ strength?: number; /** Pixel radius in which magnetism activates */ radius?: number; /** Visual variant */ variant?: "primary" | "outline" | "ghost" | "dark"; /** Size */ size?: "sm" | "md" | "lg"; /** onClick handler */ onClick?: () => void; /** Additional classes */ className?: string; } export declare function MagneticButton({ children, strength, radius, variant, size, onClick, className, }: MagneticButtonProps): import("react/jsx-runtime").JSX.Element; export {};