Skip to content

Card

A container for related content in three forms: static, pressable or a link.

import { Card } from '@windmorph/react';

Playground

Alpine hut trail

A guided three-day walk with two nights in mountain huts, from €320.

Code

import { Card } from '@windmorph/react'; <Card  variant="elevated">  <div className="flex flex-col gap-1 p-4">    <h3 className="text-title-medium text-on-surface">Alpine hut trail</h3>    <p className="text-body-medium text-on-surface-variant">      A guided three-day walk with two nights in mountain huts, from €320.    </p>  </div></Card>

Examples

Variants

Pressable and link

Content and actions