Popovers

Documentation and examples for adding popovers, like those found in iOS, to any element on your site.


Example

<button type="button" class="btn btn-primary" data-container="body" data-toggle="popover" data-content="This is a very beautiful popover, show some love.">
  Popover
</button>

Directions

<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="top" data-content="This is a very beautiful popover, show some love.">
  Popover on top
</button>

<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="right" data-content="This is a very beautiful popover, show some love.">
  Popover on right
</button>

<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="bottom" data-content="This is a very beautiful popover, show some love.">
  Popover on bottom
</button>

<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-placement="left" data-content="This is a very beautiful popover, show some love.">
  Popover on left
</button>

Variations

<button type="button" class="btn btn-primary" data-container="body" data-toggle="popover" data-color="primary" data-placement="top" data-content="This is a very beautiful popover, show some love.">
  Primary popover
</button>

<button type="button" class="btn btn-secondary" data-container="body" data-toggle="popover" data-color="secondary" data-placement="top" data-content="This is a very beautiful popover, show some love.">
  Secondary popover
</button>

<button type="button" class="btn btn-success" data-container="body" data-toggle="popover" data-color="success" data-placement="top" data-content="This is a very beautiful popover, show some love.">
  Success popover
</button>

<button type="button" class="btn btn-danger" data-container="body" data-toggle="popover" data-color="danger" data-placement="top" data-content="This is a very beautiful popover, show some love.">
  Danger popover
</button>

<button type="button" class="btn btn-warning" data-container="body" data-toggle="popover" data-color="warning" data-placement="top" data-content="This is a very beautiful popover, show some love.">
  Warning popover
</button>

<button type="button" class="btn btn-info" data-container="body" data-toggle="popover" data-color="info" data-placement="top" data-content="This is a very beautiful popover, show some love.">
  Info popover
</button>

<button type="button" class="btn btn-dark" data-container="body" data-toggle="popover" data-color="dark" data-placement="top" data-content="This is a very beautiful popover, show some love.">
  Dark popover
</button>