Skip to Content

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.

View as Markdown
pnpm dlx shadcn add @01orbital/engraved-card

Usage

import { EngravedCard } from "@/components/card/engraved-card"

API 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 them for you. cn merges Tailwind class names, in place of clsx and tailwind-merge.

Registry pieces it installs with it:

Used in blocks

One block is built with Engraved Card.