millaistudio

MCard

Cards

About

A simple container card with configurable padding, elevation shadow, and element tag, ported from the Millai UI Vue library's MCard component.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds MCard to your project and fits it to your theme.

Code

How MCard is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import MCard from "@/components/ui/mcard";

export default function MCardDemo() {
  return (
    <div className="w-full max-w-sm p-6">
      <MCard>
        <h3 style={{ margin: 0, fontWeight: 600 }}>Weekly Report</h3>
        <p style={{ marginTop: 8, marginBottom: 0 }}>
          Your team completed 12 tasks this week, 3 more than last week.
        </p>
      </MCard>
    </div>
  );
}

More by millaistudio

View all
  • Tab Bar Item

    Tab Bar Item

    1
  • MCheckbox

    MCheckbox

    1
  • M Button

    M Button

  • MListItem

    MListItem

  • MBadge

    MBadge

  • Side Panel Item

    Side Panel Item

  • MText Input

    MText Input

  • Navigation View

    Navigation View

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    273
  • Statistics Card 7

    Statistics Card 7

    301
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    184
  • Stats cards with links

    Stats cards with links

    82
  • Weather Card

    Weather Card

    57
  • Card Studio

    Card Studio

    9