crysta1221

M3 Expressive Button

Buttons 20

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>
  );
}

Dependencies

More by crysta1221

View all
  • Attachment

    Attachment

    21
  • Input OTP

    Input OTP

  • Field

    Field

  • List Item

    List Item

  • Circular Progress

    Circular Progress

  • Empty

    Empty

More in Buttons

View all
  • Button

    Button

    16
  • Texture Button

    Texture Button

    110
  • Notification Button

    Notification Button

    118
  • Eclipse Button

    Eclipse Button

    44
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Button

    Button

    132
  • Button Save

    Button Save

    50
  • Minimal Button

    Minimal Button

    14