CINXE.COM
Examples 路 Bootstrap v5.3
<!doctype html> <html lang="en" data-bs-theme="auto"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts."> <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <meta name="generator" content="Hugo 0.122.0"> <meta name="docsearch:language" content="en"> <meta name="docsearch:version" content="5.3"> <title>Examples 路 Bootstrap v5.3</title> <link rel="canonical" href="https://getbootstrap.com/docs/5.3/examples/"> <link rel="preconnect" href="https://AK7KMZKZHQ-dsn.algolia.net" crossorigin> <script src="/docs/5.3/assets/js/color-modes.js"></script> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3"> <link href="/docs/5.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> <link href="/docs/5.3/assets/css/docs.css" rel="stylesheet"> <!-- Favicons --> <link rel="apple-touch-icon" href="/docs/5.3/assets/img/favicons/apple-touch-icon.png" sizes="180x180"> <link rel="icon" href="/docs/5.3/assets/img/favicons/favicon-32x32.png" sizes="32x32" type="image/png"> <link rel="icon" href="/docs/5.3/assets/img/favicons/favicon-16x16.png" sizes="16x16" type="image/png"> <link rel="manifest" href="/docs/5.3/assets/img/favicons/manifest.json"> <link rel="mask-icon" href="/docs/5.3/assets/img/favicons/safari-pinned-tab.svg" color="#712cf9"> <link rel="icon" href="/docs/5.3/assets/img/favicons/favicon.ico"> <meta name="theme-color" content="#712cf9"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:site" content="@getbootstrap"> <meta name="twitter:creator" content="@getbootstrap"> <meta name="twitter:title" content="Examples"> <meta name="twitter:description" content="Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts."> <meta name="twitter:image" content="https://getbootstrap.com/docs/5.3/assets/brand/bootstrap-social.png"> <meta property="og:url" content="https://getbootstrap.com/docs/5.3/examples/"> <meta property="og:title" content="Examples"> <meta property="og:description" content="Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts."> <meta property="og:type" content="website"> <meta property="og:image" content="https://getbootstrap.com/docs/5.3/assets/brand/bootstrap-social.png"> <meta property="og:image:type" content="image/png"> <meta property="og:image:width" content="2000"> <meta property="og:image:height" content="1000"> <script defer src="https://cdn.usefathom.com/script.js" data-site="ITUSEYJG"></script> <script> window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create', 'UA-146052-10', 'getbootstrap.com'); ga('set', 'anonymizeIp', true); ga('send', 'pageview'); </script> <script async src="https://www.google-analytics.com/analytics.js"></script> </head> <body> <div class="skippy visually-hidden-focusable overflow-hidden"> <div class="container-xl"> <a class="d-inline-flex p-2 m-1" href="#content">Skip to main content</a> </div> </div> <svg xmlns="http://www.w3.org/2000/svg" class="d-none"> <symbol id="arrow-right" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/> </symbol> <symbol id="book-half" viewBox="0 0 16 16"> <path d="M8.5 2.687c.654-.689 1.782-.886 3.112-.752 1.234.124 2.503.523 3.388.893v9.923c-.918-.35-2.107-.692-3.287-.81-1.094-.111-2.278-.039-3.213.492V2.687zM8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783z"/> </symbol> <symbol id="box-seam" viewBox="0 0 16 16"> <path d="M8.186 1.113a.5.5 0 0 0-.372 0L1.846 3.5l2.404.961L10.404 2l-2.218-.887zm3.564 1.426L5.596 5 8 5.961 14.154 3.5l-2.404-.961zm3.25 1.7-6.5 2.6v7.922l6.5-2.6V4.24zM7.5 14.762V6.838L1 4.239v7.923l6.5 2.6zM7.443.184a1.5 1.5 0 0 1 1.114 0l7.129 2.852A.5.5 0 0 1 16 3.5v8.662a1 1 0 0 1-.629.928l-7.185 2.874a.5.5 0 0 1-.372 0L.63 13.09a1 1 0 0 1-.63-.928V3.5a.5.5 0 0 1 .314-.464L7.443.184z"/> </symbol> <symbol id="braces" viewBox="0 0 16 16"> <path d="M2.114 8.063V7.9c1.005-.102 1.497-.615 1.497-1.6V4.503c0-1.094.39-1.538 1.354-1.538h.273V2h-.376C3.25 2 2.49 2.759 2.49 4.352v1.524c0 1.094-.376 1.456-1.49 1.456v1.299c1.114 0 1.49.362 1.49 1.456v1.524c0 1.593.759 2.352 2.372 2.352h.376v-.964h-.273c-.964 0-1.354-.444-1.354-1.538V9.663c0-.984-.492-1.497-1.497-1.6zM13.886 7.9v.163c-1.005.103-1.497.616-1.497 1.6v1.798c0 1.094-.39 1.538-1.354 1.538h-.273v.964h.376c1.613 0 2.372-.759 2.372-2.352v-1.524c0-1.094.376-1.456 1.49-1.456V7.332c-1.114 0-1.49-.362-1.49-1.456V4.352C13.51 2.759 12.75 2 11.138 2h-.376v.964h.273c.964 0 1.354.444 1.354 1.538V6.3c0 .984.492 1.497 1.497 1.6z"/> </symbol> <symbol id="braces-asterisk" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M1.114 8.063V7.9c1.005-.102 1.497-.615 1.497-1.6V4.503c0-1.094.39-1.538 1.354-1.538h.273V2h-.376C2.25 2 1.49 2.759 1.49 4.352v1.524c0 1.094-.376 1.456-1.49 1.456v1.299c1.114 0 1.49.362 1.49 1.456v1.524c0 1.593.759 2.352 2.372 2.352h.376v-.964h-.273c-.964 0-1.354-.444-1.354-1.538V9.663c0-.984-.492-1.497-1.497-1.6ZM14.886 7.9v.164c-1.005.103-1.497.616-1.497 1.6v1.798c0 1.094-.39 1.538-1.354 1.538h-.273v.964h.376c1.613 0 2.372-.759 2.372-2.352v-1.524c0-1.094.376-1.456 1.49-1.456v-1.3c-1.114 0-1.49-.362-1.49-1.456V4.352C14.51 2.759 13.75 2 12.138 2h-.376v.964h.273c.964 0 1.354.444 1.354 1.538V6.3c0 .984.492 1.497 1.497 1.6ZM7.5 11.5V9.207l-1.621 1.621-.707-.707L6.792 8.5H4.5v-1h2.293L5.172 5.879l.707-.707L7.5 6.792V4.5h1v2.293l1.621-1.621.707.707L9.208 7.5H11.5v1H9.207l1.621 1.621-.707.707L8.5 9.208V11.5h-1Z"/> </symbol> <symbol id="check2" viewBox="0 0 16 16"> <path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/> </symbol> <symbol id="chevron-expand" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M3.646 9.146a.5.5 0 0 1 .708 0L8 12.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708zm0-2.292a.5.5 0 0 0 .708 0L8 3.207l3.646 3.647a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 0 0 0 .708z"/> </symbol> <symbol id="circle-half" viewBox="0 0 16 16"> <path d="M8 15A7 7 0 1 0 8 1v14zm0 1A8 8 0 1 1 8 0a8 8 0 0 1 0 16z"/> </symbol> <symbol id="clipboard" viewBox="0 0 16 16"> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/> <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/> </symbol> <symbol id="code" viewBox="0 0 16 16"> <path d="M5.854 4.854a.5.5 0 1 0-.708-.708l-3.5 3.5a.5.5 0 0 0 0 .708l3.5 3.5a.5.5 0 0 0 .708-.708L2.707 8l3.147-3.146zm4.292 0a.5.5 0 0 1 .708-.708l3.5 3.5a.5.5 0 0 1 0 .708l-3.5 3.5a.5.5 0 0 1-.708-.708L13.293 8l-3.147-3.146z"/> </symbol> <symbol id="file-earmark-richtext" viewBox="0 0 16 16"> <path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5L14 4.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h-2z"/> <path d="M4.5 12.5A.5.5 0 0 1 5 12h3a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm0-2A.5.5 0 0 1 5 10h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm1.639-3.708 1.33.886 1.854-1.855a.25.25 0 0 1 .289-.047l1.888.974V8.5a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8s1.54-1.274 1.639-1.208zM6.25 6a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5z"/> </symbol> <symbol id="globe2" viewBox="0 0 16 16"> <path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm7.5-6.923c-.67.204-1.335.82-1.887 1.855-.143.268-.276.56-.395.872.705.157 1.472.257 2.282.287V1.077zM4.249 3.539c.142-.384.304-.744.481-1.078a6.7 6.7 0 0 1 .597-.933A7.01 7.01 0 0 0 3.051 3.05c.362.184.763.349 1.198.49zM3.509 7.5c.036-1.07.188-2.087.436-3.008a9.124 9.124 0 0 1-1.565-.667A6.964 6.964 0 0 0 1.018 7.5h2.49zm1.4-2.741a12.344 12.344 0 0 0-.4 2.741H7.5V5.091c-.91-.03-1.783-.145-2.591-.332zM8.5 5.09V7.5h2.99a12.342 12.342 0 0 0-.399-2.741c-.808.187-1.681.301-2.591.332zM4.51 8.5c.035.987.176 1.914.399 2.741A13.612 13.612 0 0 1 7.5 10.91V8.5H4.51zm3.99 0v2.409c.91.03 1.783.145 2.591.332.223-.827.364-1.754.4-2.741H8.5zm-3.282 3.696c.12.312.252.604.395.872.552 1.035 1.218 1.65 1.887 1.855V11.91c-.81.03-1.577.13-2.282.287zm.11 2.276a6.696 6.696 0 0 1-.598-.933 8.853 8.853 0 0 1-.481-1.079 8.38 8.38 0 0 0-1.198.49 7.01 7.01 0 0 0 2.276 1.522zm-1.383-2.964A13.36 13.36 0 0 1 3.508 8.5h-2.49a6.963 6.963 0 0 0 1.362 3.675c.47-.258.995-.482 1.565-.667zm6.728 2.964a7.009 7.009 0 0 0 2.275-1.521 8.376 8.376 0 0 0-1.197-.49 8.853 8.853 0 0 1-.481 1.078 6.688 6.688 0 0 1-.597.933zM8.5 11.909v3.014c.67-.204 1.335-.82 1.887-1.855.143-.268.276-.56.395-.872A12.63 12.63 0 0 0 8.5 11.91zm3.555-.401c.57.185 1.095.409 1.565.667A6.963 6.963 0 0 0 14.982 8.5h-2.49a13.36 13.36 0 0 1-.437 3.008zM14.982 7.5a6.963 6.963 0 0 0-1.362-3.675c-.47.258-.995.482-1.565.667.248.92.4 1.938.437 3.008h2.49zM11.27 2.461c.177.334.339.694.482 1.078a8.368 8.368 0 0 0 1.196-.49 7.01 7.01 0 0 0-2.275-1.52c.218.283.418.597.597.932zm-.488 1.343a7.765 7.765 0 0 0-.395-.872C9.835 1.897 9.17 1.282 8.5 1.077V4.09c.81-.03 1.577-.13 2.282-.287z"/> </symbol> <symbol id="grid-fill" viewBox="0 0 16 16"> <path d="M1 2.5A1.5 1.5 0 0 1 2.5 1h3A1.5 1.5 0 0 1 7 2.5v3A1.5 1.5 0 0 1 5.5 7h-3A1.5 1.5 0 0 1 1 5.5v-3zm8 0A1.5 1.5 0 0 1 10.5 1h3A1.5 1.5 0 0 1 15 2.5v3A1.5 1.5 0 0 1 13.5 7h-3A1.5 1.5 0 0 1 9 5.5v-3zm-8 8A1.5 1.5 0 0 1 2.5 9h3A1.5 1.5 0 0 1 7 10.5v3A1.5 1.5 0 0 1 5.5 15h-3A1.5 1.5 0 0 1 1 13.5v-3zm8 0A1.5 1.5 0 0 1 10.5 9h3a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-3A1.5 1.5 0 0 1 9 13.5v-3z"/> </symbol> <symbol id="lightning-charge-fill" viewBox="0 0 16 16"> <path d="M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09z"/> </symbol> <symbol id="list" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/> </symbol> <symbol id="magic" viewBox="0 0 16 16"> <path d="M9.5 2.672a.5.5 0 1 0 1 0V.843a.5.5 0 0 0-1 0v1.829Zm4.5.035A.5.5 0 0 0 13.293 2L12 3.293a.5.5 0 1 0 .707.707L14 2.707ZM7.293 4A.5.5 0 1 0 8 3.293L6.707 2A.5.5 0 0 0 6 2.707L7.293 4Zm-.621 2.5a.5.5 0 1 0 0-1H4.843a.5.5 0 1 0 0 1h1.829Zm8.485 0a.5.5 0 1 0 0-1h-1.829a.5.5 0 0 0 0 1h1.829ZM13.293 10A.5.5 0 1 0 14 9.293L12.707 8a.5.5 0 1 0-.707.707L13.293 10ZM9.5 11.157a.5.5 0 0 0 1 0V9.328a.5.5 0 0 0-1 0v1.829Zm1.854-5.097a.5.5 0 0 0 0-.706l-.708-.708a.5.5 0 0 0-.707 0L8.646 5.94a.5.5 0 0 0 0 .707l.708.708a.5.5 0 0 0 .707 0l1.293-1.293Zm-3 3a.5.5 0 0 0 0-.706l-.708-.708a.5.5 0 0 0-.707 0L.646 13.94a.5.5 0 0 0 0 .707l.708.708a.5.5 0 0 0 .707 0L8.354 9.06Z"/> </symbol> <symbol id="menu-button-wide-fill" viewBox="0 0 16 16"> <path d="M1.5 0A1.5 1.5 0 0 0 0 1.5v2A1.5 1.5 0 0 0 1.5 5h13A1.5 1.5 0 0 0 16 3.5v-2A1.5 1.5 0 0 0 14.5 0h-13zm1 2h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zm9.927.427A.25.25 0 0 1 12.604 2h.792a.25.25 0 0 1 .177.427l-.396.396a.25.25 0 0 1-.354 0l-.396-.396zM0 8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V8zm1 3v2a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2H1zm14-1V8a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v2h14zM2 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 4a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5z"/> </symbol> <symbol id="moon-stars-fill" viewBox="0 0 16 16"> <path d="M6 .278a.768.768 0 0 1 .08.858 7.208 7.208 0 0 0-.878 3.46c0 4.021 3.278 7.277 7.318 7.277.527 0 1.04-.055 1.533-.16a.787.787 0 0 1 .81.316.733.733 0 0 1-.031.893A8.349 8.349 0 0 1 8.344 16C3.734 16 0 12.286 0 7.71 0 4.266 2.114 1.312 5.124.06A.752.752 0 0 1 6 .278z"/> <path d="M10.794 3.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387a1.734 1.734 0 0 0-1.097 1.097l-.387 1.162a.217.217 0 0 1-.412 0l-.387-1.162A1.734 1.734 0 0 0 9.31 6.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387a1.734 1.734 0 0 0 1.097-1.097l.387-1.162zM13.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732l-.774-.258a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L13.863.1z"/> </symbol> <symbol id="palette2" viewBox="0 0 16 16"> <path d="M0 .5A.5.5 0 0 1 .5 0h5a.5.5 0 0 1 .5.5v5.277l4.147-4.131a.5.5 0 0 1 .707 0l3.535 3.536a.5.5 0 0 1 0 .708L10.261 10H15.5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5H3a2.99 2.99 0 0 1-2.121-.879A2.99 2.99 0 0 1 0 13.044m6-.21 7.328-7.3-2.829-2.828L6 7.188v5.647zM4.5 13a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0zM15 15v-4H9.258l-4.015 4H15zM0 .5v12.495V.5z"/> <path d="M0 12.995V13a3.07 3.07 0 0 0 0-.005z"/> </symbol> <symbol id="plugin" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M1 8a7 7 0 1 1 2.898 5.673c-.167-.121-.216-.406-.002-.62l1.8-1.8a3.5 3.5 0 0 0 4.572-.328l1.414-1.415a.5.5 0 0 0 0-.707l-.707-.707 1.559-1.563a.5.5 0 1 0-.708-.706l-1.559 1.562-1.414-1.414 1.56-1.562a.5.5 0 1 0-.707-.706l-1.56 1.56-.707-.706a.5.5 0 0 0-.707 0L5.318 5.975a3.5 3.5 0 0 0-.328 4.571l-1.8 1.8c-.58.58-.62 1.6.121 2.137A8 8 0 1 0 0 8a.5.5 0 0 0 1 0Z"/> </symbol> <symbol id="plus" viewBox="0 0 16 16"> <path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z"/> </symbol> <symbol id="sun-fill" viewBox="0 0 16 16"> <path d="M8 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM8 0a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 0zm0 13a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-1 0v-2A.5.5 0 0 1 8 13zm8-5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2a.5.5 0 0 1 .5.5zM3 8a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h2A.5.5 0 0 1 3 8zm10.657-5.657a.5.5 0 0 1 0 .707l-1.414 1.415a.5.5 0 1 1-.707-.708l1.414-1.414a.5.5 0 0 1 .707 0zm-9.193 9.193a.5.5 0 0 1 0 .707L3.05 13.657a.5.5 0 0 1-.707-.707l1.414-1.414a.5.5 0 0 1 .707 0zm9.193 2.121a.5.5 0 0 1-.707 0l-1.414-1.414a.5.5 0 0 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .707zM4.464 4.465a.5.5 0 0 1-.707 0L2.343 3.05a.5.5 0 1 1 .707-.707l1.414 1.414a.5.5 0 0 1 0 .708z"/> </symbol> <symbol id="three-dots" viewBox="0 0 16 16"> <path d="M3 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/> </symbol> <symbol id="tools" viewBox="0 0 16 16"> <path d="M1 0 0 1l2.2 3.081a1 1 0 0 0 .815.419h.07a1 1 0 0 1 .708.293l2.675 2.675-2.617 2.654A3.003 3.003 0 0 0 0 13a3 3 0 1 0 5.878-.851l2.654-2.617.968.968-.305.914a1 1 0 0 0 .242 1.023l3.356 3.356a1 1 0 0 0 1.414 0l1.586-1.586a1 1 0 0 0 0-1.414l-3.356-3.356a1 1 0 0 0-1.023-.242L10.5 9.5l-.96-.96 2.68-2.643A3.005 3.005 0 0 0 16 3c0-.269-.035-.53-.102-.777l-2.14 2.141L12 4l-.364-1.757L13.777.102a3 3 0 0 0-3.675 3.68L7.462 6.46 4.793 3.793a1 1 0 0 1-.293-.707v-.071a1 1 0 0 0-.419-.814L1 0zm9.646 10.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708zM3 11l.471.242.529.026.287.445.445.287.026.529L5 13l-.242.471-.026.529-.445.287-.287.445-.529.026L3 15l-.471-.242L2 14.732l-.287-.445L1.268 14l-.026-.529L1 13l.242-.471.026-.529.445-.287.287-.445.529-.026L3 11z"/> </symbol> <symbol id="ui-radios" viewBox="0 0 16 16"> <path d="M7 2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-1zM0 12a3 3 0 1 1 6 0 3 3 0 0 1-6 0zm7-1.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-1zm0-5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm0 8a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zM3 1a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm0 4.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/> </symbol> </svg> <header class="navbar navbar-expand-lg bd-navbar sticky-top"> <nav class="container-xxl bd-gutter flex-wrap flex-lg-nowrap" aria-label="Main navigation"> <div class="d-lg-none" style="width: 4.25rem;"></div> <a class="navbar-brand p-0 me-0 me-lg-2" href="/" aria-label="Bootstrap"> <svg xmlns="http://www.w3.org/2000/svg" width="40" height="32" class="d-block my-1" viewBox="0 0 118 94" role="img"><title>Bootstrap</title><path fill-rule="evenodd" clip-rule="evenodd" d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z" fill="currentColor"/></svg> </a> <div class="d-flex"> <div class="bd-search" id="docsearch" data-bd-docs-version="5.3"></div> <button class="navbar-toggler d-flex d-lg-none order-3 p-2" type="button" data-bs-toggle="offcanvas" data-bs-target="#bdNavbar" aria-controls="bdNavbar" aria-label="Toggle navigation"> <svg class="bi" aria-hidden="true"><use xlink:href="#three-dots"></use></svg> </button> </div> <div class="offcanvas-lg offcanvas-end flex-grow-1" tabindex="-1" id="bdNavbar" aria-labelledby="bdNavbarOffcanvasLabel" data-bs-scroll="true"> <div class="offcanvas-header px-4 pb-0"> <h5 class="offcanvas-title text-white" id="bdNavbarOffcanvasLabel">Bootstrap</h5> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="offcanvas" aria-label="Close" data-bs-target="#bdNavbar"></button> </div> <div class="offcanvas-body p-4 pt-0 p-lg-0"> <hr class="d-lg-none text-white-50"> <ul class="navbar-nav flex-row flex-wrap bd-navbar-nav"> <li class="nav-item col-6 col-lg-auto"> <a class="nav-link py-2 px-0 px-lg-2" href="/docs/5.3/getting-started/introduction/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Docs');">Docs</a> </li> <li class="nav-item col-6 col-lg-auto"> <a class="nav-link py-2 px-0 px-lg-2 active" aria-current="true" href="/docs/5.3/examples/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Examples');">Examples</a> </li> <li class="nav-item col-6 col-lg-auto"> <a class="nav-link py-2 px-0 px-lg-2" href="https://icons.getbootstrap.com/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Icons');" target="_blank" rel="noopener">Icons</a> </li> <li class="nav-item col-6 col-lg-auto"> <a class="nav-link py-2 px-0 px-lg-2" href="https://themes.getbootstrap.com/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes');" target="_blank" rel="noopener">Themes</a> </li> <li class="nav-item col-6 col-lg-auto"> <a class="nav-link py-2 px-0 px-lg-2" href="https://blog.getbootstrap.com/" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');" target="_blank" rel="noopener">Blog</a> </li> </ul> <hr class="d-lg-none text-white-50"> <ul class="navbar-nav flex-row flex-wrap ms-md-auto"> <li class="nav-item col-6 col-lg-auto"> <a class="nav-link py-2 px-0 px-lg-2" href="https://github.com/twbs" target="_blank" rel="noopener"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="navbar-nav-svg" viewBox="0 0 512 499.36" role="img"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg> <small class="d-lg-none ms-2">GitHub</small> </a> </li> <li class="nav-item col-6 col-lg-auto"> <a class="nav-link py-2 px-0 px-lg-2" href="https://twitter.com/getbootstrap" target="_blank" rel="noopener"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="navbar-nav-svg" viewBox="0 0 512 416.32" role="img"><title>Twitter</title><path fill="currentColor" d="M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92"/></svg> <small class="d-lg-none ms-2">Twitter</small> </a> </li> <li class="nav-item col-6 col-lg-auto"> <a class="nav-link py-2 px-0 px-lg-2" href="https://opencollective.com/bootstrap" target="_blank" rel="noopener"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" fill-rule="evenodd" class="navbar-nav-svg" viewBox="0 0 40 41" role="img"><title>Open Collective</title><path fill-opacity=".4" d="M32.8 21c0 2.4-.8 4.9-2 6.9l5.1 5.1c2.5-3.4 4.1-7.6 4.1-12 0-4.6-1.6-8.8-4-12.2L30.7 14c1.2 2 2 4.3 2 7z"/><path d="M20 33.7a12.8 12.8 0 0 1 0-25.6c2.6 0 5 .7 7 2.1L32 5a20 20 0 1 0 .1 31.9l-5-5.2a13 13 0 0 1-7 2z"/></svg> <small class="d-lg-none ms-2">Open Collective</small> </a> </li> <li class="nav-item py-2 py-lg-1 col-12 col-lg-auto"> <div class="vr d-none d-lg-flex h-100 mx-lg-2 text-white"></div> <hr class="d-lg-none my-2 text-white-50"> </li> <li class="nav-item dropdown"> <button type="button" class="btn btn-link nav-link py-2 px-0 px-lg-2 dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false" data-bs-display="static"> <span class="d-lg-none" aria-hidden="true">Bootstrap</span><span class="visually-hidden">Bootstrap </span> v5.3 <span class="visually-hidden">(switch to other versions)</span> </button> <ul class="dropdown-menu dropdown-menu-end"> <li><h6 class="dropdown-header">v5 releases</h6></li> <li> <a class="dropdown-item d-flex align-items-center justify-content-between active" aria-current="true" href="/docs/5.3/examples/"> Latest (5.3.x) <svg class="bi"><use xlink:href="#check2"></use></svg> </a> </li> <li> <a class="dropdown-item" href="https://getbootstrap.com/docs/5.2/examples/">v5.2.3</a> </li> <li> <a class="dropdown-item" href="https://getbootstrap.com/docs/5.1/examples/">v5.1.3</a> </li> <li> <a class="dropdown-item" href="https://getbootstrap.com/docs/5.0/examples/">v5.0.2</a> </li> <li><hr class="dropdown-divider"></li> <li><h6 class="dropdown-header">Previous releases</h6></li> <li><a class="dropdown-item" href="https://getbootstrap.com/docs/4.6/">v4.6.x</a></li> <li><a class="dropdown-item" href="https://getbootstrap.com/docs/3.4/">v3.4.1</a></li> <li><a class="dropdown-item" href="https://getbootstrap.com/2.3.2/">v2.3.2</a></li> <li><hr class="dropdown-divider"></li> <li><a class="dropdown-item" href="/docs/versions/">All versions</a></li> </ul> </li> <li class="nav-item py-2 py-lg-1 col-12 col-lg-auto"> <div class="vr d-none d-lg-flex h-100 mx-lg-2 text-white"></div> <hr class="d-lg-none my-2 text-white-50"> </li> <li class="nav-item dropdown"> <button class="btn btn-link nav-link py-2 px-0 px-lg-2 dropdown-toggle d-flex align-items-center" id="bd-theme" type="button" aria-expanded="false" data-bs-toggle="dropdown" data-bs-display="static" aria-label="Toggle theme (auto)"> <svg class="bi my-1 theme-icon-active"><use href="#circle-half"></use></svg> <span class="d-lg-none ms-2" id="bd-theme-text">Toggle theme</span> </button> <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="bd-theme-text"> <li> <button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="light" aria-pressed="false"> <svg class="bi me-2 opacity-50"><use href="#sun-fill"></use></svg> Light <svg class="bi ms-auto d-none"><use href="#check2"></use></svg> </button> </li> <li> <button type="button" class="dropdown-item d-flex align-items-center" data-bs-theme-value="dark" aria-pressed="false"> <svg class="bi me-2 opacity-50"><use href="#moon-stars-fill"></use></svg> Dark <svg class="bi ms-auto d-none"><use href="#check2"></use></svg> </button> </li> <li> <button type="button" class="dropdown-item d-flex align-items-center active" data-bs-theme-value="auto" aria-pressed="true"> <svg class="bi me-2 opacity-50"><use href="#circle-half"></use></svg> Auto <svg class="bi ms-auto d-none"><use href="#check2"></use></svg> </button> </li> </ul> </li> </ul> </div> </div> </nav> </header> <header class="py-5 border-bottom"> <div class="container-xxl bd-gutter pt-md-1 pb-md-4"> <div class="row"> <div class="col-xl-8"> <h1 class="bd-title mt-0">Examples</h1> <p class="bd-lead">Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts.</p> <div class="d-flex flex-column flex-md-row gap-3"> <a href="https://github.com/twbs/bootstrap/releases/download/v5.3.3/bootstrap-5.3.3-examples.zip" class="btn btn-lg bd-btn-lg btn-bd-primary d-flex align-items-center justify-content-center fw-semibold" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download Examples');"> <svg class="bi me-2" aria-hidden="true"><use xlink:href="#box-seam"></use></svg> Download examples </a> <a href="https://github.com/twbs/bootstrap/archive/v5.3.3.zip" class="btn btn-lg bd-btn-lg btn-outline-secondary" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download');"> Download source code </a> </div> </div> <div class="col-xl-4 d-lg-flex justify-content-xl-end"> <script async src="https://cdn.carbonads.com/carbon.js?serve=CKYIKKJL&placement=getbootstrapcom" id="_carbonads_js"></script> </div> </div> </div> </header> <main class="bd-content order-1 py-5" id="content"> <div class="container-xxl bd-gutter"> <div class="bd-content"> <h2 id="starters">Starters</h2> <p>Functional examples of using Bootstrap in common JS frameworks like Webpack, Parcel, Vite, and more you can edit in StackBlitz.</p> <div class="row"> <div class="col-md-6 col-lg-4 mb-3 d-flex gap-3"> <svg class="bi fs-5 flex-shrink-0 mt-1"><use xlink:href="#box-seam"></use></svg> <div> <h3 class="h5 mb-1"> <a class="d-block link-offset-1" href="https://github.com/twbs/examples/tree/main/starter/" target="_blank" rel="noopener"> CDN starter </a> </h3> <p class="text-body-secondary">Instantly include Bootstrap's compiled CSS and JavaScript via the jsDelivr CDN.</p> <p> <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs/examples/tree/main/starter?file=index.html" target="_blank" rel="noopener"> <svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg> Edit in StackBlitz </a> </p> </div> </div> <div class="col-md-6 col-lg-4 mb-3 d-flex gap-3"> <svg class="bi fs-5 flex-shrink-0 mt-1"><use xlink:href="#box-seam"></use></svg> <div> <h3 class="h5 mb-1"> <a class="d-block link-offset-1" href="https://github.com/twbs/examples/tree/main/sass-js/" target="_blank" rel="noopener"> Sass & JS </a> </h3> <p class="text-body-secondary">Use npm to import and compile Bootstrap's Sass with Autoprefixer and Stylelint, plus our bundled JavaScript.</p> <p> <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs/examples/tree/main/sass-js?file=index.html" target="_blank" rel="noopener"> <svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg> Edit in StackBlitz </a> </p> </div> </div> <div class="col-md-6 col-lg-4 mb-3 d-flex gap-3"> <svg class="bi fs-5 flex-shrink-0 mt-1"><use xlink:href="#box-seam"></use></svg> <div> <h3 class="h5 mb-1"> <a class="d-block link-offset-1" href="https://github.com/twbs/examples/tree/main/sass-js-esm/" target="_blank" rel="noopener"> Sass & ESM JS </a> </h3> <p class="text-body-secondary">Import and compile Bootstrap's Sass with Autoprefixer and Stylelint, and compile our source JavaScript with an ESM shim.</p> <p> <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs/examples/tree/main/sass-js-esm?file=index.html" target="_blank" rel="noopener"> <svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg> Edit in StackBlitz </a> </p> </div> </div> <div class="col-md-6 col-lg-4 mb-3 d-flex gap-3"> <svg class="bi fs-5 flex-shrink-0 mt-1"><use xlink:href="#box-seam"></use></svg> <div> <h3 class="h5 mb-1"> <a class="d-block link-offset-1" href="https://github.com/twbs/examples/tree/main/color-modes/" target="_blank" rel="noopener"> Bootstrap color modes </a> </h3> <p class="text-body-secondary">Import and compile Bootstrap's Sass with Stylelint, and the Bootstrap color modes.</p> <p> <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs/examples/tree/main/color-modes?file=index.html" target="_blank" rel="noopener"> <svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg> Edit in StackBlitz </a> </p> </div> </div> <div class="col-md-6 col-lg-4 mb-3 d-flex gap-3"> <svg class="bi fs-5 flex-shrink-0 mt-1"><use xlink:href="#box-seam"></use></svg> <div> <h3 class="h5 mb-1"> <a class="d-block link-offset-1" href="https://github.com/twbs/examples/tree/main/icons-font/" target="_blank" rel="noopener"> Bootstrap Icons </a> </h3> <p class="text-body-secondary">Import and compile Bootstrap's Sass with Stylelint, PurgeCSS, and the Bootstrap Icons web font.</p> <p> <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs/examples/tree/main/icons-font?file=index.html" target="_blank" rel="noopener"> <svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg> Edit in StackBlitz </a> </p> </div> </div> <div class="col-md-6 col-lg-4 mb-3 d-flex gap-3"> <svg class="bi fs-5 flex-shrink-0 mt-1"><use xlink:href="#box-seam"></use></svg> <div> <h3 class="h5 mb-1"> <a class="d-block link-offset-1" href="https://github.com/twbs/examples/tree/main/parcel/" target="_blank" rel="noopener"> Parcel </a> </h3> <p class="text-body-secondary">Import and bundle Bootstrap's source Sass and JavaScript via Parcel.</p> <p> <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs/examples/tree/main/parcel?file=src%2Findex.html" target="_blank" rel="noopener"> <svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg> Edit in StackBlitz </a> </p> </div> </div> <div class="col-md-6 col-lg-4 mb-3 d-flex gap-3"> <svg class="bi fs-5 flex-shrink-0 mt-1"><use xlink:href="#box-seam"></use></svg> <div> <h3 class="h5 mb-1"> <a class="d-block link-offset-1" href="https://github.com/twbs/examples/tree/main/react-nextjs/" target="_blank" rel="noopener"> React </a> </h3> <p class="text-body-secondary">Import and bundle Bootstrap's source Sass and JavaScript with React, Next.js, and React Bootstrap.</p> <p> <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs/examples/tree/main/react-nextjs?file=src%2Fpages%2Findex.tsx" target="_blank" rel="noopener"> <svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg> Edit in StackBlitz </a> </p> </div> </div> <div class="col-md-6 col-lg-4 mb-3 d-flex gap-3"> <svg class="bi fs-5 flex-shrink-0 mt-1"><use xlink:href="#box-seam"></use></svg> <div> <h3 class="h5 mb-1"> <a class="d-block link-offset-1" href="https://github.com/twbs/examples/tree/main/vite/" target="_blank" rel="noopener"> Vite </a> </h3> <p class="text-body-secondary">Import and bundle Bootstrap's source Sass and JavaScript with Vite.</p> <p> <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs/examples/tree/main/vite?file=index.html" target="_blank" rel="noopener"> <svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg> Edit in StackBlitz </a> </p> </div> </div> <div class="col-md-6 col-lg-4 mb-3 d-flex gap-3"> <svg class="bi fs-5 flex-shrink-0 mt-1"><use xlink:href="#box-seam"></use></svg> <div> <h3 class="h5 mb-1"> <a class="d-block link-offset-1" href="https://github.com/twbs/examples/tree/main/vue/" target="_blank" rel="noopener"> Vue </a> </h3> <p class="text-body-secondary">Import and bundle Bootstrap's source Sass and JavaScript with Vue and Vite.</p> <p> <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs/examples/tree/main/vue?file=index.html" target="_blank" rel="noopener"> <svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg> Edit in StackBlitz </a> </p> </div> </div> <div class="col-md-6 col-lg-4 mb-3 d-flex gap-3"> <svg class="bi fs-5 flex-shrink-0 mt-1"><use xlink:href="#box-seam"></use></svg> <div> <h3 class="h5 mb-1"> <a class="d-block link-offset-1" href="https://github.com/twbs/examples/tree/main/webpack/" target="_blank" rel="noopener"> Webpack </a> </h3> <p class="text-body-secondary">Import and bundle Bootstrap's source Sass and JavaScript with Webpack.</p> <p> <a class="icon-link small link-secondary link-offset-1" href="https://stackblitz.com/github/twbs/examples/tree/main/webpack?file=src%2Findex.html" target="_blank" rel="noopener"> <svg class="bi flex-shrink-0"><use xlink:href="#lightning-charge-fill"></use></svg> Edit in StackBlitz </a> </p> </div> </div> </div> </div> <div class="bd-content"> <h2 id="snippets">Snippets</h2> <p>Common patterns for building sites and apps that build on existing components and utilities with custom CSS and more.</p> <div class="row"> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/headers/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/headers.png, /docs/5.3/assets/img/examples/headers@2x.png 2x" src="/docs/5.3/assets/img/examples/headers.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Headers </h3> </a> <p class="text-body-secondary">Display your branding, navigation, search, and more with these header components</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/heroes/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/heroes.png, /docs/5.3/assets/img/examples/heroes@2x.png 2x" src="/docs/5.3/assets/img/examples/heroes.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Heroes </h3> </a> <p class="text-body-secondary">Set the stage on your homepage with heroes that feature clear calls to action.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/features/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/features.png, /docs/5.3/assets/img/examples/features@2x.png 2x" src="/docs/5.3/assets/img/examples/features.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Features </h3> </a> <p class="text-body-secondary">Explain the features, benefits, or other details in your marketing content.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/sidebars/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/sidebars.png, /docs/5.3/assets/img/examples/sidebars@2x.png 2x" src="/docs/5.3/assets/img/examples/sidebars.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Sidebars </h3> </a> <p class="text-body-secondary">Common navigation patterns ideal for offcanvas or multi-column layouts.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/footers/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/footers.png, /docs/5.3/assets/img/examples/footers@2x.png 2x" src="/docs/5.3/assets/img/examples/footers.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Footers </h3> </a> <p class="text-body-secondary">Finish every page strong with an awesome footer, big or small.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/dropdowns/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/dropdowns.png, /docs/5.3/assets/img/examples/dropdowns@2x.png 2x" src="/docs/5.3/assets/img/examples/dropdowns.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Dropdowns </h3> </a> <p class="text-body-secondary">Enhance your dropdowns with filters, icons, custom styles, and more.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/list-groups/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/list-groups.png, /docs/5.3/assets/img/examples/list-groups@2x.png 2x" src="/docs/5.3/assets/img/examples/list-groups.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> List groups </h3> </a> <p class="text-body-secondary">Extend list groups with utilities and custom styles for any content.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/modals/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/modals.png, /docs/5.3/assets/img/examples/modals@2x.png 2x" src="/docs/5.3/assets/img/examples/modals.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Modals </h3> </a> <p class="text-body-secondary">Transform modals to serve any purpose, from feature tours to dialogs.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/badges/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/badges.png, /docs/5.3/assets/img/examples/badges@2x.png 2x" src="/docs/5.3/assets/img/examples/badges.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Badges </h3> </a> <p class="text-body-secondary">Make badges work with custom inner HTML and new looks.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/breadcrumbs/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/breadcrumbs.png, /docs/5.3/assets/img/examples/breadcrumbs@2x.png 2x" src="/docs/5.3/assets/img/examples/breadcrumbs.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Breadcrumbs </h3> </a> <p class="text-body-secondary">Integrate custom icons and create stepper components.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/buttons/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/buttons.png, /docs/5.3/assets/img/examples/buttons@2x.png 2x" src="/docs/5.3/assets/img/examples/buttons.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Buttons </h3> </a> <p class="text-body-secondary">Create custom buttons for just about any use case with utilities.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/jumbotrons/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/jumbotrons.png, /docs/5.3/assets/img/examples/jumbotrons@2x.png 2x" src="/docs/5.3/assets/img/examples/jumbotrons.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Jumbotrons </h3> </a> <p class="text-body-secondary">Create modernized versions of the classic Bootstrap component.</p> </div> </div> </div> <div class="bd-content"> <h2 id="custom-components">Custom Components</h2> <p>Brand-new components and templates to help folks quickly get started with Bootstrap and demonstrate best practices for adding onto the framework.</p> <div class="row"> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/album/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/album.png, /docs/5.3/assets/img/examples/album@2x.png 2x" src="/docs/5.3/assets/img/examples/album.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Album </h3> </a> <p class="text-body-secondary">Simple one-page template for photo galleries, portfolios, and more.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/pricing/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/pricing.png, /docs/5.3/assets/img/examples/pricing@2x.png 2x" src="/docs/5.3/assets/img/examples/pricing.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Pricing </h3> </a> <p class="text-body-secondary">Example pricing page built with Cards and featuring a custom header and footer.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/checkout/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/checkout.png, /docs/5.3/assets/img/examples/checkout@2x.png 2x" src="/docs/5.3/assets/img/examples/checkout.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Checkout </h3> </a> <p class="text-body-secondary">Custom checkout form showing our form components and their validation features.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/product/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/product.png, /docs/5.3/assets/img/examples/product@2x.png 2x" src="/docs/5.3/assets/img/examples/product.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Product </h3> </a> <p class="text-body-secondary">Lean product-focused marketing page with extensive grid and image work.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/cover/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/cover.png, /docs/5.3/assets/img/examples/cover@2x.png 2x" src="/docs/5.3/assets/img/examples/cover.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Cover </h3> </a> <p class="text-body-secondary">A one-page template for building simple and beautiful home pages.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/carousel/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/carousel.png, /docs/5.3/assets/img/examples/carousel@2x.png 2x" src="/docs/5.3/assets/img/examples/carousel.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Carousel </h3> </a> <p class="text-body-secondary">Customize the navbar and carousel, then add some new components.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/blog/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/blog.png, /docs/5.3/assets/img/examples/blog@2x.png 2x" src="/docs/5.3/assets/img/examples/blog.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Blog </h3> </a> <p class="text-body-secondary">Magazine like blog template with header, navigation, featured content.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/dashboard/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/dashboard.png, /docs/5.3/assets/img/examples/dashboard@2x.png 2x" src="/docs/5.3/assets/img/examples/dashboard.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Dashboard </h3> </a> <p class="text-body-secondary">Basic admin dashboard shell with fixed sidebar and navbar.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/sign-in/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/sign-in.png, /docs/5.3/assets/img/examples/sign-in@2x.png 2x" src="/docs/5.3/assets/img/examples/sign-in.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Sign-in </h3> </a> <p class="text-body-secondary">Custom form layout and design for a simple sign in form.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/sticky-footer/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/sticky-footer.png, /docs/5.3/assets/img/examples/sticky-footer@2x.png 2x" src="/docs/5.3/assets/img/examples/sticky-footer.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Sticky footer </h3> </a> <p class="text-body-secondary">Attach a footer to the bottom of the viewport when page content is short.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/sticky-footer-navbar/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/sticky-footer-navbar.png, /docs/5.3/assets/img/examples/sticky-footer-navbar@2x.png 2x" src="/docs/5.3/assets/img/examples/sticky-footer-navbar.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Sticky footer navbar </h3> </a> <p class="text-body-secondary">Attach a footer to the bottom of the viewport with a fixed top navbar.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/jumbotron/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/jumbotron.png, /docs/5.3/assets/img/examples/jumbotron@2x.png 2x" src="/docs/5.3/assets/img/examples/jumbotron.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Jumbotron </h3> </a> <p class="text-body-secondary">Use utilities to recreate and enhance Bootstrap 4's jumbotron.</p> </div> </div> </div> <div class="bd-content"> <h2 id="framework">Framework</h2> <p>Examples that focus on implementing uses of built-in components provided by Bootstrap.</p> <div class="row"> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/starter-template/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/starter-template.png, /docs/5.3/assets/img/examples/starter-template@2x.png 2x" src="/docs/5.3/assets/img/examples/starter-template.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Starter template </h3> </a> <p class="text-body-secondary">Nothing but the basics: compiled CSS and JavaScript.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/grid/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/grid.png, /docs/5.3/assets/img/examples/grid@2x.png 2x" src="/docs/5.3/assets/img/examples/grid.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Grid </h3> </a> <p class="text-body-secondary">Multiple examples of grid layouts with all four tiers, nesting, and more.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/cheatsheet/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/cheatsheet.png, /docs/5.3/assets/img/examples/cheatsheet@2x.png 2x" src="/docs/5.3/assets/img/examples/cheatsheet.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Cheatsheet </h3> </a> <p class="text-body-secondary">Kitchen sink of Bootstrap components.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/cheatsheet-rtl/" hreflang="ar"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/cheatsheet-rtl.png, /docs/5.3/assets/img/examples/cheatsheet-rtl@2x.png 2x" src="/docs/5.3/assets/img/examples/cheatsheet-rtl.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Cheatsheet RTL </h3> </a> <p class="text-body-secondary">Kitchen sink of Bootstrap components, RTL.</p> </div> </div> </div> <div class="bd-content"> <h2 id="navbars">Navbars</h2> <p>Taking the default navbar component and showing how it can be moved, placed, and extended.</p> <div class="row"> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/navbars/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/navbars.png, /docs/5.3/assets/img/examples/navbars@2x.png 2x" src="/docs/5.3/assets/img/examples/navbars.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Navbars </h3> </a> <p class="text-body-secondary">Demonstration of all responsive and container options for the navbar.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/navbars-offcanvas/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/navbars-offcanvas.png, /docs/5.3/assets/img/examples/navbars-offcanvas@2x.png 2x" src="/docs/5.3/assets/img/examples/navbars-offcanvas.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Navbars offcanvas </h3> </a> <p class="text-body-secondary">Same as the Navbars example, but with our offcanvas component.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/navbar-static/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/navbar-static.png, /docs/5.3/assets/img/examples/navbar-static@2x.png 2x" src="/docs/5.3/assets/img/examples/navbar-static.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Navbar static </h3> </a> <p class="text-body-secondary">Single navbar example of a static top navbar along with some additional content.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/navbar-fixed/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/navbar-fixed.png, /docs/5.3/assets/img/examples/navbar-fixed@2x.png 2x" src="/docs/5.3/assets/img/examples/navbar-fixed.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Navbar fixed </h3> </a> <p class="text-body-secondary">Single navbar example with a fixed top navbar along with some additional content.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/navbar-bottom/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/navbar-bottom.png, /docs/5.3/assets/img/examples/navbar-bottom@2x.png 2x" src="/docs/5.3/assets/img/examples/navbar-bottom.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Navbar bottom </h3> </a> <p class="text-body-secondary">Single navbar example with a bottom navbar along with some additional content.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/offcanvas-navbar/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/offcanvas-navbar.png, /docs/5.3/assets/img/examples/offcanvas-navbar@2x.png 2x" src="/docs/5.3/assets/img/examples/offcanvas-navbar.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Offcanvas navbar </h3> </a> <p class="text-body-secondary">Turn your expandable navbar into a sliding offcanvas menu (doesn't use our offcanvas component).</p> </div> </div> </div> <div class="bd-content"> <h2 id="rtl">RTL</h2> <p>See Bootstrap's RTL version in action with these modified Custom Components examples.</p> <div class="bd-callout bd-callout-warning small"> <p> <strong>RTL is still experimental</strong> and will evolve with feedback. Spotted something or have an improvement to suggest? </p> <p><a href="https://github.com/twbs/bootstrap/issues/new/choose">Please open an issue.</a></p> </div> <div class="row"> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/album-rtl/" hreflang="ar"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/album-rtl.png, /docs/5.3/assets/img/examples/album-rtl@2x.png 2x" src="/docs/5.3/assets/img/examples/album-rtl.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Album RTL </h3> </a> <p class="text-body-secondary">Simple one-page template for photo galleries, portfolios, and more.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/checkout-rtl/" hreflang="ar"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/checkout-rtl.png, /docs/5.3/assets/img/examples/checkout-rtl@2x.png 2x" src="/docs/5.3/assets/img/examples/checkout-rtl.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Checkout RTL </h3> </a> <p class="text-body-secondary">Custom checkout form showing our form components and their validation features.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/carousel-rtl/" hreflang="ar"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/carousel-rtl.png, /docs/5.3/assets/img/examples/carousel-rtl@2x.png 2x" src="/docs/5.3/assets/img/examples/carousel-rtl.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Carousel RTL </h3> </a> <p class="text-body-secondary">Customize the navbar and carousel, then add some new components.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/blog-rtl/" hreflang="ar"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/blog-rtl.png, /docs/5.3/assets/img/examples/blog-rtl@2x.png 2x" src="/docs/5.3/assets/img/examples/blog-rtl.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Blog RTL </h3> </a> <p class="text-body-secondary">Magazine like blog template with header, navigation, featured content.</p> </div> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/dashboard-rtl/" hreflang="ar"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/dashboard-rtl.png, /docs/5.3/assets/img/examples/dashboard-rtl@2x.png 2x" src="/docs/5.3/assets/img/examples/dashboard-rtl.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Dashboard RTL </h3> </a> <p class="text-body-secondary">Basic admin dashboard shell with fixed sidebar and navbar.</p> </div> </div> </div> <div class="bd-content"> <h2 id="integrations">Integrations</h2> <p>Integrations with external libraries.</p> <div class="row"> <div class="col-sm-6 col-md-3 mb-3"> <a class="d-block link-offset-1" href="/docs/5.3/examples/masonry/"> <img class="img-thumbnail mb-3" srcset="/docs/5.3/assets/img/examples/masonry.png, /docs/5.3/assets/img/examples/masonry@2x.png 2x" src="/docs/5.3/assets/img/examples/masonry.png" alt="" width="480" height="300" loading="lazy"> <h3 class="h5 mb-1"> Masonry </h3> </a> <p class="text-body-secondary">Combine the powers of the Bootstrap grid and the Masonry layout.</p> </div> </div> </div> <hr class="my-5"> <div class="container"> <div class="text-center"> <div class="masthead-followup-icon d-inline-block mb-2 text-bg-danger"> <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" focusable="false" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M8 16a6 6 0 006-6c0-1.655-1.122-2.904-2.432-4.362C10.254 4.176 8.75 2.503 8 0c0 0-6 5.686-6 10a6 6 0 006 6zM6.646 4.646c-.376.377-1.272 1.489-2.093 3.13l.894.448c.78-1.559 1.616-2.58 1.907-2.87l-.708-.708z" clip-rule="evenodd"/> </svg> </div> <h2 class="display-6 fw-normal">Go further with Bootstrap Themes</h2> <p class="col-md-10 col-lg-8 mx-auto lead"> Need something more than these examples? Take Bootstrap to the next level with premium themes from the <a href="https://themes.getbootstrap.com/">official Bootstrap Themes marketplace</a>. They鈥檙e built as their own extended frameworks, rich with new components and plugins, documentation, and powerful build tools. </p> <a href="https://themes.getbootstrap.com/" class="btn btn-lg btn-outline-primary mb-3">Browse themes</a> </div> <img class="d-block img-fluid mt-3 mx-auto" srcset="/docs/5.3/assets/img/bootstrap-themes-collage.png, /docs/5.3/assets/img/bootstrap-themes-collage@2x.png 2x" src="/docs/5.3/assets/img/bootstrap-themes-collage.png" alt="Bootstrap Themes" width="1150" height="320" loading="lazy"> </div> </div> </main> <footer class="bd-footer py-4 py-md-5 mt-5 bg-body-tertiary"> <div class="container py-4 py-md-5 px-4 px-md-3 text-body-secondary"> <div class="row"> <div class="col-lg-3 mb-3"> <a class="d-inline-flex align-items-center mb-2 text-body-emphasis text-decoration-none" href="/" aria-label="Bootstrap"> <svg xmlns="http://www.w3.org/2000/svg" width="40" height="32" class="d-block me-2" viewBox="0 0 118 94" role="img"><title>Bootstrap</title><path fill-rule="evenodd" clip-rule="evenodd" d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z" fill="currentColor"/></svg> <span class="fs-5">Bootstrap</span> </a> <ul class="list-unstyled small"> <li class="mb-2">Designed and built with all the love in the world by the <a href="/docs/5.3/about/team/">Bootstrap team</a> with the help of <a href="https://github.com/twbs/bootstrap/graphs/contributors">our contributors</a>.</li> <li class="mb-2">Code licensed <a href="https://github.com/twbs/bootstrap/blob/main/LICENSE" target="_blank" rel="license noopener">MIT</a>, docs <a href="https://creativecommons.org/licenses/by/3.0/" target="_blank" rel="license noopener">CC BY 3.0</a>.</li> <li class="mb-2">Currently v5.3.3.</li> </ul> </div> <div class="col-6 col-lg-2 offset-lg-1 mb-3"> <h5>Links</h5> <ul class="list-unstyled"> <li class="mb-2"><a href="/">Home</a></li> <li class="mb-2"><a href="/docs/5.3/">Docs</a></li> <li class="mb-2"><a href="/docs/5.3/examples/">Examples</a></li> <li class="mb-2"><a href="https://icons.getbootstrap.com/">Icons</a></li> <li class="mb-2"><a href="https://themes.getbootstrap.com/">Themes</a></li> <li class="mb-2"><a href="https://blog.getbootstrap.com/">Blog</a></li> <li class="mb-2"><a href="https://cottonbureau.com/people/bootstrap" target="_blank" rel="noopener">Swag Store</a></li> </ul> </div> <div class="col-6 col-lg-2 mb-3"> <h5>Guides</h5> <ul class="list-unstyled"> <li class="mb-2"><a href="/docs/5.3/getting-started/">Getting started</a></li> <li class="mb-2"><a href="/docs/5.3/examples/starter-template/">Starter template</a></li> <li class="mb-2"><a href="/docs/5.3/getting-started/webpack/">Webpack</a></li> <li class="mb-2"><a href="/docs/5.3/getting-started/parcel/">Parcel</a></li> <li class="mb-2"><a href="/docs/5.3/getting-started/vite/">Vite</a></li> </ul> </div> <div class="col-6 col-lg-2 mb-3"> <h5>Projects</h5> <ul class="list-unstyled"> <li class="mb-2"><a href="https://github.com/twbs/bootstrap" target="_blank" rel="noopener">Bootstrap 5</a></li> <li class="mb-2"><a href="https://github.com/twbs/bootstrap/tree/v4-dev" target="_blank" rel="noopener">Bootstrap 4</a></li> <li class="mb-2"><a href="https://github.com/twbs/icons" target="_blank" rel="noopener">Icons</a></li> <li class="mb-2"><a href="https://github.com/twbs/rfs" target="_blank" rel="noopener">RFS</a></li> <li class="mb-2"><a href="https://github.com/twbs/examples/" target="_blank" rel="noopener">Examples repo</a></li> </ul> </div> <div class="col-6 col-lg-2 mb-3"> <h5>Community</h5> <ul class="list-unstyled"> <li class="mb-2"><a href="https://github.com/twbs/bootstrap/issues" target="_blank" rel="noopener">Issues</a></li> <li class="mb-2"><a href="https://github.com/twbs/bootstrap/discussions" target="_blank" rel="noopener">Discussions</a></li> <li class="mb-2"><a href="https://github.com/sponsors/twbs" target="_blank" rel="noopener">Corporate sponsors</a></li> <li class="mb-2"><a href="https://opencollective.com/bootstrap" target="_blank" rel="noopener">Open Collective</a></li> <li class="mb-2"><a href="https://stackoverflow.com/questions/tagged/bootstrap-5" target="_blank" rel="noopener">Stack Overflow</a></li> </ul> </div> </div> </div> </footer> <script src="/docs/5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script> <script src="/docs/5.3/assets/js/docs.min.js"></script> </body> </html>