21st UI Explore

Explore multiple meaningfully different UI directions with project context and 21st inspiration

When to use it. - "Show me three directions" - "Explore alternatives" - "What could this page look like?" - "Generate variants"

This is a skill for AI agents. Install for Cursor, Claude, Codex, and other agents with npx oli-skills install 21st-ui-explore.

  • Cursor reads .cursor/skills/ and the rule created by npx oli-skills init.
  • Claude Code reads .claude/skills/.
  • Codex reads .codex/skills/ and .agents/skills/.

Source: 21st

/21st-ui-explore@21st-ui-explore

Explore multiple meaningfully different UI directions with project context and 21st inspiration

Create real design choices without abandoning the project's visual identity. Use when the user wants options, variants, or is unsure how something should look.

When to Use

  • "Show me three directions"
  • "Explore alternatives"
  • "What could this page look like?"
  • "Generate variants"

For implementation: Use 21st-ui-build when direction is already selected.

Workflow

1. Read Design Context

cat .21st/design.json

# If missing
21st init --design-context

2. Search for References

21st search "<interface and product context>" --context auto

3. Define Three Directions

Each direction must differ on at least two meaningful axes:

  • Hierarchy
  • Information density
  • Navigation model
  • Content emphasis
  • Interaction pattern
  • Composition

Color-only variants don't count.

4. Keep Fixed Constraints

Shared across all directions:

  • Real stack and tokens
  • Brand assets
  • Required content
  • Accessibility
  • Responsive behavior

5. Create Previews

Check AI access:

21st usage

If AI enabled:

21st generate "<goal plus fixed constraints>" --context auto --variants 3

If AI not enabled: Implement previews with your own agent using 21st search and 21st get.

6. Present Options

For each direction provide:

FieldDescription
NameShort, descriptive
Core ideaWhat effect on user
References21st/project sources used
ConsistencyWhat stays same as project
Differences2+ meaningful variations
RisksAccessibility or responsive concerns
Best fitWhen this direction works best

7. Recommend

  • Recommend one direction with concrete tradeoffs
  • Let user choose
  • After selection, remove abandoned variants

8. Record Decision

# Update .21st/design.json with selected direction

Rules

  • Don't generate random style mutations - every difference must support a product or usability hypothesis
  • Don't suggest more than user asked for - 3 directions is usually enough
  • Don't sacrifice fundamentals - accessibility, performance, semantics must be preserved in all directions
Skills Mixer