Geometrical patterns of points representing genes and lines indicating degree of similarity.
Hero image with Headline style "Text in white box"

Hero Images

Hero components fill the entire width of the window and contain a large image (Hero Image) at the top of your page that "help set the tone for the content of your site", according to the US Web Design System.

Hero components optionally may contain the page title or headline, a small amount of text in an overlay, and a single link or a button in an overlay.

The NSF Hero component is designed for high visual impact and is popular for landing pages. Because the high visual impact would be diminished through overuse, the hero component is limited to one per page and isn't available for all page types.

Hero image best practices

The Hero component takes some practice to use well, but results can be rewarding with careful image selection.

In general, a good hero image:

  • Functions more as wallpaper than a detail image. The Hero sets mood and tone and is not intended for accurate infographics, charts, maps, diagrams, group photo, portraits, or any other visual content where detail is important.
  • Has no text. Text in an image, except for pure decoration, creates accessibility issues. The large Hero component will pixellate, crop, and/or obscure the text. Use the Hero component's Headline Text to create an accessible text layer on top of your image. 
  • Is high resolution, such that the main visual content will not pixellate at larger sizes. 
  • Does not need an NSF logo. The logo is prominent in other parts of the page.

Hero image specs & responsiveness

Hero image do's and dont's

Hero image FAQ's