Slider-controlled Duo

A folding iPhone Duo with the original wallpaper, projected screen content, and progressive blur.

Usage docs and preview are being generated by the coding agent. Registry metadata is shown meanwhile.
building preview…
The live preview has not been built yet.
See how it was built

Installation

pnpm dlx shadcn@latest add https://ui-layouts.com/r/iphone-duo-slider.json

Use with Coding Agent

Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.

prompt.md
Use the "Slider-controlled Duo" component (ui-layouts/iphone-duo-slider) from its shadcn registry.1. Install it with: npx shadcn@latest add https://ui-layouts.com/r/iphone-duo-slider.json2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.

Files & dependencies

  • ./components/ui/iphone-duo.tsx
  • ./public/iphone-duo/NOTICE.txt→ public/iphone-duo/NOTICE.txt
  • ./scripts/prepare-iphone-duo-assets.py→ scripts/prepare-iphone-duo-assets.py
  • ./registry/components/iphone-duo/iphone-duo-slider.tsx
  • ./public/iphone-duo/posters/wallpaper-open.svg→ public/iphone-duo/posters/wallpaper-open.svg
  • ./public/iphone-duo/posters/wallpaper-closed.svg→ public/iphone-duo/posters/wallpaper-closed.svg
  • ./public/iphone-duo/posters/launcher-open.svg→ public/iphone-duo/posters/launcher-open.svg
  • ./public/iphone-duo/posters/launcher-closed.svg→ public/iphone-duo/posters/launcher-closed.svg
dependenciesthree@0.186.0clsxtailwind-merge
devDependencies@types/three@0.183.1

Looks similar, elsewhere

There is no screenshot of this item to compare yet.