Skip to Content

Paper

Paper fiber texture: thin lines at slightly off-axis angles on three repeat intervals, which avoids moire. White fibers by default, recolored for light grounds; three intensities.

pnpm dlx shadcn add @01orbital/paper

The example also uses card. Install it too:

pnpm dlx shadcn add @01orbital/card

Usage

import { Paper } from "@/components/texture/paper"
import {
  Card,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/components/ui/card"

/** A sized paper surface with readable studio details. */
export default function PaperDemo() {
  return (
    <div className="flex min-h-full w-full flex-1 items-center justify-center p-4 sm:p-8">
      <Card className="relative isolate w-full max-w-sm gap-6 overflow-hidden rounded-xl bg-[#eee6d5] p-6 wrap-anywhere text-[#302e29] shadow-sm ring-1 ring-black/10 [--muted-foreground:#59554b] sm:p-8">
        <Paper intensity="rich" className="[--paper-color:#302e29]" />
        <CardHeader className="relative z-20 gap-6 px-0">
          <p className="text-sm font-medium">Common Press</p>
          <div className="grid gap-1">
            <CardTitle className="text-2xl/8 font-medium tracking-tight">
              Elliot Park
            </CardTitle>
            <CardDescription>Editor & book designer</CardDescription>
          </div>
        </CardHeader>
        <CardFooter className="relative z-20 flex-wrap justify-between gap-3 border-t border-current/20 px-0 pt-5 text-xs/5">
          <span>12 Chapel Yard, Norwich</span>
          <a
            href="mailto:hello@commonpress.example"
            className="break-all underline underline-offset-4 focus-visible:outline-2 focus-visible:outline-offset-4"
          >
            hello@commonpress.example
          </a>
        </CardFooter>
      </Card>
    </div>
  )
}

Examples

New

paper-studio-card

paper-studio-card

· Studio card

Paper texture example: a contact card on cream paper with a book designer's name, a Norwich address and an email link. Use it for a studio or business card.

pnpm dlx shadcn add @01orbital/paper-studio-card

New

paper-workshop-invitation

paper-workshop-invitation

· Workshop invitation

Paper texture example: a notebook-binding workshop invitation on cream paper with a large date, a short introduction and booking details. Use it for an event invitation.

pnpm dlx shadcn add @01orbital/paper-workshop-invitation

New

paper-seasonal-menu

paper-seasonal-menu

· Seasonal menu

Paper texture example: a lunch menu on ivory paper with white bean soup, a toastie and lemon cake, aligned prices and an allergy note. Use it for a cafe or restaurant menu.

pnpm dlx shadcn add @01orbital/paper-seasonal-menu

New

paper-field-note

paper-field-note

· Field note

Paper texture example: a dated working note on cream paper about uncoated stock and blue ink, with a short list for the next visit. Use it for a journal or changelog entry.

pnpm dlx shadcn add @01orbital/paper-field-note

New

paper-edition-cover

paper-edition-cover

· Edition cover

Paper texture example: a charcoal editorial cover in fine paper grain with a large issue number and a title block for a small history of print. Use it for a magazine or zine cover.

pnpm dlx shadcn add @01orbital/paper-edition-cover

New

paper-order-receipt

paper-order-receipt

· Order receipt

Paper texture example: an itemized print order on cream paper with a paid total and a collection note. Use it for a shop receipt or order confirmation.

pnpm dlx shadcn add @01orbital/paper-order-receipt

New

paper-collection-label

paper-collection-label

· Collection label

Paper texture example: a collection label on a pale sage-gray ground with charcoal ink, listing material, dimensions and edition in a definition list. Use it for an artwork or print caption.

pnpm dlx shadcn add @01orbital/paper-collection-label

New

paper-studio-letter

paper-studio-letter

· Studio letter

Paper texture example: a short letter on cream paper with an inset address line, a greeting, two paragraphs and a signature. Use it for a customer note or welcome message.

pnpm dlx shadcn add @01orbital/paper-studio-letter

New

paper-quote-card

paper-quote-card

· Quote card

Paper texture example: a quotation about folding a sheet, set in cream ink on a charcoal paper ground, with an editor credit. Use it for a testimonial or pull quote.

pnpm dlx shadcn add @01orbital/paper-quote-card

New

paper-day-programme

paper-day-programme

· Day program

Paper texture example: a one-day program on cream paper with session times aligned beside bookbinding workshop activities. Use it for an event schedule.

pnpm dlx shadcn add @01orbital/paper-day-programme

API reference

Prop

Type

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

Dependencies

npm: cn. The CLI installs them for you.

No other registry pieces.