Engraved Card
Metal membership or bank card with a topographic contour pattern in metals from graphite to lime, a contact chip, an optional printed wordmark and horizontal or vertical orientation. ISO card proportions.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn@latest add @01orbital/engraved-cardnpx shadcn@latest add @01orbital/engraved-cardyarn dlx shadcn@latest add @01orbital/engraved-cardbunx --bun shadcn@latest add @01orbital/engraved-cardUsage
import { EngravedCard } from "@/components/card/engraved-card"
export default function Demo() {
return (
<EngravedCard
from="sulaco"
metal="graphite"
wordmark="sulaco"
label="A graphite Sulaco card"
className="w-full max-w-sm"
/>
)
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/engraved-card-demonpx shadcn@latest add @01orbital/engraved-card-demoyarn dlx shadcn@latest add @01orbital/engraved-card-demobunx --bun shadcn@latest add @01orbital/engraved-card-demoAPI reference
A metal card in ISO 7810 bank-card proportions, for a pricing or membership display: a seeded contour pattern, a chip and an optional wordmark. Set its width with className; its height follows.
Without label it is decorative and hidden from assistive tech; with one, it is announced as an image of that name. The pattern is painted on a canvas in the browser after the card mounts.
Prop
Type
It also accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs it for you.
Requires these pieces. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:
Used in blocks
One block is built with Engraved Card.
Last updated on