Double border card
Two fine lines with a narrow gap between them, like a framed print.

Glass house in the redwoods
A quiet cabin under old trees, two hours from the city.
$240 a night
Customize
Props
Size
Installation
npx shadcn@latest add https://skinsui.dev/r/card-double.jsonUsage
usage.tsx
import { Button } from "@/components/skins/button-outline";import { Card, CardDescription, CardFooter, CardHeader, CardMedia, CardTitle,} from "@/components/skins/card-double";export function Stay() { return ( <Card> <CardMedia src="https://assets.wensity.com/photos/architecture-interiors/forest-glass-house.webp" alt="A glass house lit from inside, among tall trees in the rain" /> <CardHeader> <CardTitle>Glass house in the redwoods</CardTitle> <CardDescription>A quiet cabin under old trees, two hours from the city.</CardDescription> </CardHeader> <CardFooter className="justify-between"> <span>$240 a night</span> <Button size="sm">Book</Button> </CardFooter> </Card> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
| size | "sm" | "md" | "lg" | "md" | Padding of 16, 20 or 28 pixels, with type and gaps to match. |
| href | string | None | Makes the whole card a link. Use it only when the card holds no other buttons or links. |
- size"md"
"sm" | "md" | "lg"Padding of 16, 20 or 28 pixels, with type and gaps to match.
- hrefNone
stringMakes the whole card a link. Use it only when the card holds no other buttons or links.
Parts
| Part | Renders | Description |
|---|---|---|
| Card | <div> | The card itself. Renders a link when you pass href. |
| CardMedia | <div> | A picture at the top, edge to edge. Pass src and alt, or your own children. |
| CardHeader | <div> | Holds the title and description. |
| CardTitle | <h3> | The heading. |
| CardDescription | <p> | A line or two under the title. |
| CardContent | <div> | Anything else: a list, a form, a chart. |
| CardFooter | <div> | A row at the bottom for actions or details. |
- Card<div>
The card itself. Renders a link when you pass href.
- CardMedia<div>
A picture at the top, edge to edge. Pass src and alt, or your own children.
- CardHeader<div>
Holds the title and description.
- CardTitle<h3>
The heading.
- CardDescription<p>
A line or two under the title.
- CardContent<div>
Anything else: a list, a form, a chart.
- CardFooter<div>
A row at the bottom for actions or details.