## Documentation

Browse source code

##### On this page

- Default markup
- Empty state with illustration

## Empty states

Empty states or blank pages are commonly used as placeholders for first-use, empty data or error screens. Their aim is to engage users when there is no content to display and that is why their design is extremely important from the point of view of the user experience of your website or app.

## Default markup

Use the default empty state to engage users in the critical moments of their experience with your website or app. A good empty state screen should let users know what is happening and what they should do next as well as encourage them to take action.

    <div class="empty">
      <div class="empty-icon">
        <!-- SVG icon code -->
      </div>
      <p class="empty-title h3">No results found</p>
      <p class="empty-subtitle text-muted">
        Try adjusting your search or filter to find what you're looking for.
      </p>
      <div class="empty-action">
        <a href="#" class="btn btn-primary">
          <!-- SVG icon code -->
          Search again
        </a>
      </div>
    </div>

## Empty state with illustration

Make your empty state screen more attractive and engaging by adding an illustration. Thanks to a more personalized design, you will improve your brand image and make your website or app more user friendly.

    <div class="empty">
      <div class="empty-icon">
        <img src="..." class="h-8 mb-4" alt="">
      </div>
      <p class="empty-title h3">No results found</p>
      <p class="empty-subtitle text-muted">
        Try adjusting your search or filter to find what you're looking for.
      </p>
      <div class="empty-action">
        <a href="#" class="btn btn-primary">
          <!-- SVG icon code -->
          Search again
        </a>
      </div>
    </div>