History: Bootstrap 5 Cheatsheet
Source of version: 10
Copy to clipboard
{layout header="y" footer="y" leftcolumn="n" rightcolumn="n" fullwidth="y" nosidemargins="n" bgrepeat="repeat" actionbuttons="y" topbar="y" pagetopbar="y" pagebottombar="y"} {HTML()} <style> #page_2 { --tiki-page-content-top-margin: 80px; } .bd-placeholder-img { font-size: 1.125rem; text-anchor: middle; -webkit-user-select: none; -moz-user-select: none; user-select: none; } @media (min-width: 768px) { .bd-placeholder-img-lg { font-size: 3.5rem; } } .b-example-divider { height: 3rem; background-color: rgba(0, 0, 0, .1); border: solid rgba(0, 0, 0, .15); border-width: 1px 0; box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15); } .b-example-vr { flex-shrink: 0; width: 1.5rem; height: 100vh; } .bi { vertical-align: -.125em; fill: currentColor; } .nav-scroller { position: relative; z-index: 2; height: 2.75rem; overflow-y: hidden; } .nav-scroller .nav { display: flex; flex-wrap: nowrap; padding-bottom: 1rem; margin-top: -1px; overflow-x: auto; text-align: center; white-space: nowrap; -webkit-overflow-scrolling: touch; } body { scroll-behavior: smooth; } /** * Bootstrap "Journal code" icon * @link https://icons.getbootstrap.com/icons/journal-code/ */ .bd-heading a::before { display: inline-block; width: 1em; height: 1em; margin-right: .25rem; content: ""; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%25230d6efd' viewBox='0 0 16 16'%3E%3Cpath d='M4 1h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2h1a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1H2a2 2 0 0 1 2-2z'/%3E%3Cpath d='M2 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H2zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H2zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H2z'/%3E%3Cpath fill-rule='evenodd' d='M8.646 5.646a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L10.293 8 8.646 6.354a.5.5 0 0 1 0-.708zm-1.292 0a.5.5 0 0 0-.708 0l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708L5.707 8l1.647-1.646a.5.5 0 0 0 0-.708z'/%3E%3C/svg%3E"); background-size: 1em; } /* stylelint-disable-next-line selector-max-universal */ .bd-heading + div > * + * { margin-top: 3rem; } /* Table of contents */ .bd-aside a { padding: .1875rem .5rem; margin-top: .125rem; margin-left: .3125rem; color: rgba(0, 0, 0, .65); } .bd-aside a:hover, .bd-aside a:focus { color: rgba(0, 0, 0, .85); background-color: rgba(121, 82, 179, .1); } .bd-aside .active { font-weight: 600; color: rgba(0, 0, 0, .85); } .bd-aside .btn { padding: .25rem .5rem; font-weight: 600; color: rgba(0, 0, 0, .65); } .bd-aside .btn:hover, .bd-aside .btn:focus { color: rgba(0, 0, 0, .85); background-color: rgba(121, 82, 179, .1); } .bd-aside .btn:focus { box-shadow: 0 0 0 1px rgba(121, 82, 179, .7); } .bd-aside .btn::before { width: 1.25em; line-height: 0; content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e"); transition: transform .35s ease; /* rtl:raw: transform: rotate(180deg) translateX(-2px); */ transform-origin: .5em 50%; } .bd-aside .btn[aria-expanded="true"]::before { transform: rotate(90deg)/* rtl:ignore */; } /* Examples */ .scrollspy-example { height: 200px; } [id="modal"] .bd-example .btn, [id="buttons"] .bd-example .btn, [id="tooltips"] .bd-example .btn, [id="popovers"] .bd-example .btn, [id="dropdowns"] .bd-example .btn-group, [id="dropdowns"] .bd-example .dropdown, [id="dropdowns"] .bd-example .dropup, [id="dropdowns"] .bd-example .dropend, [id="dropdowns"] .bd-example .dropstart { margin: 0 1rem 1rem 0; } /* Layout */ @media (min-width: 1200px) { #page-data { display: grid; grid-template-rows: auto; grid-template-columns: 1fr 4fr 1fr; gap: 1rem; } .bd-header { position: fixed; top: 0; /* rtl:begin:ignore */ right: 0; left: 0; /* rtl:end:ignore */ z-index: 1030; grid-column: 1 / span 3; } .bd-aside, .bd-cheatsheet { padding-top: 6rem; } /** * 1. Too bad only Firefox supports subgrids ATM */ .bd-cheatsheet, .bd-cheatsheet section, .bd-cheatsheet article { display: inherit; /* 1 */ grid-template-rows: auto; grid-template-columns: 1fr 4fr; grid-column: 1 / span 2; gap: inherit; /* 1 */ } .bd-aside { grid-area: 1 / 3; scroll-margin-top: 4rem; } .bd-cheatsheet section, .bd-cheatsheet section > h2 { top: 4rem; scroll-margin-top: 2rem; } .bd-cheatsheet section > h2::before { position: absolute; /* rtl:begin:ignore */ top: 0; right: 0; bottom: -2rem; left: 0; /* rtl:end:ignore */ z-index: -1; content: ""; background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1) calc(100% - 3rem), rgba(255, 255, 255, .01)); } .bd-cheatsheet article, .bd-cheatsheet .bd-heading { top: 10rem; scroll-margin-top: 8rem; } .bd-cheatsheet .bd-heading { z-index: 1; } } </style> <i>This is a duplicate of <a href="https://getbootstrap.com/docs/5.2/examples/cheatsheet/">https://getbootstrap.com/docs/5.2/examples/cheatsheet/</a>.</i> <aside class="bd-aside sticky-xl-top text-muted align-self-start mb-3 mb-xl-5 px-2"> <h2 class="h6 pt-4 pb-3 mb-4 border-bottom">On this page</h2> <nav class="small" id="toc"> <ul class="list-unstyled"> <li class="my-2"> <button class="btn d-inline-flex align-items-center collapsed border-0" data-bs-toggle="collapse" aria-expanded="false" data-bs-target="#contents-collapse" aria-controls="contents-collapse">Contents</button> <ul class="list-unstyled ps-3 collapse" id="contents-collapse"> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#typography">Typography</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#images">Images</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#tables">Tables</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#figures">Figures</a></li> </ul> </li> <li class="my-2"> <button class="btn d-inline-flex align-items-center collapsed border-0" data-bs-toggle="collapse" aria-expanded="false" data-bs-target="#forms-collapse" aria-controls="forms-collapse">Forms</button> <ul class="list-unstyled ps-3 collapse" id="forms-collapse"> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#overview">Overview</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#disabled-forms">Disabled forms</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#sizing">Sizing</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#input-group">Input group</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#floating-labels">Floating labels</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#validation">Validation</a></li> </ul> </li> <li class="my-2"> <button class="btn d-inline-flex align-items-center collapsed border-0" data-bs-toggle="collapse" aria-expanded="false" data-bs-target="#components-collapse" aria-controls="components-collapse">Components</button> <ul class="list-unstyled ps-3 collapse" id="components-collapse"> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#accordion">Accordion</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#alerts">Alerts</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#badge">Badge</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#breadcrumb">Breadcrumb</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#buttons">Buttons</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#button-group">Button group</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#card">Card</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#carousel">Carousel</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#dropdowns">Dropdowns</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#list-group">List group</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#modal">Modal</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#navs">Navs</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#navbar">Navbar</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#pagination">Pagination</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#popovers">Popovers</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#progress">Progress</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#scrollspy">Scrollspy</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#spinners">Spinners</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#toasts">Toasts</a></li> <li><a class="d-inline-flex align-items-center rounded text-decoration-none" href="#tooltips">Tooltips</a></li> </ul> </li> </ul> </nav> </aside> <div class="bd-cheatsheet container-fluid bg-body"> <section id="content"> <h2 class="sticky-xl-top fw-bold pt-3 pt-xl-5 pb-2 pb-xl-3">Contents</h2> <article class="my-3" id="typography"> <div class="bd-heading sticky-xl-top align-self-start mt-5 mb-3 mt-xl-0 mb-xl-2"> <h3>Typography</h3> <a class="d-flex align-items-center" href="https://getbootstrap.com/docs/5.2/content/typography/">Documentation</a> </div> <div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <p class="display-1">Display 1</p> <p class="display-2">Display 2</p> <p class="display-3">Display 3</p> <p class="display-4">Display 4</p> <p class="display-5">Display 5</p> <p class="display-6">Display 6</p> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <p class="h1">Heading 1</p> <p class="h2">Heading 2</p> <p class="h3">Heading 3</p> <p class="h4">Heading 4</p> <p class="h5">Heading 5</p> <p class="h6">Heading 6</p> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <p class="lead"> This is a lead paragraph. It stands out from regular paragraphs. </p> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <p>You can use the mark tag to <mark>highlight</mark> text.</p> <p><del>This line of text is meant to be treated as deleted text.</del></p> <p><s>This line of text is meant to be treated as no longer accurate.</s></p> <p><ins>This line of text is meant to be treated as an addition to the document.</ins></p> <p><u>This line of text will render as underlined.</u></p> <p><small>This line of text is meant to be treated as fine print.</small></p> <p><strong>This line rendered as bold text.</strong></p> <p><em>This line rendered as italicized text.</em></p> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <hr> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <blockquote class="blockquote"> <p>A well-known quote, contained in a blockquote element.</p> <footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer> </blockquote> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <ul class="list-unstyled"> <li>This is a list.</li> <li>It appears completely unstyled.</li> <li>Structurally, it's still a list.</li> <li>However, this style only applies to immediate child elements.</li> <li>Nested lists: <ul> <li>are unaffected by this style</li> <li>will still show a bullet</li> <li>and have appropriate left margin</li> </ul> </li> <li>This may still come in handy in some situations.</li> </ul> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <ul class="list-inline"> <li class="list-inline-item">This is a list item.</li> <li class="list-inline-item">And another one.</li> <li class="list-inline-item">But they're displayed inline.</li> </ul> </div></div> </div> </article> <article class="my-3" id="images"> <div class="bd-heading sticky-xl-top align-self-start mt-5 mb-3 mt-xl-0 mb-xl-2"> <h3>Images</h3> <a class="d-flex align-items-center" href="https://getbootstrap.com/docs/5.2/content/images/">Documentation</a> </div> <div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <svg class="bd-placeholder-img bd-placeholder-img-lg img-fluid" width="100%" height="250" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Responsive image" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#868e96"/><text x="50%" y="50%" fill="#dee2e6" dy=".3em">Responsive image</text></svg> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <svg class="bd-placeholder-img img-thumbnail" width="200" height="200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="A generic square placeholder image with a white border around it, making it resemble a photograph taken with an old instant camera: 200x200" preserveAspectRatio="xMidYMid slice" focusable="false"><title>A generic square placeholder image with a white border around it, making it resemble a photograph taken with an old instant camera</title><rect width="100%" height="100%" fill="#868e96"/><text x="50%" y="50%" fill="#dee2e6" dy=".3em">200x200</text></svg> </div></div> </div> </article> <article class="my-3" id="tables"> <div class="bd-heading sticky-xl-top align-self-start mt-5 mb-3 mt-xl-0 mb-xl-2"> <h3>Tables</h3> <a class="d-flex align-items-center" href="https://getbootstrap.com/docs/5.2/content/tables/">Documentation</a> </div> <div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <table class="table table-striped"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <table class="table table-dark table-borderless"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <table class="table table-hover"> <thead> <tr> <th scope="col">Class</th> <th scope="col">Heading</th> <th scope="col">Heading</th> </tr> </thead> <tbody> <tr> <th scope="row">Default</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-primary"> <th scope="row">Primary</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-secondary"> <th scope="row">Secondary</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-success"> <th scope="row">Success</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-danger"> <th scope="row">Danger</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-warning"> <th scope="row">Warning</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-info"> <th scope="row">Info</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-light"> <th scope="row">Light</th> <td>Cell</td> <td>Cell</td> </tr> <tr class="table-dark"> <th scope="row">Dark</th> <td>Cell</td> <td>Cell</td> </tr> </tbody> </table> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <table class="table table-sm table-bordered"> <thead> <tr> <th scope="col">#</th> <th scope="col">First</th> <th scope="col">Last</th> <th scope="col">Handle</th> </tr> </thead> <tbody> <tr> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td colspan="2">Larry the Bird</td> <td>@twitter</td> </tr> </tbody> </table> </div></div> </div> </article> <article class="my-3" id="figures"> <div class="bd-heading sticky-xl-top align-self-start mt-5 mb-3 mt-xl-0 mb-xl-2"> <h3>Figures</h3> <a class="d-flex align-items-center" href="https://getbootstrap.com/docs/5.2/content/figures/">Documentation</a> </div> <div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <figure class="figure"> <svg class="bd-placeholder-img figure-img img-fluid rounded" width="400" height="300" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 400x300" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#868e96"/><text x="50%" y="50%" fill="#dee2e6" dy=".3em">400x300</text></svg> <figcaption class="figure-caption">A caption for the above image.</figcaption> </figure> </div></div> </div> </article> </section> <section id="forms"> <h2 class="sticky-xl-top fw-bold pt-3 pt-xl-5 pb-2 pb-xl-3">Forms</h2> <article class="my-3" id="overview"> <div class="bd-heading sticky-xl-top align-self-start mt-5 mb-3 mt-xl-0 mb-xl-2"> <h3>Overview</h3> <a class="d-flex align-items-center" href="https://getbootstrap.com/docs/5.2/forms/overview/">Documentation</a> </div> <div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <form> <div class="mb-3"> <label for="exampleInputEmail1" class="form-label">Email address</label> <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp"> <div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div> </div> <div class="mb-3"> <label for="exampleInputPassword1" class="form-label">Password</label> <input type="password" class="form-control" id="exampleInputPassword1"> </div> <div class="mb-3"> <label for="exampleSelect" class="form-label">Select menu</label> <select class="form-select" id="exampleSelect"> <option selected>Open this select menu</option> <option value="1">One</option> <option value="2">Two</option> <option value="3">Three</option> </select> </div> <div class="mb-3 form-check"> <input type="checkbox" class="form-check-input" id="exampleCheck1"> <label class="form-check-label" for="exampleCheck1">Check me out</label> </div> <fieldset class="mb-3"> <legend>Radios buttons</legend> <div class="form-check"> <input type="radio" name="radios" class="form-check-input" id="exampleRadio1"> <label class="form-check-label" for="exampleRadio1">Default radio</label> </div> <div class="mb-3 form-check"> <input type="radio" name="radios" class="form-check-input" id="exampleRadio2"> <label class="form-check-label" for="exampleRadio2">Another radio</label> </div> </fieldset> <div class="mb-3"> <label class="form-label" for="customFile">Upload</label> <input type="file" class="form-control" id="customFile"> </div> <div class="mb-3 form-check form-switch"> <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckChecked" checked> <label class="form-check-label" for="flexSwitchCheckChecked">Checked switch checkbox input</label> </div> <div class="mb-3"> <label for="customRange3" class="form-label">Example range</label> <input type="range" class="form-range" min="0" max="5" step="0.5" id="customRange3"> </div> <button type="submit" class="btn btn-primary">Submit</button> </form> </div></div> </div> </article> <article class="my-3" id="disabled-forms"> <div class="bd-heading sticky-xl-top align-self-start mt-5 mb-3 mt-xl-0 mb-xl-2"> <h3>Disabled forms</h3> <a class="d-flex align-items-center" href="https://getbootstrap.com/docs/5.2/forms/overview/#disabled-forms">Documentation</a> </div> <div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <form> <fieldset disabled aria-label="Disabled fieldset example"> <div class="mb-3"> <label for="disabledTextInput" class="form-label">Disabled input</label> <input type="text" id="disabledTextInput" class="form-control" placeholder="Disabled input"> </div> <div class="mb-3"> <label for="disabledSelect" class="form-label">Disabled select menu</label> <select id="disabledSelect" class="form-select"> <option>Disabled select</option> </select> </div> <div class="mb-3"> <div class="form-check"> <input class="form-check-input" type="checkbox" id="disabledFieldsetCheck" disabled> <label class="form-check-label" for="disabledFieldsetCheck"> Can't check this </label> </div> </div> <fieldset class="mb-3"> <legend>Disabled radios buttons</legend> <div class="form-check"> <input type="radio" name="radios" class="form-check-input" id="disabledRadio1" disabled> <label class="form-check-label" for="disabledRadio1">Disabled radio</label> </div> <div class="mb-3 form-check"> <input type="radio" name="radios" class="form-check-input" id="disabledRadio2" disabled> <label class="form-check-label" for="disabledRadio2">Another radio</label> </div> </fieldset> <div class="mb-3"> <label class="form-label" for="disabledCustomFile">Upload</label> <input type="file" class="form-control" id="disabledCustomFile" disabled> </div> <div class="mb-3 form-check form-switch"> <input class="form-check-input" type="checkbox" role="switch" id="disabledSwitchCheckChecked" checked disabled> <label class="form-check-label" for="disabledSwitchCheckChecked">Disabled checked switch checkbox input</label> </div> <div class="mb-3"> <label for="disabledRange" class="form-label">Disabled range</label> <input type="range" class="form-range" min="0" max="5" step="0.5" id="disabledRange"> </div> <button type="submit" class="btn btn-primary">Submit</button> </fieldset> </form> </div></div> </div> </article> <article class="my-3" id="sizing"> <div class="bd-heading sticky-xl-top align-self-start mt-5 mb-3 mt-xl-0 mb-xl-2"> <h3>Sizing</h3> <a class="d-flex align-items-center" href="https://getbootstrap.com/docs/5.2/forms/form-control/#sizing">Documentation</a> </div> <div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <div class="mb-3"> <input class="form-control form-control-lg" type="text" placeholder=".form-control-lg" aria-label=".form-control-lg example"> </div> <div class="mb-3"> <select class="form-select form-select-lg" aria-label=".form-select-lg example"> <option selected>Open this select menu</option> <option value="1">One</option> <option value="2">Two</option> <option value="3">Three</option> </select> </div> <div class="mb-3"> <input type="file" class="form-control form-control-lg" aria-label="Large file input example"> </div> </div></div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <div class="mb-3"> <input class="form-control form-control-sm" type="text" placeholder=".form-control-sm" aria-label=".form-control-sm example"> </div> <div class="mb-3"> <select class="form-select form-select-sm" aria-label=".form-select-sm example"> <option selected>Open this select menu</option> <option value="1">One</option> <option value="2">Two</option> <option value="3">Three</option> </select> </div> <div class="mb-3"> <input type="file" class="form-control form-control-sm" aria-label="Small file input example"> </div> </div></div> </div> </article> <article class="my-3" id="input-group"> <div class="bd-heading sticky-xl-top align-self-start mt-5 mb-3 mt-xl-0 mb-xl-2"> <h3>Input group</h3> <a class="d-flex align-items-center" href="https://getbootstrap.com/docs/5.2/forms/input-group/">Documentation</a> </div> <div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <div class="input-group mb-3"> <span class="input-group-text" id="basic-addon1">@</span> <input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="basic-addon1"> </div> <div class="input-group mb-3"> <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="basic-addon2"> <span class="input-group-text" id="basic-addon2">@example.com</span> </div> <label for="basic-url" class="form-label">Your vanity URL</label> <div class="input-group mb-3"> <span class="input-group-text" id="basic-addon3">https://example.com/users/</span> <input type="text" class="form-control" id="basic-url" aria-describedby="basic-addon3"> </div> <div class="input-group mb-3"> <span class="input-group-text">$</span> <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)"> <span class="input-group-text">.00</span> </div> <div class="input-group"> <span class="input-group-text">With textarea</span> <textarea class="form-control" aria-label="With textarea"></textarea> </div> </div></div> </div> </article> <article class="my-3" id="floating-labels"> <div class="bd-heading sticky-xl-top align-self-start mt-5 mb-3 mt-xl-0 mb-xl-2"> <h3>Floating labels</h3> <a class="d-flex align-items-center" href="https://getbootstrap.com/docs/5.2/forms/floating-labels/">Documentation</a> </div> <div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <form> <div class="form-floating mb-3"> <input type="email" class="form-control" id="floatingInput" placeholder="name@example.com"> <label for="floatingInput">Email address</label> </div> <div class="form-floating"> <input type="password" class="form-control" id="floatingPassword" placeholder="Password"> <label for="floatingPassword">Password</label> </div> </form> </div></div> </div> </article> <article class="my-3" id="validation"> <div class="bd-heading sticky-xl-top align-self-start mt-5 mb-3 mt-xl-0 mb-xl-2"> <h3>Validation</h3> <a class="d-flex align-items-center" href="https://getbootstrap.com/docs/5.2/forms/validation/">Documentation</a> </div> <div> <div class="bd-example-snippet bd-code-snippet"><div class="bd-example"> <form class="row g-3"> <div class="col-md-4"> <label for="validationServer01" class="form-label">First name</label> <input type="text" class="form-control is-valid" id="validationServer01" value="Mark" required> <div class="valid-feedback"> Looks good! </div> </div> <div class="col-md-4"> <label for="validationServer02" class="form-label">Last name</label> <input type="text" class="form-control is-valid" id="validationServer02" value="Otto" required> <div class="valid-feedback"> Looks good! </div> </div> <div class="col-md-4"> <label for="validationServerUsername" class="form-label">Username</label> <div class="input-group has-validation"> <span class="input-group-text" id="inputGroupPrepend3">@</span> <input type="text" class="form-control is-invalid" id="validationServerUsername" aria-describedby="inputGroupPrepend3" required> <div class="invalid-feedback"> Please choose a username. </div> </div> </div> <div class="col-md-6"> <label for="validationServer03" class="form-label">City</label> <input type="text" class="form-control is-invalid" id="validationServer03" required> <div class="invalid-feedback"> Please provide a valid city. </div> </div> <div class="col-md-3"> <label for="validationServer04" class="form-label">State</label> <select class="form-select is-invalid" id="validationServer04" required> <option selected disabled value="">Choose...</option> <option>...</option> </select> <div class="invalid-feedback"> Please select a valid state. </div> </div> <div class="col-md-3"> <label for="validationServer05" class="form-label">Zip</label> <input type="text" class="form-control is-invalid" id="validationServer05" required> <div class="invalid-feedback"> Please provide a valid zip. </div> </div> <div class="col-12"> <div class="form-check"> <input class="form-check-input is-invalid" type="checkbox" value="" id="invalidCheck3" required> <label class="form-check-label" for="invalidCheck3"> Agree to terms and conditions </label> <div class="invalid-feedback"> You must agree before submitting. </div> </div> </div> <div class="col-12"> <button class="btn btn-primary" type="submit">Submit form</button> </div> </form> </div></div> </div> </article> </section> <section id="components"> <h2 class="sticky-xl-top fw-bold pt-3 pt-xl-5 pb-2 pb-xl-3">Components</h2> (More content coming soon.) {HTML} !!!! Unrelated test of PluginList display of articles: {LIST()}{filter type="article"} {pagination max="4"} {sort mode="date_ndesc"} {LIST}