Components
Loading preview...
Glassmorphism-inspired button wrapping shadcn/ui Button. Adds framer-motion whileHover/whileTap spring micro-interactions, an optional glow halo (shadow + blurred radial overlay), and a loading state with Loader2 spinner + opacity pulse. Falls back to no animation when reduced-motion is requested.
@reapollo
npx shadcn@latest add https://21st.dev/r/larsen66/native-button"use client";
import { NativeButton } from "@/components/ui/native-button";
export default function NativeButtonLoadingDemo() {
return (
<div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden">
<NativeButton loading>Processing...</NativeButton>
</div>
);
}
export { NativeButtonLoadingDemo };