Earthling UI

  1. Components
  2. card

Card

Prop
Default Value
Value
Whether the card is interactive
interactive
undefined
The material of the card
material
paper

Anatomy

<Card> <CardHeader> <CardTitle /> <CardDescription /> </CardHeader> <CardContent /> <CardFooter /> </Card>

Installation

1
Ensure Earthling UI is installed
bun add earthling-ui
2
Import the component from earthling-ui
import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from "earthling-ui/card"
The component is ready to use