dropdowns.html 71 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106
  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>Dropdowns - 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">
  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 active">
  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">Dropdowns</h1>
  673. <p class="ms-auto">
  674. <a href="https://getbootstrap.com/docs/5.0/components/dropdowns" 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>Use dropdowns to display lists of options or include more positions in a menu without overwhelming users with too many buttons and long lists. Dropdowns facilitate users' interaction with your website or software and make your design look clear.</p>
  682. </div>
  683. <h2 id="default-dropdown">Default dropdown</h2>
  684. <p>With small markup changes, you can turn any <code class="language-plaintext highlighter-rouge">.btn</code> into a dropdown toggle and use it to display more options for users to choose from. Start with the default dropdown and then use additional classes to make your dropdown more user-friendly.</p>
  685. <div class="example no_toc_section example-centered">
  686. <div class="example-content">
  687. <div class="dropdown-menu dropdown-menu-demo">
  688. <a class="dropdown-item" href="javascript:void(0)">
  689. Action
  690. </a>
  691. <a class="dropdown-item" href="javascript:void(0)">
  692. Another action
  693. </a>
  694. </div>
  695. </div>
  696. </div>
  697. <div class="example-code">
  698. <figure class="highlight">
  699. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo"</span><span class="nt">&gt;</span>
  700. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  701. Action
  702. <span class="nt">&lt;/a&gt;</span>
  703. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  704. Another action
  705. <span class="nt">&lt;/a&gt;</span>
  706. <span class="nt">&lt;/div&gt;</span></code></pre>
  707. </figure>
  708. </div>
  709. <h2 id="dropdown-divider">Dropdown divider</h2>
  710. <p>Use dropdown dividers to separate groups of dropdown items for greater clarity.</p>
  711. <div class="example no_toc_section example-centered">
  712. <div class="example-content">
  713. <div class="dropdown-menu dropdown-menu-demo">
  714. <a class="dropdown-item" href="javascript:void(0)">
  715. Action
  716. </a>
  717. <a class="dropdown-item" href="javascript:void(0)">
  718. Another action
  719. </a>
  720. <div class="dropdown-divider"></div>
  721. <a class="dropdown-item" href="javascript:void(0)">Separated link</a>
  722. </div>
  723. </div>
  724. </div>
  725. <div class="example-code">
  726. <figure class="highlight">
  727. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo"</span><span class="nt">&gt;</span>
  728. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  729. Action
  730. <span class="nt">&lt;/a&gt;</span>
  731. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  732. Another action
  733. <span class="nt">&lt;/a&gt;</span>
  734. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-divider"</span><span class="nt">&gt;&lt;/div&gt;</span>
  735. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>Separated link<span class="nt">&lt;/a&gt;</span>
  736. <span class="nt">&lt;/div&gt;</span></code></pre>
  737. </figure>
  738. </div>
  739. <h2 id="active-state">Active state</h2>
  740. <p>Make a dropdown item look active, so that it highlights when a user hovers over a given option.</p>
  741. <div class="example no_toc_section example-centered">
  742. <div class="example-content">
  743. <div class="dropdown-menu dropdown-menu-demo">
  744. <a class="dropdown-item" href="javascript:void(0)">
  745. Action
  746. </a>
  747. <a class="dropdown-item" href="javascript:void(0)">
  748. Another action
  749. </a>
  750. <a class="dropdown-item active" href="javascript:void(0)">Active action</a>
  751. </div>
  752. </div>
  753. </div>
  754. <div class="example-code">
  755. <figure class="highlight">
  756. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo"</span><span class="nt">&gt;</span>
  757. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  758. Action
  759. <span class="nt">&lt;/a&gt;</span>
  760. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  761. Another action
  762. <span class="nt">&lt;/a&gt;</span>
  763. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item active"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>Active action<span class="nt">&lt;/a&gt;</span>
  764. <span class="nt">&lt;/div&gt;</span></code></pre>
  765. </figure>
  766. </div>
  767. <h2 id="disabled-state">Disabled state</h2>
  768. <p>Make a dropdown item look disabled to display options which are currently not available but can activate once certain conditions are met.</p>
  769. <div class="example no_toc_section example-centered">
  770. <div class="example-content">
  771. <div class="dropdown-menu dropdown-menu-demo">
  772. <a class="dropdown-item" href="javascript:void(0)">
  773. Action
  774. </a>
  775. <a class="dropdown-item" href="javascript:void(0)">
  776. Another action
  777. </a>
  778. <a class="dropdown-item disabled" href="javascript:void(0)">Disabled action</a>
  779. </div>
  780. </div>
  781. </div>
  782. <div class="example-code">
  783. <figure class="highlight">
  784. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo"</span><span class="nt">&gt;</span>
  785. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  786. Action
  787. <span class="nt">&lt;/a&gt;</span>
  788. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  789. Another action
  790. <span class="nt">&lt;/a&gt;</span>
  791. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item disabled"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>Disabled action<span class="nt">&lt;/a&gt;</span>
  792. <span class="nt">&lt;/div&gt;</span></code></pre>
  793. </figure>
  794. </div>
  795. <h2 id="dropdown-header">Dropdown header</h2>
  796. <p>Add a dropdown header to group dropdown items into sections and name them accordingly.</p>
  797. <div class="example no_toc_section example-centered">
  798. <div class="example-content">
  799. <div class="dropdown-menu dropdown-menu-demo">
  800. <span class="dropdown-header">Dropdown header</span>
  801. <a class="dropdown-item" href="javascript:void(0)">
  802. Action
  803. </a>
  804. <a class="dropdown-item" href="javascript:void(0)">
  805. Another action
  806. </a>
  807. </div>
  808. </div>
  809. </div>
  810. <div class="example-code">
  811. <figure class="highlight">
  812. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo"</span><span class="nt">&gt;</span>
  813. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"dropdown-header"</span><span class="nt">&gt;</span>Dropdown header<span class="nt">&lt;/span&gt;</span>
  814. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  815. Action
  816. <span class="nt">&lt;/a&gt;</span>
  817. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  818. Another action
  819. <span class="nt">&lt;/a&gt;</span>
  820. <span class="nt">&lt;/div&gt;</span></code></pre>
  821. </figure>
  822. </div>
  823. <h2 id="dropdown-with-icons">Dropdown with icons</h2>
  824. <p>Use icons in your dropdowns to add more visual content and make the options easy to identify for users.</p>
  825. <div class="example no_toc_section example-centered">
  826. <div class="example-content">
  827. <div class="dropdown-menu dropdown-menu-demo">
  828. <span class="dropdown-header">Dropdown header</span>
  829. <a class="dropdown-item" href="javascript:void(0)">
  830. <!-- Download SVG icon from http://tabler-icons.io/i/settings -->
  831. <svg xmlns="http://www.w3.org/2000/svg" class="icon dropdown-item-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.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" /><circle cx="12" cy="12" r="3" /></svg>
  832. Action
  833. </a>
  834. <a class="dropdown-item" href="javascript:void(0)">
  835. <!-- Download SVG icon from http://tabler-icons.io/i/edit -->
  836. <svg xmlns="http://www.w3.org/2000/svg" class="icon dropdown-item-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="M9 7h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3" /><path d="M9 15h3l8.5 -8.5a1.5 1.5 0 0 0 -3 -3l-8.5 8.5v3" /><line x1="16" y1="5" x2="19" y2="8" /></svg>
  837. Another action
  838. </a>
  839. </div>
  840. </div>
  841. </div>
  842. <div class="example-code">
  843. <figure class="highlight">
  844. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo"</span><span class="nt">&gt;</span>
  845. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"dropdown-header"</span><span class="nt">&gt;</span>Dropdown header<span class="nt">&lt;/span&gt;</span>
  846. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  847. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/settings --&gt;</span>
  848. <span class="c">&lt;!-- SVG icon code with class="dropdown-item-icon" --&gt;</span>
  849. Action
  850. <span class="nt">&lt;/a&gt;</span>
  851. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  852. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/edit --&gt;</span>
  853. <span class="c">&lt;!-- SVG icon code with class="dropdown-item-icon" --&gt;</span>
  854. Another action
  855. <span class="nt">&lt;/a&gt;</span>
  856. <span class="nt">&lt;/div&gt;</span></code></pre>
  857. </figure>
  858. </div>
  859. <h2 id="dropdown-with-arrow">Dropdown with arrow</h2>
  860. <p>Add an arrow that points at the dropdown button.</p>
  861. <div class="example no_toc_section example-centered">
  862. <div class="example-content">
  863. <div class="dropdown-menu dropdown-menu-demo dropdown-menu-arrow">
  864. <a class="dropdown-item" href="javascript:void(0)">
  865. Action
  866. </a>
  867. <a class="dropdown-item" href="javascript:void(0)">
  868. Another action
  869. </a>
  870. </div>
  871. </div>
  872. </div>
  873. <div class="example-code">
  874. <figure class="highlight">
  875. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo dropdown-menu-arrow"</span><span class="nt">&gt;</span>
  876. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  877. Action
  878. <span class="nt">&lt;/a&gt;</span>
  879. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  880. Another action
  881. <span class="nt">&lt;/a&gt;</span>
  882. <span class="nt">&lt;/div&gt;</span></code></pre>
  883. </figure>
  884. </div>
  885. <h2 id="dropdown-with-badge">Dropdown with badge</h2>
  886. <p>Add a badge to your dropdown items to show additional information related to an item or distinguish it from other elements.</p>
  887. <div class="example no_toc_section example-centered">
  888. <div class="example-content">
  889. <div class="dropdown-menu dropdown-menu-demo">
  890. <a class="dropdown-item" href="javascript:void(0)">
  891. Action
  892. <span class="badge bg-primary ms-auto">12</span>
  893. </a>
  894. <a class="dropdown-item" href="javascript:void(0)">
  895. Another action
  896. <span class="badge bg-green ms-auto"></span>
  897. </a>
  898. </div>
  899. </div>
  900. </div>
  901. <div class="example-code">
  902. <figure class="highlight">
  903. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo"</span><span class="nt">&gt;</span>
  904. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  905. Action
  906. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-primary ms-auto"</span><span class="nt">&gt;</span>12<span class="nt">&lt;/span&gt;</span>
  907. <span class="nt">&lt;/a&gt;</span>
  908. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  909. Another action
  910. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"badge bg-green ms-auto"</span><span class="nt">&gt;&lt;/span&gt;</span>
  911. <span class="nt">&lt;/a&gt;</span>
  912. <span class="nt">&lt;/div&gt;</span></code></pre>
  913. </figure>
  914. </div>
  915. <h2 id="dropdown-with-checkboxes">Dropdown with checkboxes</h2>
  916. <p>Use dropdowns with checkboxes to allow users to select options from a predefined list. Dropdowns with checkboxes are particularly useful for filtering.</p>
  917. <div class="example no_toc_section example-centered">
  918. <div class="example-content">
  919. <div class="dropdown-menu dropdown-menu-demo">
  920. <label class="dropdown-item"><input class="form-check-input m-0 me-2" type="checkbox" /> Option 1</label>
  921. <label class="dropdown-item"><input class="form-check-input m-0 me-2" type="checkbox" /> Option 2</label>
  922. <label class="dropdown-item"><input class="form-check-input m-0 me-2" type="checkbox" /> Option 3</label>
  923. </div>
  924. </div>
  925. </div>
  926. <div class="example-code">
  927. <figure class="highlight">
  928. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo"</span><span class="nt">&gt;</span>
  929. <span class="nt">&lt;label</span> <span class="na">class=</span><span class="s">"dropdown-item"</span><span class="nt">&gt;&lt;input</span> <span class="na">class=</span><span class="s">"form-check-input m-0 me-2"</span> <span class="na">type=</span><span class="s">"checkbox"</span><span class="nt">&gt;</span> Option 1<span class="nt">&lt;/label&gt;</span>
  930. <span class="nt">&lt;label</span> <span class="na">class=</span><span class="s">"dropdown-item"</span><span class="nt">&gt;&lt;input</span> <span class="na">class=</span><span class="s">"form-check-input m-0 me-2"</span> <span class="na">type=</span><span class="s">"checkbox"</span><span class="nt">&gt;</span> Option 2<span class="nt">&lt;/label&gt;</span>
  931. <span class="nt">&lt;label</span> <span class="na">class=</span><span class="s">"dropdown-item"</span><span class="nt">&gt;&lt;input</span> <span class="na">class=</span><span class="s">"form-check-input m-0 me-2"</span> <span class="na">type=</span><span class="s">"checkbox"</span><span class="nt">&gt;</span> Option 3<span class="nt">&lt;/label&gt;</span>
  932. <span class="nt">&lt;/div&gt;</span></code></pre>
  933. </figure>
  934. </div>
  935. <div class="example no_toc_section example-centered">
  936. <div class="example-content">
  937. <div class="dropdown-menu dropdown-menu-demo">
  938. <label class="dropdown-item"><input class="form-check-input m-0 me-2" type="radio" /> Option 1</label>
  939. <label class="dropdown-item"><input class="form-check-input m-0 me-2" type="radio" /> Option 2</label>
  940. <label class="dropdown-item"><input class="form-check-input m-0 me-2" type="radio" /> Option 3</label>
  941. </div>
  942. </div>
  943. </div>
  944. <div class="example-code">
  945. <figure class="highlight">
  946. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo"</span><span class="nt">&gt;</span>
  947. <span class="nt">&lt;label</span> <span class="na">class=</span><span class="s">"dropdown-item"</span><span class="nt">&gt;&lt;input</span> <span class="na">class=</span><span class="s">"form-check-input m-0 me-2"</span> <span class="na">type=</span><span class="s">"radio"</span><span class="nt">&gt;</span> Option 1<span class="nt">&lt;/label&gt;</span>
  948. <span class="nt">&lt;label</span> <span class="na">class=</span><span class="s">"dropdown-item"</span><span class="nt">&gt;&lt;input</span> <span class="na">class=</span><span class="s">"form-check-input m-0 me-2"</span> <span class="na">type=</span><span class="s">"radio"</span><span class="nt">&gt;</span> Option 2<span class="nt">&lt;/label&gt;</span>
  949. <span class="nt">&lt;label</span> <span class="na">class=</span><span class="s">"dropdown-item"</span><span class="nt">&gt;&lt;input</span> <span class="na">class=</span><span class="s">"form-check-input m-0 me-2"</span> <span class="na">type=</span><span class="s">"radio"</span><span class="nt">&gt;</span> Option 3<span class="nt">&lt;/label&gt;</span>
  950. <span class="nt">&lt;/div&gt;</span></code></pre>
  951. </figure>
  952. </div>
  953. <h2 id="dark-dropdown">Dark dropdown</h2>
  954. <p>Make your dropdown suit the dark mode of your website or software.</p>
  955. <div class="example no_toc_section example-centered">
  956. <div class="example-content">
  957. <div class="dropdown-menu dropdown-menu-demo dropdown-menu-arrow bg-dark text-white">
  958. <span class="dropdown-header">Dropdown header</span>
  959. <a class="dropdown-item" href="javascript:void(0)">
  960. <!-- Download SVG icon from http://tabler-icons.io/i/settings -->
  961. <svg xmlns="http://www.w3.org/2000/svg" class="icon dropdown-item-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.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" /><circle cx="12" cy="12" r="3" /></svg>
  962. Action
  963. </a>
  964. <a class="dropdown-item" href="javascript:void(0)">
  965. <!-- Download SVG icon from http://tabler-icons.io/i/edit -->
  966. <svg xmlns="http://www.w3.org/2000/svg" class="icon dropdown-item-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="M9 7h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3" /><path d="M9 15h3l8.5 -8.5a1.5 1.5 0 0 0 -3 -3l-8.5 8.5v3" /><line x1="16" y1="5" x2="19" y2="8" /></svg>
  967. Another action
  968. </a>
  969. </div>
  970. </div>
  971. </div>
  972. <div class="example-code">
  973. <figure class="highlight">
  974. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-demo dropdown-menu-arrow bg-dark text-white"</span><span class="nt">&gt;</span>
  975. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"dropdown-header"</span><span class="nt">&gt;</span>Dropdown header<span class="nt">&lt;/span&gt;</span>
  976. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  977. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/settings --&gt;</span>
  978. <span class="c">&lt;!-- SVG icon code with class="dropdown-item-icon" --&gt;</span>
  979. Action
  980. <span class="nt">&lt;/a&gt;</span>
  981. <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"dropdown-item"</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  982. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/edit --&gt;</span>
  983. <span class="c">&lt;!-- SVG icon code with class="dropdown-item-icon" --&gt;</span>
  984. Another action
  985. <span class="nt">&lt;/a&gt;</span>
  986. <span class="nt">&lt;/div&gt;</span></code></pre>
  987. </figure>
  988. </div>
  989. <h2 id="dropdown-with-card-content">Dropdown with card content</h2>
  990. <p>Use a dropdown with card content to make it easy for users to get more information on a given subject and avoid ovewhelming them with too much content at once.</p>
  991. <div class="example no_toc_section example-centered">
  992. <div class="example-content">
  993. <div class="btn-list align-items-start">
  994. <a href="javascript:void(0)" class="btn btn-white">
  995. Button
  996. </a>
  997. <div class="dropdown show">
  998. <a href="javascript:void(0)" class="btn btn-primary dropdown-toggle">Dropdown</a>
  999. <div class="dropdown-menu dropdown-menu-card show position-static" style="max-width: 20rem;">
  1000. <div class="card d-flex flex-column">
  1001. <a href="javascript:void(0)">
  1002. <img class="card-img-top" src="../static/photos/36e273986ed577b8.jpg" alt="How do you know she is a witch?" />
  1003. </a>
  1004. <div class="card-body d-flex flex-column">
  1005. <h3 class="card-title"><a href="javascript:void(0)">How do you know she is a witch?</a></h3>
  1006. <div class="text-muted">Are you suggesting that coconuts migrate? No, no, no! Yes, yes. A bit. But she's got a wart. You ...</div>
  1007. <div class="d-flex align-items-center pt-4 mt-auto">
  1008. <span class="avatar" style="background-image: url(../static/avatars/000f.jpg)"></span>
  1009. <div class="ms-3">
  1010. <a href="../profile.html" class="text-body">Maryjo Lebarree</a>
  1011. <div class="text-muted">3 days ago</div>
  1012. </div>
  1013. <div class="ms-auto">
  1014. <a href="javascript:void(0)" class="icon d-none d-md-inline-block ms-3 text-muted">
  1015. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  1016. <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="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>
  1017. </a>
  1018. </div>
  1019. </div>
  1020. </div>
  1021. </div>
  1022. </div>
  1023. </div>
  1024. </div>
  1025. </div>
  1026. </div>
  1027. <div class="example-code">
  1028. <figure class="highlight">
  1029. <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">"btn btn-white"</span><span class="nt">&gt;</span>
  1030. Button
  1031. <span class="nt">&lt;/a&gt;</span>
  1032. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown"</span><span class="nt">&gt;</span>
  1033. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn btn-primary dropdown-toggle"</span><span class="nt">&gt;</span>Dropdown<span class="nt">&lt;/a&gt;</span>
  1034. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu dropdown-menu-card"</span> <span class="na">style=</span><span class="s">"max-width: 20rem;"</span><span class="nt">&gt;</span>
  1035. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"card d-flex flex-column"</span><span class="nt">&gt;</span>
  1036. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>
  1037. <span class="nt">&lt;img</span> <span class="na">class=</span><span class="s">"card-img-top"</span> <span class="na">src=</span><span class="s">"..."</span> <span class="na">alt=</span><span class="s">"How do you know she is a witch?"</span><span class="nt">&gt;</span>
  1038. <span class="nt">&lt;/a&gt;</span>
  1039. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"card-body d-flex flex-column"</span><span class="nt">&gt;</span>
  1040. <span class="nt">&lt;h3</span> <span class="na">class=</span><span class="s">"card-title"</span><span class="nt">&gt;&lt;a</span> <span class="na">href=</span><span class="s">"#"</span><span class="nt">&gt;</span>How do you know she is a witch?<span class="nt">&lt;/a&gt;&lt;/h3&gt;</span>
  1041. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"text-muted"</span><span class="nt">&gt;</span>Are you suggesting that coconuts migrate? No, no, no! Yes, yes. A bit. But she's got a wart. You ...<span class="nt">&lt;/div&gt;</span>
  1042. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"d-flex align-items-center pt-4 mt-auto"</span><span class="nt">&gt;</span>
  1043. <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>
  1044. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"ms-3"</span><span class="nt">&gt;</span>
  1045. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"text-body"</span><span class="nt">&gt;</span>Maryjo Lebarree<span class="nt">&lt;/a&gt;</span>
  1046. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"text-muted"</span><span class="nt">&gt;</span>3 days ago<span class="nt">&lt;/div&gt;</span>
  1047. <span class="nt">&lt;/div&gt;</span>
  1048. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"ms-auto"</span><span class="nt">&gt;</span>
  1049. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"icon d-none d-md-inline-block ms-3 text-muted"</span><span class="nt">&gt;</span>
  1050. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/heart --&gt;</span>
  1051. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1052. <span class="nt">&lt;/a&gt;</span>
  1053. <span class="nt">&lt;/div&gt;</span>
  1054. <span class="nt">&lt;/div&gt;</span>
  1055. <span class="nt">&lt;/div&gt;</span>
  1056. <span class="nt">&lt;/div&gt;</span>
  1057. <span class="nt">&lt;/div&gt;</span>
  1058. <span class="nt">&lt;/div&gt;</span></code></pre>
  1059. </figure>
  1060. </div>
  1061. </div>
  1062. </div>
  1063. </div>
  1064. </div>
  1065. </div>
  1066. </div>
  1067. </div>
  1068. <footer class="footer footer-transparent d-print-none">
  1069. <div class="container">
  1070. <div class="row text-center align-items-center flex-row-reverse">
  1071. <div class="col-lg-auto ms-lg-auto">
  1072. <ul class="list-inline list-inline-dots mb-0">
  1073. <li class="list-inline-item"><a href="../docs/index.html" class="link-secondary">Documentation</a></li>
  1074. <li class="list-inline-item"><a href="../license.html" class="link-secondary">License</a></li>
  1075. <li class="list-inline-item"><a href="https://github.com/tabler/tabler" target="_blank" class="link-secondary" rel="noopener">Source code</a></li>
  1076. <li class="list-inline-item">
  1077. <a href="https://github.com/sponsors/codecalm" target="_blank" class="link-secondary" rel="noopener">
  1078. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  1079. <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>
  1080. Sponsor
  1081. </a>
  1082. </li>
  1083. </ul>
  1084. </div>
  1085. <div class="col-12 col-lg-auto mt-3 mt-lg-0">
  1086. <ul class="list-inline list-inline-dots mb-0">
  1087. <li class="list-inline-item">
  1088. Copyright &copy; 2021
  1089. <a href=".." class="link-secondary">Tabler</a>.
  1090. All rights reserved.
  1091. </li>
  1092. <li class="list-inline-item">
  1093. <a href="../changelog.html" class="link-secondary" rel="noopener">v1.0.0-beta4</a>
  1094. </li>
  1095. </ul>
  1096. </div>
  1097. </div>
  1098. </div>
  1099. </footer>
  1100. </div>
  1101. </div>
  1102. <!-- Libs JS -->
  1103. <!-- Tabler Core -->
  1104. <script src="../dist/js/tabler.min.js"></script>
  1105. </body>
  1106. </html>