Moumen Soliman

Native Button

Buttons 12

About

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.

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

Code

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

Usage.tsx

"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 };

Dependencies

More by Moumen Soliman

View all
  • Interactive Logs Table

    Interactive Logs Table

    1.4K
  • Glass Blog Card

    Glass Blog Card

    1.1K
  • Glowy Waves Hero

    Glowy Waves Hero

    920
  • Gallery Grid with Lightbox

    Gallery Grid with Lightbox

    789
  • Expanding Search Dock

    Expanding Search Dock

    761
  • Glassmorphism Portfolio

    Glassmorphism Portfolio

    653
  • Hero Section

    Hero Section

    603
  • Glass Checkout Card

    Glass Checkout Card

    482

More in Buttons

View all
  • Button

    Button

    5
  • App Store Button

    App Store Button

    453
  • Button

    Button

    47
  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    4
  • Texture Button

    Texture Button

    92
  • Split Button

    Split Button

    14
  • Button

    Button

    32