Skip to content
Design System
  • Home
  • Settings
  • Styles
  • Layouts
  • Components
  • Scripts
  • Templates
  • Access control banner
  • Activity
  • Archived content
  • Breadcrumbs
  • Cards
  • Collapsible containers
  • Columns
  • Content slider (carousel)
  • Crosslinks (You may also like)
  • Disclosure button
  • Evangelists
  • Fifty-fifty
  • Footer
  • Group list
  • Header
  • Hero
  • Image component
  • Members
  • Navigation
  • Navigation with new logo
  • Notes
  • Pagination
  • Pre-footer
  • Quote component
  • RSS
  • Table of contents
  • Tag list
  • Text component
  • Translations
  • Video component

Hero

¶Decorative hero (home, landing and business ecosystem page templates)

Open this Landing page hero in a new tab

HTML:

<div class="u-full-width hero">
	<div class="l-center">
		<div class="l-sidebar">
			<div>
				<div class="not-sidebar">
					<h1>Hero title</h1>
					<p class="lead">A very short introduction/summary of the page.</p>
				</div>
				<div class="sidebar">
					<img src="/dist/assets/svg/illustration-2.svg" alt />
				</div>
			</div>
		</div>
	</div>
</div>

¶Considerations

Note the use of the center layout and sidebar layout, and the pattern used for the decorative SVG image.

¶Listing page hero

On listing pages, the hero is used to hold any markup required for searching and filtering listing items. Add the modifier class .hero--listing.

<div class="u-full-width hero hero--listing">
    <div class="l-center">
        <h1>Posts</h1>
        <p class="lead">Search for posts, or browse posts by category or archive.</p>
        
        <!-- search and/or filter markup goes here -->
    </div>
</div>

Copyright © 2025 W3C - generated 20 Mar 2025, 15:46:02 UTC

Feedback is welcome and can be submitted as a GitHub issue.