Card Stock Black Plate

The black plate for a Card Stock page: the kit Card as a tipped-in sheet of black stock printed in silver, with a hairline and a deep mount shadow.

Open the preview in a new tab

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 add @01orbital/card-stock-black-plate
npx shadcn add @01orbital/card-stock-black-plate
yarn shadcn add @01orbital/card-stock-black-plate
bunx --bun shadcn add @01orbital/card-stock-black-plate

Part of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).

It lands at components/card/card-stock-black-plate.tsx, as source you own and edit.

The example also uses card-stock. Install it too:

pnpm dlx shadcn add @01orbital/card-stock
npx shadcn add @01orbital/card-stock
yarn shadcn add @01orbital/card-stock
bunx --bun shadcn add @01orbital/card-stock

Usage

import { CardStockBlackPlate } from "@/components/card/card-stock-black-plate"
import { CardStock } from "@/components/texture/card-stock"
import { CardDescription, CardTitle } from "@/components/ui/card"

// Every word on the page. Change copy here, not in the markup.
const COPY = {
  title: "Plate IV",
  caption: "Tipped in by hand on black stock",
} as const

// The black plate mounted on a black page.
export default function CardStockBlackPlateDemo() {
  return (
    <div className="flex min-h-full w-full flex-1 items-center justify-center p-6">
      <CardStock tone="black" className="w-full max-w-sm rounded-md p-10">
        <CardStockBlackPlate className="grid gap-1 p-6">
          <CardTitle>{COPY.title}</CardTitle>
          <CardDescription>{COPY.caption}</CardDescription>
        </CardStockBlackPlate>
      </CardStock>
    </div>
  )
}

API reference

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: cn. The CLI installs them for you.

Registry pieces it installs with it:

On this page