Skip to Content

Tooth Grain

Paper tooth grain texture: a single-octave noise tile at overlay blend, so a surface reads as fine paper without clumping into a pattern. Intensity steps or an exact opacity; full-bleed in a relative parent.

pnpm dlx shadcn add @01orbital/tooth-grain

The example also uses card. Install it too:

pnpm dlx shadcn add @01orbital/card

Usage

import { ToothGrain } from "@/components/texture/tooth-grain"
import {
  Card,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/components/ui/card"

/** A sized tooth surface with readable studio details. */
export default function ToothDemo() {
  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-[#d8c7b6] p-6 wrap-anywhere text-[#352e2b] shadow-sm ring-1 ring-black/10 [--muted-foreground:#605248] sm:p-8">
        <ToothGrain intensity="rich" />
        <CardHeader className="relative z-20 gap-6 px-0">
          <p className="text-sm font-medium">West Drawing Room</p>
          <div className="grid gap-1">
            <CardTitle className="text-2xl/8 font-medium tracking-tight">
              Jules Bennett
            </CardTitle>
            <CardDescription>Artist & drawing tutor</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>3 West Arcade, Exeter</span>
          <a
            href="mailto:hello@westdrawing.example"
            className="break-all underline underline-offset-4 focus-visible:outline-2 focus-visible:outline-offset-4"
          >
            hello@westdrawing.example
          </a>
        </CardFooter>
      </Card>
    </div>
  )
}

Examples

New

tooth-grain-studio-card

tooth-grain-studio-card

Tooth · Studio card

Tooth grain texture example: a contact card on buff drawing paper with an artist and tutor's name, an Exeter address and an email link. Use it for a studio or business card.

pnpm dlx shadcn add @01orbital/tooth-grain-studio-card

New

tooth-grain-workshop-invitation

tooth-grain-workshop-invitation

Tooth · Workshop invitation

Tooth · Workshop invitation: an example of tooth-grain.

pnpm dlx shadcn add @01orbital/tooth-grain-workshop-invitation

New

tooth-grain-seasonal-menu

tooth-grain-seasonal-menu

Tooth · Seasonal menu

Tooth grain texture example: a lunch menu on ivory paper with a light tooth, aligned prices and an allergy note. Use it for a cafe or restaurant menu.

pnpm dlx shadcn add @01orbital/tooth-grain-seasonal-menu

New

tooth-grain-field-note

tooth-grain-field-note

Tooth · Field note

Tooth grain texture example: a dated note on buff drawing paper about soft charcoal catching on the sheet, with a list for the next visit. Use it for a studio journal entry.

pnpm dlx shadcn add @01orbital/tooth-grain-field-note

New

tooth-grain-edition-cover

tooth-grain-edition-cover

Tooth · Edition cover

Tooth grain texture example: a dark umber cover with fine paper tooth, a large issue number and the title Looking, then drawing. Use it for a sketchbook or course cover.

pnpm dlx shadcn add @01orbital/tooth-grain-edition-cover

New

tooth-grain-order-receipt

tooth-grain-order-receipt

Tooth · Order receipt

Tooth grain texture example: an itemized order on buff paper with a toothy grain, a paid total and a pickup note from a drawing school. Use it for a shop receipt.

pnpm dlx shadcn add @01orbital/tooth-grain-order-receipt

New

tooth-grain-collection-label

tooth-grain-collection-label

Tooth · Collection label

Tooth · Collection label: an example of tooth-grain.

pnpm dlx shadcn add @01orbital/tooth-grain-collection-label

New

tooth-grain-studio-letter

tooth-grain-studio-letter

Tooth · Studio letter

Tooth grain texture example: a short letter on buff drawing paper with an inset address line, two paragraphs and a signature. Use it for a customer note or follow-up.

pnpm dlx shadcn add @01orbital/tooth-grain-studio-letter

New

tooth-grain-quote-card

tooth-grain-quote-card

Tooth · Quote card

Tooth grain texture example: a quotation about drawing as attention, set in cream ink on a dark umber toothed ground, with an artist credit. Use it for a testimonial.

pnpm dlx shadcn add @01orbital/tooth-grain-quote-card

New

tooth-grain-day-programme

tooth-grain-day-programme

Tooth · Day program

Tooth grain texture example: a one-day charcoal drawing program on buff paper with a visible tooth, times aligned beside each session. Use it for an art class schedule.

pnpm dlx shadcn add @01orbital/tooth-grain-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.