Motion

Floating Action Button

Buttons 92

About

A FAB that expands into a staggered vertical menu of action items with spring animations and tooltip labels

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 FloatingActionButton from "@/components/ui/motion-floating-action-button"

export default function Default() {
  return (
    <div className="motion-example flex w-full items-center justify-center p-8">
      <FloatingActionButton />
    </div>
  )
}

Dependencies

More by Motion

View all
  • Material design ripple

    Material design ripple

    623
  • Scroll word reveal

    Scroll word reveal

    199
  • Confetti

    Confetti

    174
  • Scroll Horizontal Gallery

    Scroll Horizontal Gallery

    77
  • Split text

    Split text

    71
  • Fill text

    Fill text

    67
  • Skeleton shimmer

    Skeleton shimmer

    59
  • Create Button

    Create Button

    57

More in Buttons

View all
  • Texture Button

    Texture Button

    98
  • Button

    Button

    1
  • Button

    Button

    68
  • Eclipse Button

    Eclipse Button

    3
  • Button

    Button

    65
  • Base Button

    Base Button

    4
  • HeroUI Button Group

    HeroUI Button Group

    2
  • App Store Button

    App Store Button

    460