Logo of UI Challenges
Sign in
Wireframe example for Accordion
An example interpretation of the prompt
Icon of target

Accordion

Icon of book open

Design a reusable accordion component for dense content like FAQs, settings, or product specs. The component should work in a vertical list where each row has a clear header and a hidden panel that expands in place. Keep the structure simple enough to drop into different layouts without redesigning the control each time.

Each header needs a title, an affordance for expansion, and a clear hit area. Show how the control behaves on hover, focus, collapsed, and expanded states. When a panel opens, the content should read cleanly, with enough spacing and hierarchy that long text, links, or nested lists still feel organized.

Define the visual rules that make the interaction easy to scan: icon rotation or state change, divider handling, and how multiple items stack when one is open. The component should feel stable as content expands and collapses, with no ambiguity about which item is active.

Icon of book open

Boost usability by ensuring each accordion panel can be operated with keyboard shortcuts, catering to accessibility and power users alike.

Better at UI design with every challenge

Select complexity and generate challenge.

You can always choose to receive scheduled challenges. A unique design prompt will be sent to your email daily for the duration you select.