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

Flag

Icon of book open

Design a flag component for browsing and viewing national or organizational flags. The core UI should make the flag itself the hero, with the name and region or organization label secondary and always visible.

Build the component in two modes: a compact gallery tile and an expanded detail view. The tile should support quick scanning in a grid; the detail view should show the full flag, a short facts block, and optional notes like symbolism, proportions, or adoption date.

Include clear interaction states for default, hover, selected, loading, and empty results. If the user opens a flag from a list, keep the selected item obvious and preserve context so they can move to the next flag without losing their place.

Use strong contrast, readable type, and keyboard-friendly controls. The design should work whether the flags are being browsed as a collection or inspected one at a time.

Icon of book open

Include a color palette tool that allows users to understand the meaning behind the flag colors, making the experience both educational and interactive.

Better at UI design with every challenge

Select complexity and generate challenge.

Pick a platform.

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

Get design challenge updates in your inbox

New prompts and challenge updates. It’s free.