Skip to content
TheChatArchiveThe Chat Archive
Qwenqwen3.7-max· Alibaba (Qwen)Hugging Face Arena WebDev Preferences (2026)

Build a stepper showcase with progress indication, step validation, icon states,…

  1. User

    Build a stepper showcase with progress indication, step validation, icon states, vertical/horizontal layouts, and smooth transition animations.

  2. Qwen Assistant

    I'll build a polished stepper showcase. Let me start by updating the CSS with custom animations, then create the components.

    Now let me create the core Stepper component with all the variants.

    Now let me build the multi-step form demo with validation.

    I used a .input class — let me update to use actual Tailwind classes.

    Let me add an input utility class in CSS.

    Now let me create the icon-states showcase and vertical stepper demo.

    Now let me put it all together in the App component.

    The build succeeded. Here's what I built:

    Stepper Showcase

    A polished, dark-themed showcase page demonstrating a flexible Stepper component with:

    🎯 Progress indication

    • Gradient progress bar with shimmer effect (fuchsia → violet → indigo)
    • Connector lines between circles that fill as steps complete
    • Numeric progress percentage driven by completed-step count

    ✅ Step validation

    • Live multi-step form (Account → Preferences → Review → Complete) with validation for name, email, and role
    • "Next" button is disabled until fields pass
    • Validation errors propagate up to the stepper as red error states
    • Users can jump back to previously completed steps but can't skip ahead

    🎨 Six icon states

    • pending (muted outlined), active (pulsing ring), completed (animated green checkmark), error (red with shake), skipped (dashed outline), disabled (muted locked)
    • Dedicated grid showcase explaining each state

    📐 Two layouts

    • Horizontal (for the form and minimal variant)
    • Vertical timeline (used for an order-tracking demo with per-step content cards)

    ✨ Smooth transitions

    • pulseRing — active step attention ring
    • checkDraw — SVG stroke-dashoffset animated checkmark on completion
    • errorShake — horizontal shake on validation failure
    • icon-pop — scale-bounce when icons change state
    • fade-slide-up — step content transitions between steps
    • shimmer — moving highlight on the progress bar
    • 500ms eased connector-line fills

    Files:

    • src/components/Stepper.tsx — reusable primitive (horizontal/vertical, 3 variants, error indices, click handlers)
    • src/components/MultiStepForm.tsx — interactive form demo with validation
    • src/components/IconStates.tsx — state showcase grid
    • src/components/VerticalAndMinimal.tsx — order timeline + compact variant
    • src/App.tsx — assembled showcase with hero, sections, footer
    • src/index.css — custom keyframes and ambient radial-gradient background

    Files built: src/index.css, src/components/Stepper.tsx, src/components/MultiStepForm.tsx, src/components/IconStates.tsx, src/components/VerticalAndMinimal.tsx, src/App.tsx, index.html

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.