Diagonal Curtain Gate
A production-scale, light + dark Diagonal Curtain Gate component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add diagonal-curtain-gateLive preview available in the gallery.
Usage
import { DiagonalCurtainGate } from "@lerpa/ui";
<DiagonalCurtainGate />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| isOpen | boolean | - | |
| onComplete | () => void | — | |
| curtainColor | string | — | |
| accentColor | string | — | |
| transitionDuration | number | — | |
| children | React.ReactNode | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.