variant takes one described piece of UI and builds three versions that each answer the same brief differently. They differ on one named axis such as structure, density, emphasis, type or voice, and every variant clears the same accessibility floor.
The variants are hosted on the page that will contain the piece, with real neighbours and realistic data, behind a picker with a URL param. The skill presents the tradeoffs, never picks a favorite, then builds the chosen one properly and removes the rest. You invoke it yourself by command.
What You Get
- Three variants with direction names such as Quiet, Editorial or Dense, each at a different position on one axis
- A picker beside the piece driven by a __variant search param, so every variant is a shareable link
- A tradeoff table listing the axis position, when it is right and what it costs
- A shared accessibility floor covering names, focus, keyboard, contrast, reduced motion and 320px width
- A clean promotion step that builds the chosen variant and deletes the harness
Common Use Cases
- Exploring layouts for a dashboard metric card
- Comparing a dense and a spacious version of a settings list
- Trying different copy voices for an empty state
- Choosing type scale and weight contrast for a pricing block
What Makes It Unique
Each variant is a different answer on a named axis, so the choice is between designs and not between tints. All variants run in the real page with product-shaped content and at full size, because spacing is usually the thing being chosen. The skill produces candidates and never ranks them, and it asks the other better-* skills’ axes to define what can vary.
Under The Hood
The skill is written instructions plus one reference file with the picker markup and CSS. The agent reads your project’s styling, components and tokens, then writes new files in your codebase: the variant components, the picker and a change to the hosting page’s imports. It can build a single standalone HTML file when no page can host the piece. It opens the page in a browser if one is available to check each variant. After you choose, it edits your code to promote the winner and deletes the rest. It does not run scripts of its own or call outside services.