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

Comment section

Icon of book open

Design a comment section for an article, product page, or post. The section should support reading, writing, voting, and replying without feeling crowded. Treat it as a real production component, not a generic chat box.

Start with the composer: show the user avatar, a multiline field with clear placeholder text, and a single primary submit action. Make the affordance for adding a comment obvious, and show what happens when the field is empty, focused, submitting, or disabled.

For the thread, show top-level comments with author name, timestamp, body text, and a compact action row. Add upvote/downvote or like controls, a reply action, and a way to collapse long threads. Nested replies should be visually grouped, but still readable on smaller screens.

Include useful section-level controls such as sort by newest/top, counts, and a loading or empty state. Highlight new, pinned, or highly active comments without breaking scanability. The layout should stay legible with long names, long text, and keyboard-only navigation.

Icon of book open

Sprinkle in subtle animations when users post or upvote a comment to enhance the interactive feel of the section without compromising load times or overwhelming the design.

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.