Skip to Content

Stipple

Halftone stipple texture of radial dots, in a default or a dense pitch. White by default, recolored for light grounds; intensity scales dot opacity. A print-style overlay.

pnpm dlx shadcn add @01orbital/stipple

The example also uses card. Install it too:

pnpm dlx shadcn add @01orbital/card

Usage

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

/** A sized stipple surface with readable studio details. */
export default function StippleDemo() {
  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-[#f1d677] p-6 wrap-anywhere text-[#313c3e] shadow-sm ring-1 ring-black/10 [--muted-foreground:#414d43] sm:p-8">
        <Stipple intensity="rich" className="[--stipple-color:#313c3e]" />
        <CardHeader className="relative z-20 gap-6 px-0">
          <p className="text-sm font-medium">Good Measure</p>
          <div className="grid gap-1">
            <CardTitle className="text-2xl/8 font-medium tracking-tight">
              Owen Clarke
            </CardTitle>
            <CardDescription>Graphic 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>14 Station Street, Margate</span>
          <a
            href="mailto:hello@goodmeasure.example"
            className="break-all underline underline-offset-4 focus-visible:outline-2 focus-visible:outline-offset-4"
          >
            hello@goodmeasure.example
          </a>
        </CardFooter>
      </Card>
    </div>
  )
}

Examples

New

stipple-studio-card

stipple-studio-card

· Studio card

Stipple texture example: a contact card on straw-yellow stock with rich stipple, a graphic designer's name, a Margate address and email. Use it for a studio or business card.

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

New

stipple-workshop-invitation

stipple-workshop-invitation

· Workshop invitation

Stipple · Workshop invitation: an example of stipple.

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

New

stipple-seasonal-menu

stipple-seasonal-menu

· Seasonal menu

Stipple texture example: a lunch menu on ivory stock with slate-teal stipple, aligned prices and an allergy note. Use it for a cafe or restaurant menu.

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

New

stipple-field-note

stipple-field-note

· Field note

Stipple texture example: a dated proofing note on straw-yellow stock with dense dots, about midtones closing up, plus a next-time list. Use it for a print journal entry.

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

New

stipple-edition-cover

stipple-edition-cover

· Edition cover

Stipple texture example: a slate-teal cover in fine cream stipple with a large issue number and the title Marks in repetition. Use it for a zine or portfolio cover.

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

New

stipple-order-receipt

stipple-order-receipt

· Order receipt

Stipple texture example: an itemized order on straw-yellow stock with dense slate-teal stipple, a paid total and a pickup note. Use it for a shop receipt.

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

New

stipple-collection-label

stipple-collection-label

· Collection label

Stipple · Collection label: an example of stipple.

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

New

stipple-studio-letter

stipple-studio-letter

· Studio letter

Stipple texture example: a short letter on straw-yellow stock with fine dense dots, an inset address, two paragraphs and a signature. Use it for a customer note.

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

New

stipple-quote-card

stipple-quote-card

· Quote card

Stipple texture example: a quotation about repeating a mark, in cream ink on a slate-teal stippled ground, with a graphic designer credit. Use it for a testimonial.

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

New

stipple-day-programme

stipple-day-programme

· Day program

Stipple texture example: a one-day risograph printing program on straw-yellow stock with dense slate-teal dots and times beside sessions. Use it for a print studio schedule.

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