Card Stock Blind Button

The blind press for a Card Stock page: the kit Button pressed into the page's own stock without ink, following the page's cream or black tone. The class string styles links the same way.

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

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/button/card-stock-blind-button.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 { CardStockBlindButton } from "@/components/button/card-stock-blind-button"
import { CardStock } from "@/components/texture/card-stock"

// Every word on the page. Change copy here, not in the markup.
const COPY = { label: "View the catalogue" } as const

// The blind press on cream stock and on black stock.
export default function CardStockBlindButtonDemo() {
  return (
    <div className="grid w-full max-w-2xl gap-6 sm:grid-cols-2">
      {(["cream", "black"] as const).map((tone) => (
        <CardStock
          key={tone}
          tone={tone}
          className="flex items-center justify-center rounded-md p-10"
        >
          <CardStockBlindButton>{COPY.label}</CardStockBlindButton>
        </CardStock>
      ))}
    </div>
  )
}

API reference

Prop

Type

It also accepts the props of the Base UI part it wraps, and 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