cg

Midnight Christmas Stained Glass

Component

About

An interactive Christmas stained-glass window. Choose a star, bell, or fir tree to light up a different motif and color palette. Built with React, SVG, and CSS, with keyboard navigation and reduced-motion support.

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

Code

How Midnight Christmas Stained Glass is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { MidnightStainedGlass } from "@/components/ui/midnight-christmas-stained-glass";
export default function Demo(){return <div style={{display:"grid",placeItems:"center",width:"100%",padding:16,boxSizing:"border-box"}}><MidnightStainedGlass/></div>}