Button

A Bootstrap button, either a plain button or a link.

Button examples
Button examples

Examples

[bsv-button style="info" size="sm"]Small[/bsv-button]
[bsv-button custom_text_color="#ffffff" custom_bg_color="#000099"]Custom blue[/bsv-button]
[bsv-button style="success" link="https://www.lewe.com" target="_blank" outline="yes" tooltip="Go to Lewe.com"]Lewe.com[/bsv-button]

Format

[bsv-button parameter="value" ...]your content here[/bsv-button]

Parameters

Parameter Description Default
style Bootstrap color style: primary, secondary, success, danger, warning, info, light, dark. primary
size Button size: sm or lg. default
link Optional URL. Without a link the component renders a <button>. empty
target Link target: _self, _blank, _parent, _top. _self
tooltip Tooltip text for the button. The old literal no value no longer creates a tooltip. empty
outline Use the outline style: yes or no. no
custom_text_color Custom text color: three/six-digit hex or rgb(). empty
custom_bg_color Custom background color: three/six-digit hex or rgb(). empty

target="_blank" adds rel="noopener noreferrer".

Last updated: