# Shortcodes Every component is available as a shortcode. Shortcodes can be nested where the component accepts content, for example buttons inside a button group or accordion items inside an accordion. ![Bootstrap Visuals component showcase](https://book.lewe.com/bootstrap-visuals/assets/component-showcase.png "Alerts, badges, buttons, button groups, cards, spinners and progress bars") ## All 25 shortcodes | Component | Shortcode | Since | | --- | --- | --- | | Accordion | [`[bsv-accordion]`](accordion.md) | 4.0.0 | | Accordion item | [`[bsv-accordion-item]`](accordion-item.md) | 4.0.0 | | Alert | [`[bsv-alert]`](alert.md) | 1.0.0 | | Badge | [`[bsv-badge]`](badge.md) | 1.0.0 | | Blockquote | [`[bsv-blockquote]`](blockquote.md) | 1.0.0 | | Button | [`[bsv-button]`](button.md) | 1.0.0 | | Button group | [`[bsv-button-group]`](button-group.md) | 2.0.0 | | Card | [`[bsv-card]`](card.md) | 1.0.0 | | Code | [`[bsv-code]`](code.md) | 1.0.0 | | Collapse | [`[bsv-collapse]`](collapse.md) | 1.0.0 | | Column | [`[bsv-column]`](column.md) | 1.0.0 | | Container | [`[bsv-container]`](container.md) | 1.0.0 | | Highlight | [`[bsv-highlight]`](highlight.md) | 2.0.0 | | Lead | [`[bsv-lead]`](lead.md) | 2.0.0 | | List | [`[bsv-list]`](list.md) | 2.0.0 | | Modal | [`[bsv-modal]`](modal.md) | 1.0.0 | | Panel | [`[bsv-panel]`](panel.md) | 1.0.0 | | Popover | [`[bsv-popover]`](popover.md) | 2.0.0 | | Progress bar | [`[bsv-progress]`](progress-bar.md) | 1.0.0 | | Row | [`[bsv-row]`](row.md) | 1.0.0 | | Spinner | [`[bsv-spinner]`](spinner.md) | 2.0.0 | | Table | [`[bsv-table]`](table.md) | 2.0.0 | | Table wrap | [`[bsv-table-wrap]`](table-wrap.md) | 2.0.0 | | Text | [`[bsv-text]`](text.md) | 2.0.0 | | Tooltip | [`[bsv-tooltip]`](tooltip.md) | 2.0.0 | ## Browse by category **Layout:** [`bsv-container`](https://book.lewe.com/bootstrap-visuals/shortcodes/container/), [`bsv-row`](https://book.lewe.com/bootstrap-visuals/shortcodes/row/), [`bsv-column`](https://book.lewe.com/bootstrap-visuals/shortcodes/column/) **Content:** [`bsv-alert`](https://book.lewe.com/bootstrap-visuals/shortcodes/alert/), [`bsv-badge`](https://book.lewe.com/bootstrap-visuals/shortcodes/badge/), [`bsv-blockquote`](https://book.lewe.com/bootstrap-visuals/shortcodes/blockquote/), [`bsv-card`](https://book.lewe.com/bootstrap-visuals/shortcodes/card/), [`bsv-code`](https://book.lewe.com/bootstrap-visuals/shortcodes/code/), [`bsv-highlight`](https://book.lewe.com/bootstrap-visuals/shortcodes/highlight/), [`bsv-lead`](https://book.lewe.com/bootstrap-visuals/shortcodes/lead/), [`bsv-list`](https://book.lewe.com/bootstrap-visuals/shortcodes/list/), [`bsv-panel`](https://book.lewe.com/bootstrap-visuals/shortcodes/panel/), [`bsv-table`](https://book.lewe.com/bootstrap-visuals/shortcodes/table/), [`bsv-table-wrap`](https://book.lewe.com/bootstrap-visuals/shortcodes/table-wrap/), [`bsv-text`](https://book.lewe.com/bootstrap-visuals/shortcodes/text/) **Interactive:** [`bsv-accordion`](https://book.lewe.com/bootstrap-visuals/shortcodes/accordion/), [`bsv-accordion-item`](https://book.lewe.com/bootstrap-visuals/shortcodes/accordion-item/), [`bsv-button`](https://book.lewe.com/bootstrap-visuals/shortcodes/button/), [`bsv-button-group`](https://book.lewe.com/bootstrap-visuals/shortcodes/button-group/), [`bsv-collapse`](https://book.lewe.com/bootstrap-visuals/shortcodes/collapse/), [`bsv-modal`](https://book.lewe.com/bootstrap-visuals/shortcodes/modal/), [`bsv-popover`](https://book.lewe.com/bootstrap-visuals/shortcodes/popover/), [`bsv-progress`](https://book.lewe.com/bootstrap-visuals/shortcodes/progress-bar/), [`bsv-spinner`](https://book.lewe.com/bootstrap-visuals/shortcodes/spinner/), [`bsv-tooltip`](https://book.lewe.com/bootstrap-visuals/shortcodes/tooltip/) ## Conventions - Boolean attributes use `yes` and `no`; the default is always `no` unless the parameter table says otherwise. - Width and height values accept `px`, `%`, `em` and `rem`, for example `width="400px"` or `width="50%"`. - Colors accept three- or six-digit hex values and `rgb()` values. - Shortcode content is escaped with `wp_kses_post`; raw HTML is not supported in shortcode content. - Every emitted class uses the `bsv-` prefix.