ham7a311

Cyanotype

Backgrounds

About

An animated canvas background that simulates a cyanotype sun print developing into Prussian blue, with botanical silhouettes and a leaf shadow that follows the pointer.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Cyanotype to your project and fits it to your theme.

Code

How Cyanotype is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import Cyanotype from "@/components/ui/cyanotype";

export default function CyanotypeDemo() {
  return (
    <div className="h-full min-h-[26rem] w-full">
      <Cyanotype edge="sheet">
        <div className="pointer-events-none flex h-full flex-col items-center justify-center px-8 py-10 text-center">
          <p className="font-mono text-[0.6875rem] uppercase tracking-[0.16em] text-[#dfe8f2]/80">
            Oman Botanic Garden · Saturday 14 November
          </p>
          <p className="mt-3 max-w-[16ch] font-serif text-[clamp(2.25rem,6vw,4rem)] leading-[0.98] text-[#f4f6f2]">
            Sun prints from the garden, in an afternoon.
          </p>
        </div>
      </Cyanotype>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    214
  • Route Globe

    Route Globe

    170
  • Glass Tiles

    Glass Tiles

    159
  • Orbit Ring Stats

    Orbit Ring Stats

    70
  • Glyph Swell

    Glyph Swell

    65
  • Fan Deck Card

    Fan Deck Card

    54
  • Ask Bar

    Ask Bar

    52
  • Glass Ribbons

    Glass Ribbons

    46

More in Backgrounds

View all
  • Jade Sky

    Jade Sky

    115
  • Elegant Dark Pattern

    Elegant Dark Pattern

    942
  • Honey Ember Background

    Honey Ember Background

    100
  • Gradient Backgrounds

    Gradient Backgrounds

    33
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    623
  • Gradient Blur Bg

    Gradient Blur Bg

    38
  • Background snippets

    Background snippets

    116
  • Gradient Background 4

    Gradient Background 4

    306