About
A Material-style floating action button, with an optional extended text label, for the principal creation action on a screen.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Android Floating Action Button to your project and fits it to your theme.
Code
How Android Floating Action Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { AndroidFab } from "@/components/ui/android-fab";
import { Plus } from "lucide-react";
export default function AndroidFabDemo() {
return (
<div
className="flex min-h-[320px] w-full items-center justify-center rounded-lg border"
style={{ background: "var(--bg)", color: "var(--text)" }}
>
<AndroidFab icon={<Plus size={24} />}>New note</AndroidFab>
</div>
);
}








