Styleguide
Spacing system
200px - $spacer * 12.5 - 13
160px - $spacer * 10 - 12
120px - $spacer * 7.5 - 11
80px - $spacer * 5 - 10
72px - $spacer * 4.5 - 9
64px - $spacer * 4 - 8
48px - $spacer * 3 - 7
40px - $spacer * 2.5 - 6
32px - $spacer * 2 - 5
24px - $spacer * 1.5 - 4
16px - $spacer - 3
12px - $spacer * 0.75 - standard
8px - $spacer * 0.5 - 2
4px - $spacer * 0.25 - 1
0px - $spacer * 0 - 0
Headings
heading-3xl
heading-xxl, h1
heading-xl, h2
heading-lg, h3
heading-md, h4
heading-sm, h5
heading-xs, h6
heading-xxs
heading-3xs
heading-4xs
heading-5xs
heading-6xs
Texts
body-xl
body-lg
body-md
body-sm
body-xs
Colors
Backgrounds
Buttons
Primary | Secondary Light | Tertiary Light | Primary Dark | Tertiary Dark | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
no icon | with icon | no icon | with icon | no icon | with icon | no icon | with icon | no icon | with icon | ||
default | default | ||||||||||
hover | |||||||||||
active | |||||||||||
disabled | |||||||||||
Classes | btn btn-primary | btn btn-primary btn--icon | btn btn-secondary | btn btn-secondary btn--icon | btn btn-tertiary | btn btn-tertiary btn--icon | btn btn-primary-dark | btn btn-primary-dark btn--icon | btn btn-tertiary-dark | btn btn-tertiary-dark btn--icon | |
small | default | ||||||||||
hover | |||||||||||
active | |||||||||||
disabled | |||||||||||
Classes | btn btn-primary btn-sm | btn btn-primary btn-sm btn--icon | btn btn-secondary btn-sm | btn btn-secondary btn-sm btn--icon | btn btn-tertiary btn-sm | btn btn-tertiary btn-sm btn--icon | btn btn-primary-dark btn-sm | btn btn-primary-dark btn-sm btn--icon | btn btn-tertiary-dark btn-sm | btn btn-tertiary-dark btn-sm btn--icon | |
large | default | ||||||||||
hover | |||||||||||
active | |||||||||||
disabled | |||||||||||
Classes | btn btn-primary btn-lg | btn btn-primary btn-lg btn--icon | btn btn-secondary btn-lg | btn btn-secondary btn-lg btn--icon | btn btn-tertiary btn-lg | btn btn-tertiary btn-lg btn--icon | btn btn-primary-dark btn-lg | btn btn-primary-dark btn-lg btn--icon | btn btn-tertiary-dark btn-lg | btn btn-tertiary-dark btn-lg btn--icon |
Textlinks
no icon | with icon (left) | with icon (right) | ||
---|---|---|---|---|
default | textlink | textlink | textlink | |
hover | textlink | textlink | textlink | |
active | textlink | textlink | textlink | |
Classes | textlink wenn a-Tag, wird Class nicht zwingend benötigt | textlink textlink--icon-left | textlink textlink--icon-right |
Navigation
Animationen
Name | Preview | Classes | Code |
---|---|---|---|
Hamburger Default | navbar-toggler__icon navbar-toggler--hamburger-default navbar-toggler__icon navbar-toggler--hamburger-default navbar-toggler--rounded | ||
Hamburger Left | navbar-toggler__icon navbar-toggler--hamburger-left navbar-toggler__icon navbar-toggler--hamburger-left navbar-toggler--rounded | ||
Hamburger Middle | navbar-toggler__icon navbar-toggler--hamburger-middle navbar-toggler__icon navbar-toggler--hamburger-middle navbar-toggler--rounded | ||
Hamburger Right | navbar-toggler__icon navbar-toggler--hamburger-right navbar-toggler__icon navbar-toggler--hamburger-right navbar-toggler--rounded | ||
Hamburger Back | navbar-toggler__icon navbar-toggler--hamburger-back navbar-toggler__icon navbar-toggler--hamburger-back navbar-toggler--rounded | ||
Hamburger Collapse | navbar-toggler__icon navbar-toggler--hamburger-collapse navbar-toggler__icon navbar-toggler--hamburger-collapse navbar-toggler--rounded | ||
Döner | navbar-toggler__icon navbar-toggler--doner navbar-toggler__icon navbar-toggler--doner navbar-toggler--rounded | ||
Bento Fadeout | navbar-toggler__icon navbar-toggler--bento-fadeout navbar-toggler__icon navbar-toggler--bento-fadeout navbar-toggler--rounded | ||
Bento Turn | navbar-toggler__icon navbar-toggler--bento-turn navbar-toggler__icon navbar-toggler--bento-turn navbar-toggler--rounded | ||
Kebab | navbar-toggler__icon navbar-toggler--kebab navbar-toggler__icon navbar-toggler--kebab navbar-toggler--rounded | ||
Meatball | navbar-toggler__icon navbar-toggler--meatball navbar-toggler__icon navbar-toggler--meatball navbar-toggler--rounded | ||
Vergrößert | navbar-toggler__icon navbar-toggler--hamburger-default scale-4 navbar-toggler__icon navbar-toggler--hamburger-default navbar-toggler--rounded scale-4 |
Ratios
Referenz: Bootstrap 5.2 RatiosInputs
Badges
Single-choice
Badge .is-active BadgeMulti-choice
Icons
Google Material Icons
Alle Icons und Codes hier einzusehen: Material Icons
Icon | Einbindung über Class | Einbindung über Code |
---|---|---|
<span class="material-icons-rounded">close</span> | ::before { | |
<span class="material-icons-rounded">expand_more</span> | ::before { | |
<span class="material-icons-rounded">expand_less</span> | ::before { | |
<span class="material-icons-rounded">chevron_right</span> | ::before { | |
<span class="material-icons-rounded">chevron_left</span> | ::before { | |
<span class="material-icons-rounded">arrow_drop_down</span> | ::before { | |
<span class="material-icons-rounded">arrow_drop_up</span> | ::before { | |
<span class="material-icons-rounded">arrow_left</span> | ::before { | |
<span class="material-icons-rounded">arrow_right</span> | ::before { | |
<span class="material-icons-rounded">add</span> | ::before { | |
<span class="material-icons-rounded">home</span> | ::before { | |
<span class="material-icons-rounded">search</span> | ::before { | |
<span class="material-icons-rounded">key</span> | ::before { | |
<span class="material-icons-rounded">check</span> | ::before { | |
<span class="material-icons-rounded">check_circle</span> | ::before { | |
<span class="material-icons-rounded">info</span> | ::before { |
nova Material
<span class="nm nm-cancel"></span>
<span class="nm nm-copy"></span>
<span class="nm nm-delete_forever"></span>
<span class="nm nm-download"></span>
<span class="nm nm-drag"></span>
<span class="nm nm-edit"></span>
<span class="nm nm-facebook"></span>
<span class="nm nm-icon-arrow-link"></span>
<span class="nm nm-instagram"></span>
<span class="nm nm-linkedin"></span>
<span class="nm nm-login"></span>
<span class="nm nm-mail"></span>
<span class="nm nm-pinterest"></span>
<span class="nm nm-quote"></span>
<span class="nm nm-search"></span>
<span class="nm nm-tiktok"></span>
<span class="nm nm-twitter"></span>
<span class="nm nm-vector"></span>
<span class="nm nm-wand"></span>
<span class="nm nm-whatsapp"></span>
<span class="nm nm-wishlist"></span>
<span class="nm nm-xing"></span>
<span class="nm nm-youtube"></span>
Alerts
Alert ohne Schließen-Button
<div class="alert alert-success" role="alert">
Text text text
</div>
Alert mit Schließen-Button
<div class="alert alert-success alert-dismissible fade show" role="alert">
Text text text
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" tabindex="0"></button>
</div>
A simple success alert—check it out! - alert alert-success A simple success alert—check it out! - alert alert-success A simple success alert—check it out! - alert alert-success A simple info alert—check it out! - alert alert-info Alert mit Icon
<div class="alert alert-success d-flex align-items-center" role="alert">
<span class="material-icons-rounded me-2">check_circle</span>
Text text text
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" tabindex="0"></button>
</div>
Alert mit Weiten-Einstellung
<div class="alert alert-info alert-dismissible w-75" role="alert">
Text text text
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
Cards
Referenz: Bootstrap 5.2 CardsCard subtitle Card title
Some quick example text to build on the card title and make up the bulk of the card's content.
Progress bar
<div class="progress">
⠀ <div class="progress-bar rounded-end-2xl" role="progressbar" aria-label="label"
⠀ style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">25%</div>
</div>
<div class="progress">
⠀ <div class="progress-bar rounded-end-2xl" role="progressbar" aria-label="label"
⠀ style="width: 75%;" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100">75%</div>
</div>
Tooltips
<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Tooltip on top"> Tooltip on top</button>
<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="Tooltip on bottom"> Tooltip on bottom</button>
Popovers
<button type="button" class="btn btn-secondary" data-bs-toggle="popover" data-bs-title="Popover title" data-bs-content="And heres some amazing content. Its very engaging. Right?">Click to toggle popover</button>
Checks-Radios
<div class="form-check"> <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked> <label class="form-check-label" for="flexCheckChecked"> Checked checkbox </label> </div>
<div class="form-check"> <input class="form-check-input" type="radio" name="flexRadioDefault" id="flexRadioDefault2" checked> <label class="form-check-label" for="flexRadioDefault2"> Default checked radio </label> </div>
<div class="form-check form-switch"> <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckDefault"> <label class="form-check-label" for="flexSwitchCheckDefault">Default switch checkbox input</label> </div>
Slider
Swiper Controls
Swiper Pagination
Modal
Pagination
ALM Controls
- Option 1
- Option 2
- Option 3
- Option 1
- Option 2
- Option 3