A full-bleed route curtain modeled on a real theatrical tab (tableau/opera-drape) curtain: the rigging where a line of rings runs on the diagonal from a panel's center-meeting bottom corner up to a fixed tie-off roughly a third of the way up the wing side, so hauling it draws that corner UP AND OUT along a curved diagonal while the header stays pinned, gathering the fabric into a swag before the whole tied-back panel retracts offscreen; a different axis of motion from curtain-traveler-draw's horizontal parting on a corded track.
Install
Add it to your project
Run this in a project set up for shadcn/ui. It writes the files and installs the npm packages.
First time: connect the Infinity UI registry
- Create a personal token on your Tokens page.
- Put it in
.env.localasINFINITYUI_TOKEN. - Add the registry to
components.json:
{
"registries": {
"@infinityui": {
"url": "https://infinityui.io/r/{name}.json",
"headers": {
"Authorization": "Bearer ${INFINITYUI_TOKEN}"
}
}
}
}Using Claude Code, Codex, Cursor, Lovable or v0? See CLI & MCP for a setup prompt.
Code
import * as M from "@/registry/loud/curtain-tab-diagonal/component";
const isComp = (v: any) => typeof v === "function" || (v && typeof v === "object" && "$$typeof" in v);
const named = Object.entries(M).filter(([k, v]) => /^[A-Z]/.test(k) && isComp(v));
const C: any = (M as any).default ?? (M as any)["CurtainTabDiagonal"] ?? named[0]?.[1] ?? (() => null);
export default function Demo() { return <C />; }
































