Bootstrap snippet and html example. messages data widget

Bootstrap 3.3.6 snippet "messages data widget" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: messages,widget

HTML code

Clean, semantic HTML that powers this Bootstrap 3.3.6 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="row bootstrap snippets bootdeys">
    <div class="col-md-6 col-xs-12 col-md-offset-3">
      <div class="panel" id="messge">
        <div class="panel-heading">
          <h3 class="panel-title">Message</h3>
        </div>
        <div class="panel-body">
          <ul class="list-group list-group-full">
            <li class="list-group-item">
              <div class="media">
                <div class="media-left">
                  <span class="avatar avatar-online">
                    <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                    <i></i>
                  </span>
                </div>
                <div class="media-body">
                  <h5 class="list-group-item-heading">
                    <small class="pull-right">3 days ago</small>
                    Herman Beck
                  </h5>
                  <p class="list-group-item-text">Cogitemus tempora tibique probabo...</p>
                </div>
              </div>
            </li>
            <li class="list-group-item">
              <div class="media">
                <div class="media-left">
                  <span class="avatar avatar-online">
                    <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
                    <i></i>
                  </span>
                </div>
                <div class="media-body">
                  <h5 class="list-group-item-heading">
                    <small class="pull-right">3 days ago</small>
                    Mary Adams
                  </h5>
                  <p class="list-group-item-text">Praeter ingenii illa novum...</p>
                </div>
              </div>
            </li>
            <li class="list-group-item">
              <div class="media">
                <div class="media-left">
                  <span class="avatar avatar-busy">
                    <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
                    <i></i>
                  </span>
                </div>
                <div class="media-body">
                  <h5 class="list-group-item-heading">
                    <small class="pull-right">3 days ago</small>
                    Caleb Richards
                  </h5>
                  <p class="list-group-item-text">Exquisitis officii tantalo etsi...</p>
                </div>
              </div>
            </li>
            <li class="list-group-item">
              <div class="media">
                <div class="media-left">
                  <span class="avatar avatar-off">
                    <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="">
                    <i></i>
                  </span>
                </div>
                <div class="media-body">
                  <h5 class="list-group-item-heading">
                    <small class="pull-right">3 days ago</small>
                    June Lane
                  </h5>
                  <p class="list-group-item-text">Artes adamare deorum obiecta...</p>
                </div>
              </div>
            </li>
          </ul>
        </div>
      </div>
    </div>
</div>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 3.3.6 to keep the design, spacing, and responsiveness consistent.

body{
    margin-top:20px;
    background:#eee;
}

.avatar {
    position: relative;
    display: inline-block;
    width: 40px;
    white-space: nowrap;
    border-radius: 1000px;
    vertical-align: bottom
}

.avatar i {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 100%
}

.avatar img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0 none;
    border-radius: 1000px
}

.avatar-online i {
    background-color: #4caf50
}

.avatar-off i {
    background-color: #616161
}

.avatar-busy i {
    background-color: #ff9800
}

.avatar-away i {
    background-color: #f44336
}

.avatar-100 {
    width: 100px
}

.avatar-100 i {
    height: 20px;
    width: 20px
}

.avatar-lg {
    width: 50px
}

.avatar-lg i {
    height: 12px;
    width: 12px
}

.avatar-sm {
    width: 30px
}

.avatar-sm i {
    height: 8px;
    width: 8px
}

.avatar-xs {
    width: 20px
}

.avatar-xs i {
    height: 7px;
    width: 7px
}

.list-group-item {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid transparent;
}

Similar snippets

Bootstrap example and template. user blog widget

user blog widget

Bootstrap example and template. bs4 simple chat app

bs4 simple chat app

Bootstrap example and template. bs4 widget image cards

bs4 widget image cards

Bootstrap example and template. events card widget

events card widget

Bootstrap example and template. box colored

box colored

Bootstrap example and template. Small Log in box in panel

Small Log in box in panel

Bootstrap example and template. Profile overview and edit

Profile overview and edit

Bootstrap example and template. Team member

Team member

FAQ

How do I use this snippet?

Include Bootstrap 3.3.6, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 3.3.6.

Bootstrap example and template. messages data widget

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 9.7K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 3.3.6

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.3.6 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working