A complete collection of Bootstrap components as custom web elements
This accordion uses the default H2 heading level for accessibility.
This is the second accordion item's content.
This accordion has no borders and allows multiple panels open.
Perfect for edge-to-edge designs with H3 headings.
Some representative placeholder content for the first slide.
Some representative placeholder content for the second slide.
Some representative placeholder content for the third slide.
Modal body text goes here. This is a basic modal example.
This is a large modal with scrollable content when the content exceeds the modal height.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
This is the offcanvas body content. You can place any content here including other components.
This offcanvas opens from the right side, allows body scrolling, and has no backdrop.
This is the content for section 1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
This is the content for section 2. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
This is the content for section 3. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium.
Totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
This is the content for section 4. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.
Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
=== Bootstrap Components API Reference ===
1. bootstrap-button
- Attributes: variant, size, disabled, outline, loading, type
- Methods: enable(), disable(), setLoading(), setText()
2. bootstrap-accordion
- Attributes: data-variant, data-behavior, data-heading-level
- Slots: title-N, content-N
3. bootstrap-card
- Attributes: data-variant, data-layout, data-text-color, data-image-src, data-image-position, data-heading-level
- Slots: header, title, subtitle, text, footer
4. bootstrap-carousel
- Attributes: data-show-indicators, data-show-controls, data-transition, data-auto-play, data-interval
- Slots: slide-N (with data-image, data-alt)
- Methods: next(), prev(), to(index)
5. bootstrap-modal
- Attributes: data-size, data-scrollable, data-centered, data-backdrop, data-keyboard
- Slots: title, body, footer
- Methods: showModal(), hideModal(), toggleModal()
6. bootstrap-list-group
- Attributes: data-type, data-flush, data-heading-level
- Slots: item-N (with data-variant, data-active, data-disabled)
7. bootstrap-offcanvas
- Attributes: data-placement, data-backdrop, data-scroll, data-keyboard
- Slots: title, body
- Methods: showOffcanvas(), hideOffcanvas(), toggleOffcanvas()
8. bootstrap-dropdown
- Attributes: data-type, data-direction, data-auto-close, data-offset
- Slots: trigger, item-N, header-N, divider-N, text-N
9. bootstrap-popover
- Attributes: data-content, data-title, data-placement, data-trigger, data-html, data-animation, data-delay
- Methods: showPopover(), hidePopover(), togglePopover(), updateContent()
10. bootstrap-progress
- Attributes: data-value, data-variant, data-striped, data-animated, data-height, data-label, data-stacked
- Slots: title, bar-N (for stacked)
- Methods: setValue(), getValue()
11. bootstrap-toast
- Attributes: data-variant, data-autohide, data-delay, data-heading-level
- Slots: header, body
- Methods: showToast(), hideToast()
12. bootstrap-tooltip
- Attributes: data-title, data-placement, data-trigger, data-html, data-animation, data-delay
- Methods: showTooltip(), hideTooltip(), toggleTooltip(), updateTitle()
13. bootstrap-scrollspy
- Attributes: data-target, data-offset, data-method, data-heading-level
- Slots: nav, content
- Methods: refresh()
14. bootstrap-spinner
- Attributes: data-type, data-variant, data-size, data-label, data-custom-size, data-inline
- Methods: show(), hide(), setVariant(), setSize()