Arihant jain

Disclose Image

Galleries

About

An image that reveals itself with two animated sliding door panels once it finishes loading.

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

Code

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

Usage.tsx

import DiscloseImage from "@/components/ui/disclose-image";

export default function DiscloseImageDemo() {
  return (
    <div className="flex min-h-[26rem] w-full items-center justify-center bg-background">
      <DiscloseImage
        src="https://cdn.21st.dev/assets/mirror/1d/1d3f8defb31873a8c94f3f0b7e72423da28e8b328c9b024285c44a753ee534d9.jpg"
        alt="Mountain landscape"
      />
    </div>
  );
}

More by Arihant jain

View all
  • Footer section

    Footer section

    1.9K
  • Multistep Form

    Multistep Form

    698
  • Animated Drawer

    Animated Drawer

    686
  • Status Badge

    Status Badge

    495
  • Stacked Circular Footer

    Stacked Circular Footer

    413
  • Input Modal

    Input Modal

    316
  • Large Name Footer

    Large Name Footer

    193
  • Profile Dropdown

    Profile Dropdown

    187

More in Galleries

View all
  • Thumbnail image viewer

    Thumbnail image viewer

    43
  • Animated Gallery

    Animated Gallery

    1.4K
  • File Upload

    File Upload

    18
  • Editorial Collage Hero

    Editorial Collage Hero

    431
  • 3D Parallax Unfurling Gallery

    3D Parallax Unfurling Gallery

    981
  • Image Gallery

    Image Gallery

    123
  • Elastic Gallery

    Elastic Gallery

    908
  • Tilted Grid Hero

    Tilted Grid Hero

    1.5K

Explore more

Part of Spectrum UI — browse the full library on 21st.dev.