Back to blocks
Knockout Cloud Opener React component

What is this?

A site-open mask: a filled cloud window reveals the page inside, then a bubble mask expands to full screen. Wrap your existing hero or page as children. Swap the logo mark, then drop it at the top of a brand site.

Full TSX source. No account needed.

knockout-wordmark-opener.tsx

"use client"; import { useEffect, useLayoutEffect, useState, type CSSProperties, type ReactNode } from "react";import { cn } from "@/lib/utils"; const ASSET = "https://design-layer.com/dev/knockout-wordmark-opener";const STYLE_ID = "knockout-wordmark-opener-css"; 

Read the guide

BlockPass

Knockout Cloud Opener

A site-open mask: a filled cloud window reveals the page inside, then a bubble mask expands to full screen. Wrap your existing hero or page as children. Swap the logo mark, then drop it at the top of a brand site.

Checking access…
Live Preview

Verified Technical Spec

Animation
CSS / Tailwind
Reduced motion
Verified
Keyboard focus
Not detected in source
Compatibility
Tailwind CSS v3.4 + v4 · React 19 / Next.js 15 App Router + Vite / Remix compatible

Included

  • Copy source into Cursor or Claude for agent install
  • Finished React · TypeScript · Tailwind CSS UI

Dependencies

  • React 19.0.0
  • Typescript 5.7.2
  • Tailwindcss 3.4.16

Tech Stack

  • React
  • TypeScript
  • Tailwind CSS

Version 1.0.0