Serafim

Floating Action Button

Buttons 415

About

Apple-Inspired Floating Action Buttons. Inspired by @KumailNanji and @ln-dev7

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

Code

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

Usage.tsx

'use client'

import { Github, Twitter, Linkedin, Instagram, Youtube, Facebook } from "lucide-react"
import { AnimatedSocialIcons } from "@/components/ui/floating-action-button"

export function Demo() {
  const socialIcons = [
    { 
      Icon: Github,
      href: "https://github.com",
      className: "hover:bg-accent"
    },
    { 
      Icon: Twitter,
      href: "https://twitter.com" 
    },
    { 
      Icon: Linkedin,
      href: "https://linkedin.com" 
    },
    { 
      Icon: Instagram,
      href: "https://instagram.com" 
    }
  ]

  return (
    <main className="relative w-full min-h-screen flex items-start md:items-center justify-center px-4 py-10 bg-background">
      <AnimatedSocialIcons 
        icons={socialIcons}
        iconSize={20}
      />
    </main>
  )
}

Dependencies

More by Serafim

View all
  • Spline Scene

    Spline Scene

    9.7K
  • Testimonials with Marquee

    Testimonials with Marquee

    2.4K
  • Gradient Button

    Gradient Button

    2K
  • Pixel Canvas

    Pixel Canvas

    923
  • Animated Blur Number

    Animated Blur Number

    832
  • Empty State

    Empty State

    794
  • Balloons

    Balloons

    786
  • Status Badge

    Status Badge

    683

More in Buttons

View all
  • Button

    Button

    4
  • Button Group

    Button Group

    38
  • Texture Button

    Texture Button

    102
  • Button

    Button

    10
  • Native Button

    Native Button

    12
  • Button

    Button

    75
  • Split Button

    Split Button

    36
  • HeroUI Button Group

    HeroUI Button Group

    11