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 (
<Button
variant="tonal"
render={
<a href="https://m3.material.io" target="_blank" rel="noreferrer">
Material Design
</a>
}
nativeButton={false}
/>
);
}









