Jumbotron
A big callout inside a page: a welcome on a dashboard, an announcement, or an "are you ready?" box before the footer. Smaller and simpler than a hero.
Basic
Welcome back, Henry
You have 4 tasks due this week and 2 new comments on the website redesign.
<div class="jumbotron">
<h2 class="jumbotron-title">Welcome back, Henry</h2>
<p class="jumbotron-lead">You have 4 tasks due this week and 2 new comments on the website redesign.</p>
<div class="jumbotron-actions">
<a class="btn btn-brand" href="#">Open my tasks</a>
<a class="btn btn-ghost" href="#">Dismiss</a>
</div>
</div>Centered, with a line
.jumbotron-center centers everything. An hr inside spans the whole width.
<div class="jumbotron jumbotron-center jumbotron-surface">
<span class="badge badge-violet">Beta</span>
<h2 class="jumbotron-title">Try the new reports</h2>
<p class="jumbotron-lead">Charts for every project, ready to share with a link.</p>
<hr>
<div class="jumbotron-actions"><a class="btn btn-brand" href="#">Turn on reports</a></div>
</div>Side by side
.jumbotron-row puts the text (in a .jumbotron-text) on the left and the buttons on the right. They stack on narrow screens.
Ready to ship?
Invite your team and set up your first project in two minutes.
<div class="jumbotron jumbotron-row jumbotron-yellow">
<div class="jumbotron-text">
<h2 class="jumbotron-title">Ready to ship?</h2>
<p class="jumbotron-lead">Invite your team and set up your first project in two minutes.</p>
</div>
<div class="jumbotron-actions"><a class="btn btn-ink btn-lg" href="#">Invite team</a></div>
</div>Colors and full width
.jumbotron-<color>, .jumbotron-ink and .jumbotron-surface change the background (brand soft by default). .jumbotron-fluid drops the rounded box and the side borders so it can run edge to edge.
Scheduled maintenance
Saturday from 2 to 3 AM UTC. Your data stays safe; the app will be read-only.
<div class="jumbotron jumbotron-ink jumbotron-fluid">
<h2 class="jumbotron-title">Scheduled maintenance</h2>
<p class="jumbotron-lead">Saturday from 2 to 3 AM UTC. Your data stays safe; the app will be read-only.</p>
</div>Use it as a call to action
Near the end of a page, a jumbotron makes the last "start now" ask: one clear sentence and one main button. "Side by side" above is the classic one. Two more ways:
With an email box: add a .signup-form (an email box and a button on one line; see Contact & newsletter).
Get one email a month
New components and sites built with Momo. Nothing else.
Unsubscribe with one click.
<div class="jumbotron jumbotron-yellow text-center">
<h2 class="jumbotron-title">Get one email a month</h2>
<p class="jumbotron-lead">New components and sites built with Momo. Nothing else.</p>
<form class="signup-form mx-auto" onsubmit="event.preventDefault(); Momo.toast('Thanks! Check your inbox.')">
<label class="visually-hidden" for="jb-email">Email</label>
<input class="form-control" id="jb-email" type="email" placeholder="you@example.com" autocomplete="email" required>
<button class="btn btn-ink" type="submit">Subscribe</button>
</form>
<p class="signup-note">Unsubscribe with one click.</p>
</div>As a full-width band: no box, just a dark section with a centered head and the buttons.
Ready to build something bold?
Start free, no card needed. Upgrade when your team grows.
<div class="section section-sm section-ink">
<div class="container text-center">
<div class="section-head section-head-center">
<h2>Ready to build something bold?</h2>
<p>Start free, no card needed. Upgrade when your team grows.</p>
</div>
<div class="cluster justify-center">
<a class="btn btn-lg btn-yellow" href="#">Start free</a>
<a class="btn btn-lg btn-ghost text-inherit" href="#">Talk to us</a>
</div>
</div>
</div>One ask per screen works best: if there are two buttons, make one clearly the main one.
Parts
| Class | Is |
|---|---|
.jumbotron-title | The big heading (use the right level: often h2) |
.jumbotron-lead | One or two sentences, in the soft text color |
.jumbotron-actions | A row of buttons |
.jumbotron-text | Groups title and lead in .jumbotron-row |