Display
Card <pm-card>
Card container that renders the active surface style.
Two nights in a mountain hut and a glacier walk.
€ 420Ada LovelaceDesign lead
Leads the token pipeline and reviews every new component before it ships.
Shared workspaces, SSO and priority support. Compare plans
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
heading | string | — | Title text. |
description | string | — | Supporting text under the title. |
size | 'sm' | 'md' | — | Size: sm or md (md when not set). |
interactive | boolean | — | Hover and press feedback for cards that act as one big link or button. |
Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.
Slots
| Slot | Description |
|---|---|
media | Full-bleed image/video at the top. |
header | Custom header (overrides heading/description). |
(default) | Body. |
footer | Actions. |
CSS parts
| Part | Description |
|---|---|
::part(base) | The card container. |
::part(media) | The box around the media. |
::part(header) | The header. |
::part(title) | The heading text. |
::part(description) | The description text. |
::part(body) | The body: the part that scrolls in a card with a limited height. |
::part(footer) | The footer. |
Used in templates
Overview dashboardTraffic analyticsOrdersCustomer 360InboxTeam chatAI assistantNotificationsProject boardTeam and rolesBilling and invoicesUser profileAccount settingsPricing plansProduct pageShopping cartCheckoutLanding pageArticleChangelogHelp centreContactComing soonNot found (404)Server error (500)Onboarding wizardAppointment bookingFeedback survey