Components
Card
In ProgressA surface for grouping related content. Choose a variant and pass data — no layout classes required.
Balance variant
Total balance
Your current MNEE balance
$1,204.00
Loading state
Module variant
Stripe Payments
ActiveModule type: Stripe Custom Payment
Loading state
Container (generic)
Use CardContainer when you need the card shell without an opinionated layout. Pass any children and add padding/background via className.
Custom content
CardContainer is a generic shell — bring your own layout.
Usage
import { Card, CardContainer } from "@mnee-ui/ui"Props — balance variant
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "balance" | — | Required — selects the balance layout |
| title | string | — | Card heading |
| description | string? | — | Muted subtext below the title |
| amount | string | — | Large monetary figure displayed in the body |
| action | ReactNode? | — | Slot rendered in the footer (e.g. a Button) |
| loading | boolean? | false | Replaces content with animated skeleton placeholders |
| className | string? | — | Layout utilities only (margin, width) |
Props — module variant
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "module" | — | Required — selects the module layout |
| title | string | — | Card heading |
| description | string? | — | Muted subtext below the title |
| status | "success" | "warning" | "error" | "info" | "default"? | — | Badge color shown next to the title |
| statusLabel | string? | — | Text inside the status badge |
| onEdit | () => void? | — | Renders an Edit button in the footer |
| onView | () => void? | — | Renders a View button in the footer |
| loading | boolean? | false | Replaces content with animated skeleton placeholders |
| className | string? | — | Layout utilities only (margin, width) |