✦ A decade of Canvas craft, now driven by AI — describe it, watch it build live.Start building
Bootstrap 5Content

Bootstrap 5 Feature Box

A Feature Box is a self-contained content block that pairs an icon or image with a heading and short descriptive text, used to highlight a product capability, service benefit, or key selling point. It typically appears in a grid layout on landing pages, homepages, or product pages where you need to communicate multiple distinct value propositions at a glance. Use it when you have three to six parallel points that each deserve equal visual weight without one dominating the others.

Primary Class

.feature-box

Common Use Cases

  • SaaS product pages listing core features like 'Real-time sync', 'Role-based access', and 'API integrations' — each in its own box with a relevant icon
  • Agency service pages breaking down offerings such as 'Brand Strategy', 'UI/UX Design', and 'SEO Audits' with a one-line description under each
  • E-commerce checkout flows using feature boxes to reinforce trust signals: 'Free Returns', 'Secure Payment', and '24/7 Support'
  • Onboarding screens in web apps that walk new users through three steps — 'Connect your account', 'Import your data', 'Invite your team' — with numbered icons

Variants & Classes

VariantDescription
Feature Box DefaultStandard feature box with Bootstrap's default styling.
Feature Box ResponsiveResponsive variant that adapts to different screen sizes.

Code Example

<div class="row g-4">
  <div class="col-md-4">
    <div class="p-4 border rounded-3 h-100">
      <div class="mb-3 text-primary">
        <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-lightning-charge" viewBox="0 0 16 16">
          <path d="M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09z"/>
        </svg>
      </div>
      <h5 class="fw-semibold">Instant Deployment</h5>
      <p class="text-muted mb-0">Push your changes live in seconds. No build queues, no waiting — your updates are served from the edge immediately.</p>
    </div>
  </div>
  <div class="col-md-4">
    <div class="p-4 border rounded-3 h-100">
      <div class="mb-3 text-primary">
        <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-shield-check" viewBox="0 0 16 16">
          <path d="M5.338 1.59a61 61 0 0 0-2.837.856.48.48 0 0 0-.328.39c-.554 4.157.726 7.19 2.253 9.188a10.7 10.7 0 0 0 2.287 2.233c.346.244.652.42.893.533q.18.085.293.118a1 1 0 0 0 .101.025 1 1 0 0 0 .1-.025q.114-.034.294-.118c.24-.113.547-.29.893-.533a10.7 10.7 0 0 0 2.287-2.233c1.527-1.997 2.807-5.031 2.253-9.188a.48.48 0 0 0-.328-.39c-.651-.213-1.75-.56-2.837-.855C9.552 1.29 8.531 1.067 8 1.067c-.53 0-1.552.223-2.662.524zM5.072.56C6.157.265 7.31 0 8 0s1.843.265 2.928.56c1.11.3 2.229.655 2.887.87a1.54 1.54 0 0 1 1.044 1.262c.596 4.477-.787 7.795-2.465 9.99a11.8 11.8 0 0 1-2.517 2.453 7 7 0 0 1-1.048.625c-.28.132-.581.24-.829.24s-.548-.108-.829-.24a7 7 0 0 1-1.048-.625 11.8 11.8 0 0 1-2.517-2.453C1.928 10.487.545 7.169 1.141 2.692A1.54 1.54 0 0 1 2.185 1.43 63 63 0 0 1 5.072.56z"/>
          <path d="M10.854 5.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 7.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>
        </svg>
      </div>
      <h5 class="fw-semibold">Enterprise-Grade Security</h5>
      <p class="text-muted mb-0">Every request is authenticated and encrypted. SOC 2 Type II certified with automatic vulnerability scanning on every deploy.</p>
    </div>
  </div>
  <div class="col-md-4">
    <div class="p-4 border rounded-3 h-100">
      <div class="mb-3 text-primary">
        <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-bar-chart-line" viewBox="0 0 16 16">
          <path d="M11 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h1V7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7h1zm-1 12V7H8v7zm-5 0v-3H3v3zm8 0V2h-2v12z"/>
        </svg>
      </div>
      <h5 class="fw-semibold">Built-in Analytics</h5>
      <p class="text-muted mb-0">Track page views, conversion funnels, and performance metrics without installing a third-party script. All data stays on your infrastructure.</p>
    </div>
  </div>
</div>

Live Examples

Basic Feature Box

Example 1

Canvas Framework Variants

The Canvas template extends Bootstrap 5 with 1,658+ component variants. Generate any of these using Canvas Builder:

  • Canvas Builder generated feature box with custom colours
  • Feature Box with interactive states
  • Responsive feature box for all screen sizes

Best Practices

Use h-100 to equalise box heights in a row

When feature box copy varies in length, adding h-100 to the inner card div combined with Bootstrap's g-4 gutter on the row ensures all boxes in a row stretch to the same height, preventing jagged bottom edges.

Stick to one visual style for icons across all boxes

Mixing filled icons with outline icons, or Bootstrap Icons with Font Awesome, creates visual inconsistency that undermines the layout — pick one icon set and one weight and apply it uniformly across every feature box in the section.

Limit copy to two to three lines per box

Feature boxes break down when descriptions exceed roughly 30 words — if you need more explanation, link to a dedicated feature page rather than expanding the box text, which disrupts the scanning rhythm users bring to grid layouts.

Apply a hover state to signal interactivity when boxes are clickable

If the entire feature box links somewhere, add a CSS transition on box-shadow or border-color (e.g. transition: box-shadow .2s ease) rather than just wrapping in an anchor tag — this communicates affordance without resorting to an explicit 'Read more' link.

FAQ

How many feature boxes should I put in a single row before wrapping to a new row?
Three columns (col-md-4) is the standard for feature grids because it gives each box enough horizontal space for a readable heading and two to three lines of body text on desktop. Four columns (col-md-3) works if your descriptions are very short — one sentence maximum — and your icons are the primary communication vehicle. Avoid five or six across on a single row; the boxes become too narrow to breathe and the grid collapses poorly on mid-range tablet widths (768px–1024px).
How do I add a coloured background to only one feature box to make it stand out as a 'highlighted' option?
Apply a combination of Bootstrap background utilities and adjust the text colour accordingly — for example, swap border and p-4 for bg-primary text-white p-4 on the featured box. To keep icon and paragraph text visible, replace text-primary on the icon div with text-white, and add text-white-50 to the paragraph instead of text-muted, which uses opacity rather than a grey colour token and stays readable on coloured backgrounds.
How does Canvas Builder generate Feature Box components from a prompt?
When you describe a features section in Canvas Builder, the AI extracts the individual capabilities or benefits from your prompt, assigns each one an appropriate Bootstrap Icon, and outputs a fully structured row-and-column grid using your site's configured brand colour as the icon accent (mapped to the Bootstrap --bs-primary CSS variable). The output includes h-100 height equalisation, responsive breakpoints, and semantic heading levels automatically — you get production-ready HTML without writing any Bootstrap grid markup by hand.