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
  • M Switch

    M Switch

    8
  • Tab Bar Item

    Tab Bar Item

    5
  • MCheckbox

    MCheckbox

    5
  • MListItem

    MListItem

    3
  • Segmented Control

    Segmented Control

    3
  • M Button

    M Button

  • MBadge

    MBadge

  • Side Panel Item

    Side Panel Item

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    46
  • Course Design Cards

    Course Design Cards

    1.3K
  • Liquid Glass Card

    Liquid Glass Card

    202
  • Statistics Card 2

    Statistics Card 2

    321
  • Card Studio

    Card Studio

    37
  • Astryx Clickable Card

    Astryx Clickable Card

    1
  • Admin Dashboard Cards

    Admin Dashboard Cards

    40
  • Statistics Card 10

    Statistics Card 10

    307