uswds / uswds-site

USWDS website and documentation
https://designsystem.digital.gov
Other
183 stars 140 forks source link

USWDS-Site - Feature: Add visual component previews to the main components page #2736

Open jaclinec opened 5 days ago

jaclinec commented 5 days ago

Is your feature request related to a problem? Please describe.

During top tasks usability testing 🔒, participants often didn’t know the names for components, but they did know what they should look like visually. The components participants had the most difficulty with in this test due to not knowing the correct names were step indicator and in-page navigation.

“I know what I'm looking for visually more than I know what it's called Often. So I think like, I don't know that another word comes to mind, but I think being able to see a preview in like how I'm searching for it would be helpful to me.”

Describe the solution you'd like

Users mentioned that having some kind of visual preview on the components page would help them select the component they needed, since they wouldn't have to rely on knowing or finding the proper name. I agree and suggest we add visual previews to our main component page.

Here is an example of how the State of California Design System is using component previews, for inspiration.

Describe alternatives you've considered

I have also suggested better synonym searching functionality in our component search (#2724 ), but I think also offering visual previews would further enhance component browsing and discovery.

Additional context

To give more context on how to prioritize the new issues and feature requests that came out of top task testing, here's the full list of issues divided into 3 buckets and in order of priority (though it is somewhat flexible):

Low lift recommendations:

Medium lift recommendations:

High lift recommendations:

Code of Conduct