badges.html 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972
  1. <!doctype html>
  2. <!--
  3. * Tabler - Premium and Open Source dashboard template with responsive and high quality UI.
  4. * @version 1.0.0-beta4
  5. * @link https://tabler.io
  6. * Copyright 2018-2021 The Tabler Authors
  7. * Copyright 2018-2021 codecalm.net Paweł Kuna
  8. * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
  9. -->
  10. <html lang="en">
  11. <head>
  12. <meta charset="utf-8"/>
  13. <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
  14. <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
  15. <title>Badges - Tabler - Premium and Open Source dashboard template with responsive and high quality UI.</title>
  16. <!-- CSS files -->
  17. <link href="../dist/css/tabler.min.css" rel="stylesheet"/>
  18. <link href="../dist/css/tabler-flags.min.css" rel="stylesheet"/>
  19. <link href="../dist/css/tabler-payments.min.css" rel="stylesheet"/>
  20. <link href="../dist/css/tabler-vendors.min.css" rel="stylesheet"/>
  21. <link href="../dist/css/demo.min.css" rel="stylesheet"/>
  22. </head>
  23. <body class="antialiased">
  24. <div class="wrapper">
  25. <header class="navbar navbar-expand-md navbar-light d-print-none">
  26. <div class="container-xl">
  27. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-menu">
  28. <span class="navbar-toggler-icon"></span>
  29. </button>
  30. <h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
  31. <a href="..">
  32. <img src="../static/logo.svg" width="110" height="32" alt="Tabler" class="navbar-brand-image">
  33. </a>
  34. </h1>
  35. <div class="navbar-nav flex-row order-md-last">
  36. <div class="nav-item d-none d-md-flex me-3">
  37. <div class="btn-list">
  38. <a href="https://github.com/tabler/tabler" class="btn btn-outline-white" target="_blank" rel="noreferrer">
  39. <!-- Download SVG icon from http://tabler-icons.io/i/brand-github -->
  40. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" /></svg>
  41. Source code
  42. </a>
  43. <a href="https://github.com/sponsors/codecalm" class="btn btn-outline-white" target="_blank" rel="noreferrer">
  44. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  45. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-pink" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
  46. Sponsor
  47. </a>
  48. </div>
  49. </div>
  50. <div class="nav-item dropdown d-none d-md-flex me-3">
  51. <a href="#" class="nav-link px-0" data-bs-toggle="dropdown" tabindex="-1" aria-label="Show notifications">
  52. <!-- Download SVG icon from http://tabler-icons.io/i/bell -->
  53. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6" /><path d="M9 17v1a3 3 0 0 0 6 0v-1" /></svg>
  54. <span class="badge bg-red"></span>
  55. </a>
  56. <div class="dropdown-menu dropdown-menu-end dropdown-menu-card">
  57. <div class="card">
  58. <div class="card-body">
  59. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus ad amet consectetur exercitationem fugiat in ipsa ipsum, natus odio quidem quod repudiandae sapiente. Amet debitis et magni maxime necessitatibus ullam.
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="nav-item dropdown">
  65. <a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown" aria-label="Open user menu">
  66. <span class="avatar avatar-sm" style="background-image: url(../static/avatars/000m.jpg)"></span>
  67. <div class="d-none d-xl-block ps-2">
  68. <div>Paweł Kuna</div>
  69. <div class="mt-1 small text-muted">UI Designer</div>
  70. </div>
  71. </a>
  72. <div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
  73. <a href="#" class="dropdown-item">Set status</a>
  74. <a href="#" class="dropdown-item">Profile & account</a>
  75. <a href="#" class="dropdown-item">Feedback</a>
  76. <div class="dropdown-divider"></div>
  77. <a href="#" class="dropdown-item">Settings</a>
  78. <a href="#" class="dropdown-item">Logout</a>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </header>
  84. <div class="navbar-expand-md">
  85. <div class="collapse navbar-collapse" id="navbar-menu">
  86. <div class="navbar navbar-light">
  87. <div class="container-xl">
  88. <ul class="navbar-nav">
  89. <li class="nav-item">
  90. <a class="nav-link" href="../index.html" >
  91. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
  92. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="5 12 3 12 12 3 21 12 19 12" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" /></svg>
  93. </span>
  94. <span class="nav-link-title">
  95. Home
  96. </span>
  97. </a>
  98. </li>
  99. <li class="nav-item dropdown">
  100. <a class="nav-link dropdown-toggle" href="#navbar-base" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  101. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/package -->
  102. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="12 3 20 7.5 20 16.5 12 21 4 16.5 4 7.5 12 3" /><line x1="12" y1="12" x2="20" y2="7.5" /><line x1="12" y1="12" x2="12" y2="21" /><line x1="12" y1="12" x2="4" y2="7.5" /><line x1="16" y1="5.25" x2="8" y2="9.75" /></svg>
  103. </span>
  104. <span class="nav-link-title">
  105. Interface
  106. </span>
  107. </a>
  108. <div class="dropdown-menu">
  109. <div class="dropdown-menu-columns">
  110. <div class="dropdown-menu-column">
  111. <a class="dropdown-item" href="../empty.html" >
  112. Empty page
  113. </a>
  114. <a class="dropdown-item" href="../accordion.html" >
  115. Accordion
  116. </a>
  117. <a class="dropdown-item" href="../blank.html" >
  118. Blank page
  119. </a>
  120. <a class="dropdown-item" href="../buttons.html" >
  121. Buttons
  122. </a>
  123. <a class="dropdown-item" href="../cards.html" >
  124. Cards
  125. </a>
  126. <a class="dropdown-item" href="../cards-masonry.html" >
  127. Cards Masonry
  128. </a>
  129. <a class="dropdown-item" href="../colors.html" >
  130. Colors
  131. </a>
  132. <a class="dropdown-item" href="../dropdowns.html" >
  133. Dropdowns
  134. </a>
  135. <a class="dropdown-item" href="../icons.html" >
  136. Icons
  137. </a>
  138. <a class="dropdown-item" href="../modals.html" >
  139. Modals
  140. </a>
  141. <a class="dropdown-item" href="../maps.html" >
  142. Maps
  143. </a>
  144. <a class="dropdown-item" href="../map-fullsize.html" >
  145. Map fullsize
  146. </a>
  147. <a class="dropdown-item" href="../maps-vector.html" >
  148. Vector maps
  149. </a>
  150. </div>
  151. <div class="dropdown-menu-column">
  152. <a class="dropdown-item" href="../navigation.html" >
  153. Navigation
  154. </a>
  155. <a class="dropdown-item" href="../charts.html" >
  156. Charts
  157. </a>
  158. <a class="dropdown-item" href="../pagination.html" >
  159. Pagination
  160. </a>
  161. <a class="dropdown-item" href="../skeleton.html" >
  162. Skeleton
  163. </a>
  164. <a class="dropdown-item" href="../tabs.html" >
  165. Tabs
  166. </a>
  167. <a class="dropdown-item" href="../tables.html" >
  168. Tables
  169. </a>
  170. <a class="dropdown-item" href="../carousel.html" >
  171. Carousel
  172. </a>
  173. <a class="dropdown-item" href="../lists.html" >
  174. Lists
  175. </a>
  176. <a class="dropdown-item" href="../typography.html" >
  177. Typography
  178. </a>
  179. <a class="dropdown-item" href="../offcanvas.html" >
  180. Offcanvas
  181. </a>
  182. <a class="dropdown-item" href="../markdown.html" >
  183. Markdown
  184. </a>
  185. <div class="dropend">
  186. <a class="dropdown-item dropdown-toggle" href="#sidebar-authentication" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  187. Authentication
  188. </a>
  189. <div class="dropdown-menu">
  190. <a href="../sign-in.html" class="dropdown-item">Sign in</a>
  191. <a href="../sign-up.html" class="dropdown-item">Sign up</a>
  192. <a href="../forgot-password.html" class="dropdown-item">Forgot password</a>
  193. <a href="../terms-of-service.html" class="dropdown-item">Terms of service</a>
  194. <a href="../auth-lock.html" class="dropdown-item">Lock screen</a>
  195. </div>
  196. </div>
  197. <div class="dropend">
  198. <a class="dropdown-item dropdown-toggle" href="#sidebar-error" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  199. Error pages
  200. </a>
  201. <div class="dropdown-menu">
  202. <a href="../error-404.html" class="dropdown-item">404 page</a>
  203. <a href="../error-500.html" class="dropdown-item">500 page</a>
  204. <a href="../error-maintenance.html" class="dropdown-item">Maintenance page</a>
  205. </div>
  206. </div>
  207. </div>
  208. </div>
  209. </div>
  210. </li>
  211. <li class="nav-item">
  212. <a class="nav-link" href="../form-elements.html" >
  213. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/checkbox -->
  214. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="9 11 12 14 20 6" /><path d="M20 12v6a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h9" /></svg>
  215. </span>
  216. <span class="nav-link-title">
  217. Form elements
  218. </span>
  219. </a>
  220. </li>
  221. <li class="nav-item dropdown">
  222. <a class="nav-link dropdown-toggle" href="#navbar-extra" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  223. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/star -->
  224. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
  225. </span>
  226. <span class="nav-link-title">
  227. Extra
  228. </span>
  229. </a>
  230. <div class="dropdown-menu">
  231. <a class="dropdown-item" href="../activity.html" >
  232. Activity
  233. </a>
  234. <a class="dropdown-item" href="../gallery.html" >
  235. Gallery
  236. </a>
  237. <a class="dropdown-item" href="../invoice.html" >
  238. Invoice
  239. </a>
  240. <a class="dropdown-item" href="../search-results.html" >
  241. Search results
  242. </a>
  243. <a class="dropdown-item" href="../pricing.html" >
  244. Pricing cards
  245. </a>
  246. <a class="dropdown-item" href="../users.html" >
  247. Users
  248. </a>
  249. <a class="dropdown-item" href="../license.html" >
  250. License
  251. </a>
  252. <a class="dropdown-item" href="../music.html" >
  253. Music
  254. </a>
  255. <a class="dropdown-item" href="../widgets.html" >
  256. Widgets
  257. </a>
  258. <a class="dropdown-item" href="../wizard.html" >
  259. Wizard
  260. </a>
  261. </div>
  262. </li>
  263. <li class="nav-item dropdown">
  264. <a class="nav-link dropdown-toggle" href="#navbar-layout" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  265. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/layout-2 -->
  266. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><rect x="4" y="4" width="6" height="5" rx="2" /><rect x="4" y="13" width="6" height="7" rx="2" /><rect x="14" y="4" width="6" height="7" rx="2" /><rect x="14" y="15" width="6" height="5" rx="2" /></svg>
  267. </span>
  268. <span class="nav-link-title">
  269. Layout
  270. </span>
  271. </a>
  272. <div class="dropdown-menu">
  273. <div class="dropdown-menu-columns">
  274. <div class="dropdown-menu-column">
  275. <a class="dropdown-item" href="../layout-horizontal.html" >
  276. Horizontal
  277. </a>
  278. <a class="dropdown-item" href="../layout-vertical.html" >
  279. Vertical
  280. </a>
  281. <a class="dropdown-item" href="../layout-vertical-transparent.html" >
  282. Vertical transparent
  283. </a>
  284. <a class="dropdown-item" href="../layout-vertical-right.html" >
  285. Right vertical
  286. </a>
  287. <a class="dropdown-item" href="../layout-condensed.html" >
  288. Condensed
  289. </a>
  290. <a class="dropdown-item" href="../layout-condensed-dark.html" >
  291. Condensed dark
  292. </a>
  293. <a class="dropdown-item" href="../layout-combo.html" >
  294. Combined
  295. </a>
  296. </div>
  297. <div class="dropdown-menu-column">
  298. <a class="dropdown-item" href="../layout-navbar-dark.html" >
  299. Navbar dark
  300. </a>
  301. <a class="dropdown-item" href="../layout-navbar-sticky.html" >
  302. Navbar sticky
  303. </a>
  304. <a class="dropdown-item" href="../layout-navbar-overlap.html" >
  305. Navbar overlap
  306. </a>
  307. <a class="dropdown-item" href="../layout-dark.html" >
  308. Dark mode
  309. </a>
  310. <a class="dropdown-item" href="../layout-rtl.html" >
  311. RTL mode
  312. </a>
  313. <a class="dropdown-item" href="../layout-fluid.html" >
  314. Fluid
  315. </a>
  316. <a class="dropdown-item" href="../layout-fluid-vertical.html" >
  317. Fluid vertical
  318. </a>
  319. </div>
  320. </div>
  321. </div>
  322. </li>
  323. <li class="nav-item active">
  324. <a class="nav-link" href="../docs/index.html" >
  325. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/file-text -->
  326. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /><line x1="9" y1="9" x2="10" y2="9" /><line x1="9" y1="13" x2="15" y2="13" /><line x1="9" y1="17" x2="15" y2="17" /></svg>
  327. </span>
  328. <span class="nav-link-title">
  329. Documentation
  330. </span>
  331. </a>
  332. </li>
  333. </ul>
  334. <div class="my-2 my-md-0 flex-grow-1 flex-md-grow-0 order-first order-md-last">
  335. <form action="." method="get">
  336. <div class="input-icon">
  337. <span class="input-icon-addon">
  338. <!-- Download SVG icon from http://tabler-icons.io/i/search -->
  339. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><circle cx="10" cy="10" r="7" /><line x1="21" y1="21" x2="15" y2="15" /></svg>
  340. </span>
  341. <input type="text" class="form-control" placeholder="Search…" aria-label="Search in website">
  342. </div>
  343. </form>
  344. </div>
  345. </div>
  346. </div>
  347. </div>
  348. </div>
  349. <div class="page-wrapper">
  350. <div class="container-xl">
  351. <!-- Page title -->
  352. <div class="page-header d-print-none">
  353. <div class="row align-items-center">
  354. <div class="col">
  355. <h2 class="page-title">
  356. Documentation
  357. </h2>
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. <div class="page-body">
  363. <div class="container-xl">
  364. <div class="row gx-lg-4">
  365. <div class="d-none d-lg-block col-lg-3">
  366. <ul class="nav nav-pills nav-vertical">
  367. <li class="nav-item">
  368. <a href="../docs/" class="nav-link">
  369. Introduction
  370. </a>
  371. </li>
  372. <li class="nav-item">
  373. <a href="#menu-base" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  374. Getting started
  375. <span class="nav-link-toggle"></span>
  376. </a>
  377. <ul class="nav nav-pills collapse" id="menu-base">
  378. <li class="nav-item">
  379. <a href="../docs/getting-started.html" class="nav-link">
  380. Getting Started
  381. </a>
  382. </li>
  383. <li class="nav-item">
  384. <a href="../docs/download.html" class="nav-link">
  385. Download
  386. </a>
  387. </li>
  388. <li class="nav-item">
  389. <a href="../docs/browser-support.html" class="nav-link">
  390. Browser Support
  391. </a>
  392. </li>
  393. </ul>
  394. </li>
  395. <li class="nav-item">
  396. <a href="#menu-content" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  397. Content
  398. <span class="nav-link-toggle"></span>
  399. </a>
  400. <ul class="nav nav-pills collapse" id="menu-content">
  401. <li class="nav-item">
  402. <a href="../docs/colors.html" class="nav-link">
  403. Colors
  404. </a>
  405. </li>
  406. <li class="nav-item">
  407. <a href="../docs/typography.html" class="nav-link">
  408. Typography
  409. </a>
  410. </li>
  411. <li class="nav-item">
  412. <a href="../docs/icons.html" class="nav-link">
  413. Icons
  414. </a>
  415. </li>
  416. </ul>
  417. </li>
  418. <li class="nav-item">
  419. <a href="#menu-layout" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  420. Layout
  421. <span class="nav-link-toggle"></span>
  422. </a>
  423. <ul class="nav nav-pills collapse" id="menu-layout">
  424. <li class="nav-item">
  425. <a href="../docs/page-headers.html" class="nav-link">
  426. Page headers
  427. </a>
  428. </li>
  429. </ul>
  430. </li>
  431. <li class="nav-item">
  432. <a href="#menu-forms" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  433. Form components
  434. <span class="nav-link-toggle"></span>
  435. </a>
  436. <ul class="nav nav-pills collapse" id="menu-forms">
  437. <li class="nav-item">
  438. <a href="../docs/form-elements.html" class="nav-link">
  439. Form elements
  440. </a>
  441. </li>
  442. <li class="nav-item">
  443. <a href="../docs/form-helpers.html" class="nav-link">
  444. Form helpers
  445. </a>
  446. </li>
  447. <li class="nav-item">
  448. <a href="../docs/form-validation.html" class="nav-link">
  449. Validation states
  450. </a>
  451. </li>
  452. <li class="nav-item">
  453. <a href="../docs/form-image-check.html" class="nav-link">
  454. Image check
  455. </a>
  456. </li>
  457. <li class="nav-item">
  458. <a href="../docs/form-color-check.html" class="nav-link">
  459. Color check
  460. </a>
  461. </li>
  462. <li class="nav-item">
  463. <a href="../docs/form-selectboxes.html" class="nav-link">
  464. Form selectboxes
  465. </a>
  466. </li>
  467. <li class="nav-item">
  468. <a href="../docs/form-fieldset.html" class="nav-link">
  469. Form fieldset
  470. </a>
  471. </li>
  472. </ul>
  473. </li>
  474. <li class="nav-item">
  475. <a href="#menu-components" class="nav-link" data-bs-toggle="collapse" aria-expanded="true">
  476. Components
  477. <span class="nav-link-toggle"></span>
  478. </a>
  479. <ul class="nav nav-pills collapse show" id="menu-components">
  480. <li class="nav-item">
  481. <a href="../docs/alerts.html" class="nav-link">
  482. Alerts
  483. </a>
  484. </li>
  485. <li class="nav-item">
  486. <a href="../docs/avatars.html" class="nav-link">
  487. Avatars
  488. </a>
  489. </li>
  490. <li class="nav-item">
  491. <a href="../docs/badges.html" class="nav-link active">
  492. Badges
  493. </a>
  494. </li>
  495. <li class="nav-item">
  496. <a href="../docs/breadcrumb.html" class="nav-link">
  497. Breadcrumb
  498. </a>
  499. </li>
  500. <li class="nav-item">
  501. <a href="../docs/buttons.html" class="nav-link">
  502. Buttons
  503. </a>
  504. </li>
  505. <li class="nav-item">
  506. <a href="../docs/cards.html" class="nav-link">
  507. Cards
  508. </a>
  509. </li>
  510. <li class="nav-item">
  511. <a href="../docs/carousel.html" class="nav-link">
  512. Carousel
  513. </a>
  514. </li>
  515. <li class="nav-item">
  516. <a href="../docs/dropdowns.html" class="nav-link">
  517. Dropdowns
  518. </a>
  519. </li>
  520. <li class="nav-item">
  521. <a href="../docs/divider.html" class="nav-link">
  522. Divider
  523. </a>
  524. </li>
  525. <li class="nav-item">
  526. <a href="../docs/empty.html" class="nav-link">
  527. Empty states
  528. </a>
  529. </li>
  530. <li class="nav-item">
  531. <a href="../docs/modals.html" class="nav-link">
  532. Modals
  533. </a>
  534. </li>
  535. <li class="nav-item">
  536. <a href="../docs/page-headers.html" class="nav-link">
  537. Page headers
  538. </a>
  539. </li>
  540. <li class="nav-item">
  541. <a href="../docs/progress.html" class="nav-link">
  542. Progress
  543. </a>
  544. </li>
  545. <li class="nav-item">
  546. <a href="../docs/range-slider.html" class="nav-link">
  547. Range slider
  548. </a>
  549. </li>
  550. <li class="nav-item">
  551. <a href="../docs/ribbons.html" class="nav-link">
  552. Ribbons
  553. </a>
  554. </li>
  555. <li class="nav-item">
  556. <a href="../docs/skeleton.html" class="nav-link">
  557. Skeleton
  558. </a>
  559. </li>
  560. <li class="nav-item">
  561. <a href="../docs/spinners.html" class="nav-link">
  562. Spinners
  563. </a>
  564. </li>
  565. <li class="nav-item">
  566. <a href="../docs/steps.html" class="nav-link">
  567. Steps
  568. </a>
  569. </li>
  570. <li class="nav-item">
  571. <a href="../docs/switch-icon.html" class="nav-link">
  572. Switch icon
  573. </a>
  574. </li>
  575. <li class="nav-item">
  576. <a href="../docs/tables.html" class="nav-link">
  577. Tables
  578. </a>
  579. </li>
  580. <li class="nav-item">
  581. <a href="../docs/tabs.html" class="nav-link">
  582. Tabs
  583. </a>
  584. </li>
  585. <li class="nav-item">
  586. <a href="../docs/timelines.html" class="nav-link">
  587. Timelines
  588. </a>
  589. </li>
  590. <li class="nav-item">
  591. <a href="../docs/toasts.html" class="nav-link">
  592. Toasts
  593. </a>
  594. </li>
  595. <li class="nav-item">
  596. <a href="../docs/tooltips.html" class="nav-link">
  597. Tooltips
  598. </a>
  599. </li>
  600. </ul>
  601. </li>
  602. <li class="nav-item">
  603. <a href="#menu-utils" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  604. Utilities
  605. <span class="nav-link-toggle"></span>
  606. </a>
  607. <ul class="nav nav-pills collapse" id="menu-utils">
  608. <li class="nav-item">
  609. <a href="../docs/borders.html" class="nav-link">
  610. Borders
  611. </a>
  612. </li>
  613. <li class="nav-item">
  614. <a href="../docs/cursors.html" class="nav-link">
  615. Cursors
  616. </a>
  617. </li>
  618. <li class="nav-item">
  619. <a href="../docs/interactions.html" class="nav-link">
  620. Interactions
  621. </a>
  622. </li>
  623. </ul>
  624. </li>
  625. <li class="nav-item">
  626. <a href="#menu-plugins" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  627. Plugins
  628. <span class="nav-link-toggle"></span>
  629. </a>
  630. <ul class="nav nav-pills collapse" id="menu-plugins">
  631. <li class="nav-item">
  632. <a href="../docs/autosize.html" class="nav-link">
  633. Autosize
  634. </a>
  635. </li>
  636. <li class="nav-item">
  637. <a href="../docs/input-mask.html" class="nav-link">
  638. Form input mask
  639. </a>
  640. </li>
  641. <li class="nav-item">
  642. <a href="../docs/flags.html" class="nav-link">
  643. Flags
  644. </a>
  645. </li>
  646. <li class="nav-item">
  647. <a href="../docs/payments.html" class="nav-link">
  648. Payments
  649. </a>
  650. </li>
  651. <li class="nav-item">
  652. <a href="../docs/charts.html" class="nav-link">
  653. Charts
  654. </a>
  655. </li>
  656. </ul>
  657. </li>
  658. <li class="nav-item">
  659. <a href="../changelog.html" class="nav-link">
  660. Changelog
  661. <span class="badge bg-blue-lt ms-auto">1.0.0-beta4</span>
  662. </a>
  663. </li>
  664. </ul>
  665. </div>
  666. <div class="col-lg-9">
  667. <div class="card card-lg">
  668. <div class="card-body">
  669. <div class="markdown">
  670. <div>
  671. <div class="d-flex mb-3">
  672. <h1 class="m-0">Badges</h1>
  673. <p class="ms-auto">
  674. <a href="https://getbootstrap.com/docs/5.0/components/badge/" target="_blank" class="d-flex align-items-center">
  675. <!-- Download SVG icon from http://tabler-icons.io/i/external-link -->
  676. <svg xmlns="http://www.w3.org/2000/svg" class="icon pe-1 text-blue" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M11 7h-5a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-5" /><line x1="10" y1="14" x2="20" y2="4" /><polyline points="15 4 20 4 20 9" /></svg>
  677. Bootstrap documentation
  678. </a>
  679. </p>
  680. </div>
  681. <p>Badges are small count and labeling components, which are used to add extra information to an interface element. You can use them to draw users' attention to a new element, notify about unread messages or provide any kind of additional info.</p>
  682. </div>
  683. <h2 id="default-markup">Default markup</h2>
  684. <p>The default badges are square and come in the basic set of colors.</p>
  685. <div class="example no_toc_section example-centered">
  686. <div class="example-content">
  687. <span class="badge bg-blue">blue</span>
  688. <span class="badge bg-azure">azure</span>
  689. <span class="badge bg-indigo">indigo</span>
  690. <span class="badge bg-purple">purple</span>
  691. <span class="badge bg-pink">pink</span>
  692. <span class="badge bg-red">red</span>
  693. <span class="badge bg-orange">orange</span>
  694. <span class="badge bg-yellow">yellow</span>
  695. <span class="badge bg-lime">lime</span>
  696. <span class="badge bg-green">green</span>
  697. <span class="badge bg-teal">teal</span>
  698. <span class="badge bg-cyan">cyan</span>
  699. </div>
  700. </div>
  701. <div class="example-code">
  702. <figure class="highlight">
  703. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-blue"</span><span class="nt">&gt;</span>blue<span class="nt">&lt;/span&gt;</span>
  704. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-azure"</span><span class="nt">&gt;</span>azure<span class="nt">&lt;/span&gt;</span>
  705. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-indigo"</span><span class="nt">&gt;</span>indigo<span class="nt">&lt;/span&gt;</span>
  706. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-purple"</span><span class="nt">&gt;</span>purple<span class="nt">&lt;/span&gt;</span>
  707. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-pink"</span><span class="nt">&gt;</span>pink<span class="nt">&lt;/span&gt;</span>
  708. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-red"</span><span class="nt">&gt;</span>red<span class="nt">&lt;/span&gt;</span>
  709. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-orange"</span><span class="nt">&gt;</span>orange<span class="nt">&lt;/span&gt;</span>
  710. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-yellow"</span><span class="nt">&gt;</span>yellow<span class="nt">&lt;/span&gt;</span>
  711. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-lime"</span><span class="nt">&gt;</span>lime<span class="nt">&lt;/span&gt;</span>
  712. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-green"</span><span class="nt">&gt;</span>green<span class="nt">&lt;/span&gt;</span>
  713. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-teal"</span><span class="nt">&gt;</span>teal<span class="nt">&lt;/span&gt;</span>
  714. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-cyan"</span><span class="nt">&gt;</span>cyan<span class="nt">&lt;/span&gt;</span></code></pre>
  715. </figure>
  716. </div>
  717. <h2 id="pill-badges">Pill badges</h2>
  718. <p>Use the <code class="language-plaintext highlighter-rouge">.badge-pill</code> class if you want to create a badge with rounded corners. Its width will adjust to the label text.</p>
  719. <div class="example no_toc_section example-centered">
  720. <div class="example-content">
  721. <span class="badge badge-pill bg-blue">1</span>
  722. <span class="badge badge-pill bg-azure">2</span>
  723. <span class="badge badge-pill bg-indigo">3</span>
  724. <span class="badge badge-pill bg-purple">4</span>
  725. <span class="badge badge-pill bg-pink">5</span>
  726. <span class="badge badge-pill bg-red">6</span>
  727. <span class="badge badge-pill bg-orange">7</span>
  728. <span class="badge badge-pill bg-yellow">8</span>
  729. <span class="badge badge-pill bg-lime">9</span>
  730. <span class="badge badge-pill bg-green">10</span>
  731. <span class="badge badge-pill bg-teal">11</span>
  732. <span class="badge badge-pill bg-cyan">12</span>
  733. </div>
  734. </div>
  735. <div class="example-code">
  736. <figure class="highlight">
  737. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-blue"</span><span class="nt">&gt;</span>1<span class="nt">&lt;/span&gt;</span>
  738. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-azure"</span><span class="nt">&gt;</span>2<span class="nt">&lt;/span&gt;</span>
  739. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-indigo"</span><span class="nt">&gt;</span>3<span class="nt">&lt;/span&gt;</span>
  740. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-purple"</span><span class="nt">&gt;</span>4<span class="nt">&lt;/span&gt;</span>
  741. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-pink"</span><span class="nt">&gt;</span>5<span class="nt">&lt;/span&gt;</span>
  742. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-red"</span><span class="nt">&gt;</span>6<span class="nt">&lt;/span&gt;</span>
  743. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-orange"</span><span class="nt">&gt;</span>7<span class="nt">&lt;/span&gt;</span>
  744. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-yellow"</span><span class="nt">&gt;</span>8<span class="nt">&lt;/span&gt;</span>
  745. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-lime"</span><span class="nt">&gt;</span>9<span class="nt">&lt;/span&gt;</span>
  746. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-green"</span><span class="nt">&gt;</span>10<span class="nt">&lt;/span&gt;</span>
  747. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-teal"</span><span class="nt">&gt;</span>11<span class="nt">&lt;/span&gt;</span>
  748. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge badge-pill bg-cyan"</span><span class="nt">&gt;</span>12<span class="nt">&lt;/span&gt;</span></code></pre>
  749. </figure>
  750. </div>
  751. <h2 id="soft-color-badges">Soft color badges</h2>
  752. <p>You can create a soft colour variant of a corresponding contextual badge variation, to make it look more subtle. Click <a href="./colors.html">here</a> to see the list of available colors and choose ones that best suit your design.</p>
  753. <div class="example no_toc_section example-centered">
  754. <div class="example-content">
  755. <span class="badge bg-blue-lt">blue</span>
  756. <span class="badge bg-azure-lt">azure</span>
  757. <span class="badge bg-indigo-lt">indigo</span>
  758. <span class="badge bg-purple-lt">purple</span>
  759. <span class="badge bg-pink-lt">pink</span>
  760. <span class="badge bg-red-lt">red</span>
  761. <span class="badge bg-orange-lt">orange</span>
  762. <span class="badge bg-yellow-lt">yellow</span>
  763. <span class="badge bg-lime-lt">lime</span>
  764. <span class="badge bg-green-lt">green</span>
  765. <span class="badge bg-teal-lt">teal</span>
  766. <span class="badge bg-cyan-lt">cyan</span>
  767. </div>
  768. </div>
  769. <div class="example-code">
  770. <figure class="highlight">
  771. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-blue-lt"</span><span class="nt">&gt;</span>blue<span class="nt">&lt;/span&gt;</span>
  772. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-azure-lt"</span><span class="nt">&gt;</span>azure<span class="nt">&lt;/span&gt;</span>
  773. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-indigo-lt"</span><span class="nt">&gt;</span>indigo<span class="nt">&lt;/span&gt;</span>
  774. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-purple-lt"</span><span class="nt">&gt;</span>purple<span class="nt">&lt;/span&gt;</span>
  775. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-pink-lt"</span><span class="nt">&gt;</span>pink<span class="nt">&lt;/span&gt;</span>
  776. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-red-lt"</span><span class="nt">&gt;</span>red<span class="nt">&lt;/span&gt;</span>
  777. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-orange-lt"</span><span class="nt">&gt;</span>orange<span class="nt">&lt;/span&gt;</span>
  778. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-yellow-lt"</span><span class="nt">&gt;</span>yellow<span class="nt">&lt;/span&gt;</span>
  779. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-lime-lt"</span><span class="nt">&gt;</span>lime<span class="nt">&lt;/span&gt;</span>
  780. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-green-lt"</span><span class="nt">&gt;</span>green<span class="nt">&lt;/span&gt;</span>
  781. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-teal-lt"</span><span class="nt">&gt;</span>teal<span class="nt">&lt;/span&gt;</span>
  782. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-cyan-lt"</span><span class="nt">&gt;</span>cyan<span class="nt">&lt;/span&gt;</span></code></pre>
  783. </figure>
  784. </div>
  785. <h2 id="links">Links</h2>
  786. <p>Place the badge within an <code class="language-plaintext highlighter-rouge">&lt;a&gt;</code> element if you want it to perform the function of a link and make it clickable.</p>
  787. <div class="example no_toc_section example-centered">
  788. <div class="example-content">
  789. <a href="javascript:void(0)" class="badge bg-blue">blue</a>
  790. <a href="javascript:void(0)" class="badge bg-azure">azure</a>
  791. <a href="javascript:void(0)" class="badge bg-indigo">indigo</a>
  792. <a href="javascript:void(0)" class="badge bg-purple">purple</a>
  793. <a href="javascript:void(0)" class="badge bg-pink">pink</a>
  794. <a href="javascript:void(0)" class="badge bg-red">red</a>
  795. <a href="javascript:void(0)" class="badge bg-orange">orange</a>
  796. <a href="javascript:void(0)" class="badge bg-yellow">yellow</a>
  797. <a href="javascript:void(0)" class="badge bg-lime">lime</a>
  798. <a href="javascript:void(0)" class="badge bg-green">green</a>
  799. <a href="javascript:void(0)" class="badge bg-teal">teal</a>
  800. <a href="javascript:void(0)" class="badge bg-cyan">cyan</a>
  801. </div>
  802. </div>
  803. <div class="example-code">
  804. <figure class="highlight">
  805. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-blue"</span><span class="nt">&gt;</span>blue<span class="nt">&lt;/a&gt;</span>
  806. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-azure"</span><span class="nt">&gt;</span>azure<span class="nt">&lt;/a&gt;</span>
  807. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-indigo"</span><span class="nt">&gt;</span>indigo<span class="nt">&lt;/a&gt;</span>
  808. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-purple"</span><span class="nt">&gt;</span>purple<span class="nt">&lt;/a&gt;</span>
  809. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-pink"</span><span class="nt">&gt;</span>pink<span class="nt">&lt;/a&gt;</span>
  810. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-red"</span><span class="nt">&gt;</span>red<span class="nt">&lt;/a&gt;</span>
  811. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-orange"</span><span class="nt">&gt;</span>orange<span class="nt">&lt;/a&gt;</span>
  812. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-yellow"</span><span class="nt">&gt;</span>yellow<span class="nt">&lt;/a&gt;</span>
  813. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-lime"</span><span class="nt">&gt;</span>lime<span class="nt">&lt;/a&gt;</span>
  814. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-green"</span><span class="nt">&gt;</span>green<span class="nt">&lt;/a&gt;</span>
  815. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-teal"</span><span class="nt">&gt;</span>teal<span class="nt">&lt;/a&gt;</span>
  816. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-cyan"</span><span class="nt">&gt;</span>cyan<span class="nt">&lt;/a&gt;</span></code></pre>
  817. </figure>
  818. </div>
  819. <h2 id="empty-badges">Empty badges</h2>
  820. <p>Leave the HTML element empty if you want to create badges without any text. Empty badges are particularly useful if you want to make an interface element more noticeable regardless of limited space.</p>
  821. <div class="example no_toc_section example-centered">
  822. <div class="example-content">
  823. <a href="javascript:void(0)" class="badge bg-blue"></a>
  824. <a href="javascript:void(0)" class="badge bg-azure"></a>
  825. <a href="javascript:void(0)" class="badge bg-indigo"></a>
  826. <a href="javascript:void(0)" class="badge bg-purple"></a>
  827. <a href="javascript:void(0)" class="badge bg-pink"></a>
  828. <a href="javascript:void(0)" class="badge bg-red"></a>
  829. <a href="javascript:void(0)" class="badge bg-orange"></a>
  830. <a href="javascript:void(0)" class="badge bg-yellow"></a>
  831. <a href="javascript:void(0)" class="badge bg-lime"></a>
  832. <a href="javascript:void(0)" class="badge bg-green"></a>
  833. <a href="javascript:void(0)" class="badge bg-teal"></a>
  834. <a href="javascript:void(0)" class="badge bg-cyan"></a>
  835. </div>
  836. </div>
  837. <div class="example-code">
  838. <figure class="highlight">
  839. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-blue"</span><span class="nt">&gt;&lt;/a&gt;</span>
  840. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-azure"</span><span class="nt">&gt;&lt;/a&gt;</span>
  841. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-indigo"</span><span class="nt">&gt;&lt;/a&gt;</span>
  842. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-purple"</span><span class="nt">&gt;&lt;/a&gt;</span>
  843. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-pink"</span><span class="nt">&gt;&lt;/a&gt;</span>
  844. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-red"</span><span class="nt">&gt;&lt;/a&gt;</span>
  845. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-orange"</span><span class="nt">&gt;&lt;/a&gt;</span>
  846. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-yellow"</span><span class="nt">&gt;&lt;/a&gt;</span>
  847. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-lime"</span><span class="nt">&gt;&lt;/a&gt;</span>
  848. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-green"</span><span class="nt">&gt;&lt;/a&gt;</span>
  849. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-teal"</span><span class="nt">&gt;&lt;/a&gt;</span>
  850. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"badge bg-cyan"</span><span class="nt">&gt;&lt;/a&gt;</span></code></pre>
  851. </figure>
  852. </div>
  853. <h2 id="badge-avatars">Badge avatars</h2>
  854. <p>Create the <code class="language-plaintext highlighter-rouge">.badge-avatar</code> class to add an avatar that will make a badge more personalized.</p>
  855. <div class="example no_toc_section">
  856. <div class="example-content">
  857. <span class="badge">
  858. <span class="avatar" style="background-image: url(../static/avatars/000m.jpg)"></span>
  859. Paweł Kuna
  860. </span>
  861. <span class="badge">
  862. <span class="avatar" style="background-image: url(../)">JL</span>
  863. Jeffie Lewzey
  864. </span>
  865. <span class="badge">
  866. <span class="avatar" style="background-image: url(../static/avatars/002m.jpg)"></span>
  867. Mallory Hulme
  868. </span>
  869. <span class="badge">
  870. <span class="avatar" style="background-image: url(../static/avatars/003m.jpg)"></span>
  871. Dunn Slane
  872. </span>
  873. <span class="badge">
  874. <span class="avatar" style="background-image: url(../static/avatars/000f.jpg)"></span>
  875. Emmy Levet
  876. </span>
  877. </div>
  878. </div>
  879. <div class="example-code">
  880. <figure class="highlight">
  881. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge"</span><span class="nt">&gt;</span>
  882. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"avatar"</span> <span class="na">style=</span><span class="s">"background-image: url(...)"</span><span class="nt">&gt;&lt;/span&gt;</span>
  883. Paweł Kuna
  884. <span class="nt">&lt;/span&gt;</span>
  885. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge"</span><span class="nt">&gt;</span>
  886. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"avatar"</span> <span class="na">style=</span><span class="s">"background-image: url(...)"</span><span class="nt">&gt;</span>JL<span class="nt">&lt;/span&gt;</span>
  887. Jeffie Lewzey
  888. <span class="nt">&lt;/span&gt;</span>
  889. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge"</span><span class="nt">&gt;</span>
  890. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"avatar"</span> <span class="na">style=</span><span class="s">"background-image: url(...)"</span><span class="nt">&gt;&lt;/span&gt;</span>
  891. Mallory Hulme
  892. <span class="nt">&lt;/span&gt;</span>
  893. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge"</span><span class="nt">&gt;</span>
  894. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"avatar"</span> <span class="na">style=</span><span class="s">"background-image: url(...)"</span><span class="nt">&gt;&lt;/span&gt;</span>
  895. Dunn Slane
  896. <span class="nt">&lt;/span&gt;</span>
  897. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge"</span><span class="nt">&gt;</span>
  898. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"avatar"</span> <span class="na">style=</span><span class="s">"background-image: url(...)"</span><span class="nt">&gt;&lt;/span&gt;</span>
  899. Emmy Levet
  900. <span class="nt">&lt;/span&gt;</span></code></pre>
  901. </figure>
  902. </div>
  903. <h2 id="button-with-badge">Button with badge</h2>
  904. <p>Badges can be used as part of links or buttons to provide a counter.</p>
  905. <div class="example no_toc_section">
  906. <div class="example-content">
  907. <div class="btn-list">
  908. <button type="button" class="btn">
  909. Notifications <span class="badge bg-red ms-2">4</span>
  910. </button>
  911. <button type="button" class="btn">
  912. Notifications <span class="badge bg-green ms-2">4</span>
  913. </button>
  914. </div>
  915. </div>
  916. </div>
  917. <div class="example-code">
  918. <figure class="highlight">
  919. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;button</span> <span class="na">type=</span><span class="s">"button"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>
  920. Notifications <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-red ms-2"</span><span class="nt">&gt;</span>4<span class="nt">&lt;/span&gt;</span>
  921. <span class="nt">&lt;/button&gt;</span>
  922. <span class="nt">&lt;button</span> <span class="na">type=</span><span class="s">"button"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>
  923. Notifications <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-green ms-2"</span><span class="nt">&gt;</span>4<span class="nt">&lt;/span&gt;</span>
  924. <span class="nt">&lt;/button&gt;</span></code></pre>
  925. </figure>
  926. </div>
  927. </div>
  928. </div>
  929. </div>
  930. </div>
  931. </div>
  932. </div>
  933. </div>
  934. <footer class="footer footer-transparent d-print-none">
  935. <div class="container">
  936. <div class="row text-center align-items-center flex-row-reverse">
  937. <div class="col-lg-auto ms-lg-auto">
  938. <ul class="list-inline list-inline-dots mb-0">
  939. <li class="list-inline-item"><a href="../docs/index.html" class="link-secondary">Documentation</a></li>
  940. <li class="list-inline-item"><a href="../license.html" class="link-secondary">License</a></li>
  941. <li class="list-inline-item"><a href="https://github.com/tabler/tabler" target="_blank" class="link-secondary" rel="noopener">Source code</a></li>
  942. <li class="list-inline-item">
  943. <a href="https://github.com/sponsors/codecalm" target="_blank" class="link-secondary" rel="noopener">
  944. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  945. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-pink icon-filled icon-inline" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
  946. Sponsor
  947. </a>
  948. </li>
  949. </ul>
  950. </div>
  951. <div class="col-12 col-lg-auto mt-3 mt-lg-0">
  952. <ul class="list-inline list-inline-dots mb-0">
  953. <li class="list-inline-item">
  954. Copyright &copy; 2021
  955. <a href=".." class="link-secondary">Tabler</a>.
  956. All rights reserved.
  957. </li>
  958. <li class="list-inline-item">
  959. <a href="../changelog.html" class="link-secondary" rel="noopener">v1.0.0-beta4</a>
  960. </li>
  961. </ul>
  962. </div>
  963. </div>
  964. </div>
  965. </footer>
  966. </div>
  967. </div>
  968. <!-- Libs JS -->
  969. <!-- Tabler Core -->
  970. <script src="../dist/js/tabler.min.js"></script>
  971. </body>
  972. </html>