crysta1221

M3 Expressive Button

Buttons

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 size="md" shape="round">
        Round
      </Button>
      <Button size="md" shape="square">
        Square
      </Button>
      <Button size="md" variant="tonal" shape="square">
        Tonal square
      </Button>
    </div>
  );
}

Dependencies

More by crysta1221

View all
  • Attachment

    Attachment

    5

More in Buttons

View all
  • Button

    Button

    5
  • Texture Button

    Texture Button

    97
  • Button Group

    Button Group

  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    4
  • HeroUI Button Group

    HeroUI Button Group

  • Base Button

    Base Button

    4
  • App Store Button

    App Store Button

    458