About
A press-ripple button with Material 3 Expressive variants (filled, tonal, elevated, outlined, text), sizes, round/square shapes and icon-only widths, for shadcn/ui + Tailwind apps.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds M3 Expressive Button to your project and fits it to your theme.
Code
How M3 Expressive Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Button } from "@/components/ui/button";
export default function Demo() {
return (
<div className="flex flex-wrap items-center gap-3">
<Button variant="filled">Filled</Button>
<Button variant="tonal">Tonal</Button>
<Button variant="elevated">Elevated</Button>
<Button variant="outlined">Outlined</Button>
<Button variant="text">Text</Button>
<Button disabled>Disabled</Button>
</div>
);
}









