Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Scaffolds temporary React UI prototypes with multiple switchable layout variants, persisted state, and a floating preview toggle.
50% 91%+41 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 11 of 22 without it.
3 of 3 safety checks passed
119 agent runs
1 forkA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
Temporary workflow for comparing visual/layout options in the running app, then collapsing to a single implementation when the user picks a winner.
Stack: Any React setup (Vite SPA, Next.js, Remix, etc.). Examples below use shadcn/ui and Tailwind for the toggle UI — swap for the app's own component library and styling — and whatever state management the app already uses (Jotai, Zustand, Redux, React Context — see Preview state).
Everything below is client-side code. If the app uses React Server Components (e.g. Next.js App Router), add 'use client' at the top of each preview file; in other setups, omit it.
Do not use for: API design, routing, or long-lived feature flags.
Colocate under the owning feature folder (route _components, app-components, etc.):
feature-name/
├── feature-name.tsx # router: reads variant state, renders active variant
├── feature-name-data.ts # shared data hook / pure mappers (no layout)
├── feature-name-preview.state.ts # variant union + persisted state + labels
├── feature-name-preview-toggle.tsx # floating switcher (dev-only)
├── feature-name-shared.tsx # optional: icons, value formatting, a11y helpers
└── variants/
├── feature-name-variant-a.tsx
├── feature-name-variant-b.tsx
└── ...
Use explicit entry files (feature-name.tsx), not index.ts barrels.
feature-name-data.ts.FeatureItem[] with { id, label, value, isEmpty }.Next to this one in the catalogue, plus more from the same author.