22 KiB
author, title, date, description, tags, thumbnail, photoCredits, photoSource
author | title | date | description | tags | thumbnail | photoCredits | photoSource | |
---|---|---|---|---|---|---|---|---|
Mark Dumay | Bootstrap Components | 2022-12-26 | Overview of available Bootstrap components |
|
img/notepad.jpg | <a href="https://unsplash.com/@frederickjmedina">Frederick Medina</a> | <a href="https://unsplash.com/photos/PdfRE-xB--s">Unsplash</a> |
Bootstrap provides several UI components out of the box. The Hinode theme uses several of these components for rendering, such as the navigation menu and scrollspy. A few components are made available as Hugo shortcode, see [Custom Shortcodes]({{< ref "custom-shortcodes" >}} "Custom Shortcodes"). You can embed the Bootstrap components themselves too. The below paragraphs demonstrate each of them.
Accordion
Accordion Item #1
.accordion-body
, though the transition does limit overflow.
Accordion Item #2
.accordion-body
, though the transition does limit overflow.
Accordion Item #3
.accordion-body
, though the transition does limit overflow.
Alerts
Badge
Headings
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Example heading New
Buttons
Notifications 4Positioned
Inbox 99+ unread messagesBreadcrumb
- Home
- Home
- Library
Buttons
Primary Secondary Success Danger Warning Info Light Dark Link
Button Group
Card
Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Go somewhereCarousel
{{< carousel ratio="16x9" class="col-sm-12 col-lg-8 mx-auto" >}} {{< img src="img/coffee.jpg" caption="slide 1" >}} {{< img src="img/phone.jpg" caption="slide 2" >}} {{< img src="img/dunes.jpg" caption="slide 3" >}} {{< /carousel >}}
Close button
Collapse
Link with href Button with data-bs-target
Dropdowns
Single button
Split button
List group
Modal
Launch demo modalNavbar
Navs & tabs
Offcanvas
Link with href Button with data-bs-targetOffcanvas
Pagination
Placeholders
Popovers
Click to toggle popover
Progress
Scrollspy
Navbar
NavbarFirst heading
...
Second heading
...
Third heading
...
Fourth heading
...
Fifth heading
...
Nested nav
Item 1
...
Item 1-1
...
Item 1-2
...
Item 2
...
Item 3
...
Item 3-1
...
Item 3-2
...
List group
Simple anchors
Spinners
Toasts
Show live toast
Tooltips
Placeholder text to demonstrate some inline links with tooltips. This is now just filler, no killer. Content placed here just to mimic the presence of real text. And all that just to give you an idea of how tooltips would look when used in real-world situations. So hopefully you've now seen how these tooltips on links can work in practice, once you use them on your own site or project.