buttons.html 137 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737
  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>Buttons - 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 active">
  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">Buttons</h1>
  673. <p class="ms-auto">
  674. <a href="https://getbootstrap.com/docs/5.0/components/buttons/" 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 button styles that best suit your designs and encourage users to take the desired actions. You can customize the button's properties to improve the user experience of your website or system, changing the size, shape, color and many more.</p>
  682. </div>
  683. <h2 id="button-tag">Button tag</h2>
  684. <p>As one of the most common elements of UI design, buttons have a very important function of engaging users with your website or app and guiding them in their actions. Use the <code class="language-plaintext highlighter-rouge">.btn</code> classes with the <code class="language-plaintext highlighter-rouge">&lt;button&gt;</code> element and add additional styling that will make your buttons serve their purpose and draw users’ attention.</p>
  685. <div class="example no_toc_section example-centered">
  686. <div class="example-content">
  687. <div class="btn-list">
  688. <a href="javascript:void(0)" class="btn" role="button">Link</a>
  689. <button class="btn">Button</button>
  690. <input type="button" class="btn" value="Input" />
  691. <input type="submit" class="btn" value="Submit" />
  692. <input type="reset" class="btn" value="Reset" />
  693. </div>
  694. </div>
  695. </div>
  696. <div class="example-code">
  697. <figure class="highlight">
  698. <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"</span> <span class="na">role=</span><span class="s">"button"</span><span class="nt">&gt;</span>Link<span class="nt">&lt;/a&gt;</span>
  699. <span class="nt">&lt;button</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Button<span class="nt">&lt;/button&gt;</span>
  700. <span class="nt">&lt;input</span> <span class="na">type=</span><span class="s">"button"</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">value=</span><span class="s">"Input"</span><span class="nt">/&gt;</span>
  701. <span class="nt">&lt;input</span> <span class="na">type=</span><span class="s">"submit"</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">value=</span><span class="s">"Submit"</span><span class="nt">/&gt;</span>
  702. <span class="nt">&lt;input</span> <span class="na">type=</span><span class="s">"reset"</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">value=</span><span class="s">"Reset"</span><span class="nt">/&gt;</span></code></pre>
  703. </figure>
  704. </div>
  705. <h2 id="default-button">Default button</h2>
  706. <p>The standard button creates a white background and subtle hover animation. It’s meant to look and behave as an interactive element of your page.</p>
  707. <div class="example no_toc_section example-centered">
  708. <div class="example-content">
  709. <div class="btn-list">
  710. <a href="javascript:void(0)" class="btn" role="button">Link</a>
  711. </div>
  712. </div>
  713. </div>
  714. <div class="example-code">
  715. <figure class="highlight">
  716. <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"</span> <span class="na">role=</span><span class="s">"button"</span><span class="nt">&gt;</span>Link<span class="nt">&lt;/a&gt;</span></code></pre>
  717. </figure>
  718. </div>
  719. <h2 id="button-variations">Button variations</h2>
  720. <p>Use the button classes that correspond to the function of your button. The big range of available colors will help you show your buttons’ purpose and make them easy to spot.</p>
  721. <div class="example no_toc_section example-centered">
  722. <div class="example-content">
  723. <div class="btn-list">
  724. <a href="javascript:void(0)" class="btn btn-primary">
  725. Primary
  726. </a>
  727. <a href="javascript:void(0)" class="btn btn-secondary">
  728. Secondary
  729. </a>
  730. <a href="javascript:void(0)" class="btn btn-success">
  731. Success
  732. </a>
  733. <a href="javascript:void(0)" class="btn btn-warning">
  734. Warning
  735. </a>
  736. <a href="javascript:void(0)" class="btn btn-danger">
  737. Danger
  738. </a>
  739. <a href="javascript:void(0)" class="btn btn-info">
  740. Info
  741. </a>
  742. <a href="javascript:void(0)" class="btn btn-light">
  743. Light
  744. </a>
  745. <a href="javascript:void(0)" class="btn btn-dark">
  746. Dark
  747. </a>
  748. </div>
  749. </div>
  750. </div>
  751. <div class="example-code">
  752. <figure class="highlight">
  753. <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-primary"</span><span class="nt">&gt;</span>
  754. Primary
  755. <span class="nt">&lt;/a&gt;</span>
  756. <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-secondary"</span><span class="nt">&gt;</span>
  757. Secondary
  758. <span class="nt">&lt;/a&gt;</span>
  759. <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-success"</span><span class="nt">&gt;</span>
  760. Success
  761. <span class="nt">&lt;/a&gt;</span>
  762. <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-warning"</span><span class="nt">&gt;</span>
  763. Warning
  764. <span class="nt">&lt;/a&gt;</span>
  765. <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-danger"</span><span class="nt">&gt;</span>
  766. Danger
  767. <span class="nt">&lt;/a&gt;</span>
  768. <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-info"</span><span class="nt">&gt;</span>
  769. Info
  770. <span class="nt">&lt;/a&gt;</span>
  771. <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-light"</span><span class="nt">&gt;</span>
  772. Light
  773. <span class="nt">&lt;/a&gt;</span>
  774. <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-dark"</span><span class="nt">&gt;</span>
  775. Dark
  776. <span class="nt">&lt;/a&gt;</span></code></pre>
  777. </figure>
  778. </div>
  779. <h2 id="disabled-buttons">Disabled buttons</h2>
  780. <p>Make buttons look inactive to show that an action is possible once the user meets certain criteria, such as completing the required fields to submit a form.</p>
  781. <div class="example no_toc_section example-centered">
  782. <div class="example-content">
  783. <div class="btn-list">
  784. <a href="javascript:void(0)" class="btn btn-primary disabled">
  785. Primary
  786. </a>
  787. <a href="javascript:void(0)" class="btn btn-secondary disabled">
  788. Secondary
  789. </a>
  790. <a href="javascript:void(0)" class="btn btn-success disabled">
  791. Success
  792. </a>
  793. <a href="javascript:void(0)" class="btn btn-warning disabled">
  794. Warning
  795. </a>
  796. <a href="javascript:void(0)" class="btn btn-danger disabled">
  797. Danger
  798. </a>
  799. <a href="javascript:void(0)" class="btn btn-info disabled">
  800. Info
  801. </a>
  802. <a href="javascript:void(0)" class="btn btn-light disabled">
  803. Light
  804. </a>
  805. <a href="javascript:void(0)" class="btn btn-dark disabled">
  806. Dark
  807. </a>
  808. </div>
  809. </div>
  810. </div>
  811. <div class="example-code">
  812. <figure class="highlight">
  813. <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-primary disabled"</span><span class="nt">&gt;</span>
  814. Primary
  815. <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">"btn btn-secondary disabled"</span><span class="nt">&gt;</span>
  817. Secondary
  818. <span class="nt">&lt;/a&gt;</span>
  819. <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-success disabled"</span><span class="nt">&gt;</span>
  820. Success
  821. <span class="nt">&lt;/a&gt;</span>
  822. <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-warning disabled"</span><span class="nt">&gt;</span>
  823. Warning
  824. <span class="nt">&lt;/a&gt;</span>
  825. <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-danger disabled"</span><span class="nt">&gt;</span>
  826. Danger
  827. <span class="nt">&lt;/a&gt;</span>
  828. <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-info disabled"</span><span class="nt">&gt;</span>
  829. Info
  830. <span class="nt">&lt;/a&gt;</span>
  831. <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-light disabled"</span><span class="nt">&gt;</span>
  832. Light
  833. <span class="nt">&lt;/a&gt;</span>
  834. <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-dark disabled"</span><span class="nt">&gt;</span>
  835. Dark
  836. <span class="nt">&lt;/a&gt;</span></code></pre>
  837. </figure>
  838. </div>
  839. <h2 id="color-variations">Color variations</h2>
  840. <p>Choose the right color for your button to make it go well with your design and draw users’ attention. Button colors can have a big influence on users’ decisions, which is why it’s important to choose them based on the intended purpose.</p>
  841. <div class="example no_toc_section example-centered">
  842. <div class="example-content">
  843. <div class="btn-list">
  844. <a href="javascript:void(0)" class="btn btn-blue">Blue</a>
  845. <a href="javascript:void(0)" class="btn btn-azure">Azure</a>
  846. <a href="javascript:void(0)" class="btn btn-indigo">Indigo</a>
  847. <a href="javascript:void(0)" class="btn btn-purple">Purple</a>
  848. <a href="javascript:void(0)" class="btn btn-pink">Pink</a>
  849. <a href="javascript:void(0)" class="btn btn-red">Red</a>
  850. <a href="javascript:void(0)" class="btn btn-orange">Orange</a>
  851. <a href="javascript:void(0)" class="btn btn-yellow">Yellow</a>
  852. <a href="javascript:void(0)" class="btn btn-lime">Lime</a>
  853. <a href="javascript:void(0)" class="btn btn-green">Green</a>
  854. <a href="javascript:void(0)" class="btn btn-teal">Teal</a>
  855. <a href="javascript:void(0)" class="btn btn-cyan">Cyan</a>
  856. </div>
  857. </div>
  858. </div>
  859. <div class="example-code">
  860. <figure class="highlight">
  861. <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-blue"</span><span class="nt">&gt;</span>Blue<span class="nt">&lt;/a&gt;</span>
  862. <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-azure"</span><span class="nt">&gt;</span>Azure<span class="nt">&lt;/a&gt;</span>
  863. <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-indigo"</span><span class="nt">&gt;</span>Indigo<span class="nt">&lt;/a&gt;</span>
  864. <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-purple"</span><span class="nt">&gt;</span>Purple<span class="nt">&lt;/a&gt;</span>
  865. <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-pink"</span><span class="nt">&gt;</span>Pink<span class="nt">&lt;/a&gt;</span>
  866. <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-red"</span><span class="nt">&gt;</span>Red<span class="nt">&lt;/a&gt;</span>
  867. <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-orange"</span><span class="nt">&gt;</span>Orange<span class="nt">&lt;/a&gt;</span>
  868. <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-yellow"</span><span class="nt">&gt;</span>Yellow<span class="nt">&lt;/a&gt;</span>
  869. <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-lime"</span><span class="nt">&gt;</span>Lime<span class="nt">&lt;/a&gt;</span>
  870. <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-green"</span><span class="nt">&gt;</span>Green<span class="nt">&lt;/a&gt;</span>
  871. <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-teal"</span><span class="nt">&gt;</span>Teal<span class="nt">&lt;/a&gt;</span>
  872. <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-cyan"</span><span class="nt">&gt;</span>Cyan<span class="nt">&lt;/a&gt;</span></code></pre>
  873. </figure>
  874. </div>
  875. <h2 id="ghost-buttons">Ghost buttons</h2>
  876. <p>Use the <code class="language-plaintext highlighter-rouge">.btn-ghost-*</code> class to make your button look simple yet aesthetically appealing. Ghost buttons help focus users’ attention on the website’s primary design, at the same time encouraging them to take action.</p>
  877. <div class="example no_toc_section example-centered">
  878. <div class="example-content">
  879. <div class="btn-list">
  880. <a href="javascript:void(0)" class="btn btn-ghost-primary">Primary</a>
  881. <a href="javascript:void(0)" class="btn btn-ghost-secondary">Secondary</a>
  882. <a href="javascript:void(0)" class="btn btn-ghost-success">Success</a>
  883. <a href="javascript:void(0)" class="btn btn-ghost-warning">Warning</a>
  884. <a href="javascript:void(0)" class="btn btn-ghost-danger">Danger</a>
  885. <a href="javascript:void(0)" class="btn btn-ghost-info">Info</a>
  886. <a href="javascript:void(0)" class="btn btn-ghost-light">Light</a>
  887. <a href="javascript:void(0)" class="btn btn-ghost-dark">Dark</a>
  888. </div>
  889. </div>
  890. </div>
  891. <div class="example-code">
  892. <figure class="highlight">
  893. <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-ghost-primary"</span><span class="nt">&gt;</span>Primary<span class="nt">&lt;/a&gt;</span>
  894. <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-ghost-secondary"</span><span class="nt">&gt;</span>Secondary<span class="nt">&lt;/a&gt;</span>
  895. <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-ghost-success"</span><span class="nt">&gt;</span>Success<span class="nt">&lt;/a&gt;</span>
  896. <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-ghost-warning"</span><span class="nt">&gt;</span>Warning<span class="nt">&lt;/a&gt;</span>
  897. <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-ghost-danger"</span><span class="nt">&gt;</span>Danger<span class="nt">&lt;/a&gt;</span>
  898. <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-ghost-info"</span><span class="nt">&gt;</span>Info<span class="nt">&lt;/a&gt;</span>
  899. <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-ghost-light"</span><span class="nt">&gt;</span>Light<span class="nt">&lt;/a&gt;</span>
  900. <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-ghost-dark"</span><span class="nt">&gt;</span>Dark<span class="nt">&lt;/a&gt;</span></code></pre>
  901. </figure>
  902. </div>
  903. <h2 id="square-buttons">Square buttons</h2>
  904. <p>Use the <code class="language-plaintext highlighter-rouge">.btn-square</code> class to remove the border radius, if you want the corners of your button to be square rather than rounded.</p>
  905. <div class="example no_toc_section example-centered">
  906. <div class="example-content">
  907. <div class="btn-list">
  908. <a href="javascript:void(0)" class="btn btn-white btn-square">
  909. White
  910. </a>
  911. </div>
  912. </div>
  913. </div>
  914. <div class="example-code">
  915. <figure class="highlight">
  916. <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 btn-square"</span><span class="nt">&gt;</span>
  917. White
  918. <span class="nt">&lt;/a&gt;</span></code></pre>
  919. </figure>
  920. </div>
  921. <h2 id="pill-buttons">Pill buttons</h2>
  922. <p>Add the <code class="language-plaintext highlighter-rouge">.btn-pill</code> class to your button to make it rounded and give it a modern and attractive look.</p>
  923. <div class="example no_toc_section example-centered">
  924. <div class="example-content">
  925. <div class="btn-list">
  926. <a href="javascript:void(0)" class="btn btn-white btn-pill">
  927. White
  928. </a>
  929. </div>
  930. </div>
  931. </div>
  932. <div class="example-code">
  933. <figure class="highlight">
  934. <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 btn-pill"</span><span class="nt">&gt;</span>
  935. White
  936. <span class="nt">&lt;/a&gt;</span></code></pre>
  937. </figure>
  938. </div>
  939. <h2 id="outline-buttons">Outline buttons</h2>
  940. <p>Replace the default modifier class with the <code class="language-plaintext highlighter-rouge">.btn-outline-*</code> class, if you want to remove the color and the background of your button and give it a more subtle look. Outline buttons are perfect to use as secondary buttons, as they don’t distract users from the main action.</p>
  941. <div class="example no_toc_section example-centered">
  942. <div class="example-content">
  943. <div class="btn-list">
  944. </div>
  945. </div>
  946. </div>
  947. <div class="example-code">
  948. <figure class="highlight">
  949. <pre><code class="language-html" data-lang="html"></code></pre>
  950. </figure>
  951. </div>
  952. <h2 id="button-size">Button size</h2>
  953. <p>Add <code class="language-plaintext highlighter-rouge">.btn-lg</code> or <code class="language-plaintext highlighter-rouge">.btn-sm</code> to change the size of your button and differentiate those which should have primary focus from those of secondary importance. Adapt the button size to your design and encourage users to take actions.</p>
  954. <div class="example no_toc_section example-centered">
  955. <div class="example-content">
  956. <div class="btn-list">
  957. <button type="button" class="btn btn-primary btn-lg">Large button</button>
  958. <button type="button" class="btn btn-lg">Large button</button>
  959. </div>
  960. </div>
  961. </div>
  962. <div class="example-code">
  963. <figure class="highlight">
  964. <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 btn-primary btn-lg"</span><span class="nt">&gt;</span>Large button<span class="nt">&lt;/button&gt;</span>
  965. <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 btn-lg"</span><span class="nt">&gt;</span>Large button<span class="nt">&lt;/button&gt;</span></code></pre>
  966. </figure>
  967. </div>
  968. <div class="example no_toc_section example-centered">
  969. <div class="example-content">
  970. <div class="btn-list">
  971. <button type="button" class="btn btn-primary btn-sm">Small button</button>
  972. <button type="button" class="btn btn-sm">Small button</button>
  973. </div>
  974. </div>
  975. </div>
  976. <div class="example-code">
  977. <figure class="highlight">
  978. <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 btn-primary btn-sm"</span><span class="nt">&gt;</span>Small button<span class="nt">&lt;/button&gt;</span>
  979. <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 btn-sm"</span><span class="nt">&gt;</span>Small button<span class="nt">&lt;/button&gt;</span></code></pre>
  980. </figure>
  981. </div>
  982. <h2 id="buttons-with-icons">Buttons with icons</h2>
  983. <p>Label your button with text and add an icon to communiacate the action and make it easy to identify for users. Icons are easily recognized and improve the aesthetics of your button design, giving it a modern and atractive look.</p>
  984. <p>Icons can be found <a href="/docs/icons.html#icons"><strong>here</strong></a></p>
  985. <div class="example no_toc_section example-centered">
  986. <div class="example-content">
  987. <div class="btn-list">
  988. <button type="button" class="btn">
  989. <!-- Download SVG icon from http://tabler-icons.io/i/upload -->
  990. <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="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2" /><polyline points="7 9 12 4 17 9" /><line x1="12" y1="4" x2="12" y2="16" /></svg>
  991. Upload
  992. </button>
  993. <button type="button" class="btn btn-warning">
  994. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  995. <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>
  996. I like
  997. </button>
  998. <button type="button" class="btn btn-success">
  999. <!-- Download SVG icon from http://tabler-icons.io/i/check -->
  1000. <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="M5 12l5 5l10 -10" /></svg>
  1001. I agree
  1002. </button>
  1003. <button type="button" class="btn btn-primary">
  1004. <!-- Download SVG icon from http://tabler-icons.io/i/plus -->
  1005. <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" /><line x1="12" y1="5" x2="12" y2="19" /><line x1="5" y1="12" x2="19" y2="12" /></svg>
  1006. More
  1007. </button>
  1008. <button type="button" class="btn btn-danger">
  1009. <!-- Download SVG icon from http://tabler-icons.io/i/link -->
  1010. <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 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" /><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" /></svg>
  1011. Link
  1012. </button>
  1013. <button type="button" class="btn btn-info">
  1014. <!-- Download SVG icon from http://tabler-icons.io/i/message-circle -->
  1015. <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="M3 20l1.3 -3.9a9 8 0 1 1 3.4 2.9l-4.7 1" /><line x1="12" y1="12" x2="12" y2="12.01" /><line x1="8" y1="12" x2="8" y2="12.01" /><line x1="16" y1="12" x2="16" y2="12.01" /></svg>
  1016. Comment
  1017. </button>
  1018. </div>
  1019. </div>
  1020. </div>
  1021. <div class="example-code">
  1022. <figure class="highlight">
  1023. <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>
  1024. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/upload --&gt;</span>
  1025. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1026. Upload
  1027. <span class="nt">&lt;/button&gt;</span>
  1028. <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 btn-warning"</span><span class="nt">&gt;</span>
  1029. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/heart --&gt;</span>
  1030. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1031. I like
  1032. <span class="nt">&lt;/button&gt;</span>
  1033. <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 btn-success"</span><span class="nt">&gt;</span>
  1034. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/check --&gt;</span>
  1035. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1036. I agree
  1037. <span class="nt">&lt;/button&gt;</span>
  1038. <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 btn-primary"</span><span class="nt">&gt;</span>
  1039. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/plus --&gt;</span>
  1040. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1041. More
  1042. <span class="nt">&lt;/button&gt;</span>
  1043. <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 btn-danger"</span><span class="nt">&gt;</span>
  1044. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/link --&gt;</span>
  1045. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1046. Link
  1047. <span class="nt">&lt;/button&gt;</span>
  1048. <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 btn-info"</span><span class="nt">&gt;</span>
  1049. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/message-circle --&gt;</span>
  1050. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1051. Comment
  1052. <span class="nt">&lt;/button&gt;</span></code></pre>
  1053. </figure>
  1054. </div>
  1055. <h2 id="social-buttons">Social buttons</h2>
  1056. <p>You can use the icons of popular social networking sites, which users are familiar with. Thanks to buttons with social media icons users can share content or follow a website with just one click, without leaving the website.</p>
  1057. <div class="example no_toc_section example-centered">
  1058. <div class="example-content">
  1059. <div class="btn-list">
  1060. <a href="javascript:void(0)" class="btn btn-facebook">
  1061. <!-- Download SVG icon from http://tabler-icons.io/i/brand-facebook -->
  1062. <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="M7 10v4h3v7h4v-7h3l1 -4h-4v-2a1 1 0 0 1 1 -1h3v-4h-3a5 5 0 0 0 -5 5v2h-3" /></svg>
  1063. Facebook
  1064. </a>
  1065. <a href="javascript:void(0)" class="btn btn-twitter">
  1066. <!-- Download SVG icon from http://tabler-icons.io/i/brand-twitter -->
  1067. <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="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c-.002 -.249 1.51 -2.772 1.818 -4.013z" /></svg>
  1068. Twitter
  1069. </a>
  1070. <a href="javascript:void(0)" class="btn btn-google">
  1071. <!-- Download SVG icon from http://tabler-icons.io/i/brand-google -->
  1072. <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="M17.788 5.108a9 9 0 1 0 3.212 6.892h-8" /></svg>
  1073. Google
  1074. </a>
  1075. <a href="javascript:void(0)" class="btn btn-youtube">
  1076. <!-- Download SVG icon from http://tabler-icons.io/i/brand-youtube -->
  1077. <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="3" y="5" width="18" height="14" rx="4" /><path d="M10 9l5 3l-5 3z" /></svg>
  1078. Youtube
  1079. </a>
  1080. <a href="javascript:void(0)" class="btn btn-vimeo">
  1081. <!-- Download SVG icon from http://tabler-icons.io/i/brand-vimeo -->
  1082. <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="M3 8.5l1 1s1.5 -1.102 2 -.5c.509 .609 1.863 7.65 2.5 9c.556 1.184 1.978 2.89 4 1.5c2 -1.5 7.5 -5.5 8.5 -11.5c.444 -2.661 -1 -4 -2.5 -4c-2 0 -4.047 1.202 -4.5 4c2.05 -1.254 2.551 1.003 1.5 3c-1.052 2.005 -2 3 -2.5 3c-.49 0 -.924 -1.165 -1.5 -3.5c-.59 -2.42 -.5 -6.5 -3 -6.5s-5.5 4.5 -5.5 4.5z" /></svg>
  1083. Vimeo
  1084. </a>
  1085. <a href="javascript:void(0)" class="btn btn-dribbble">
  1086. <!-- Download SVG icon from http://tabler-icons.io/i/brand-dribbble -->
  1087. <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="12" cy="12" r="9" /><path d="M9 3.6c5 6 7 10.5 7.5 16.2" /><path d="M6.4 19c3.5 -3.5 6 -6.5 14.5 -6.4" /><path d="M3.1 10.75c5 0 9.814 -.38 15.314 -5" /></svg>
  1088. Dribbble
  1089. </a>
  1090. <a href="javascript:void(0)" class="btn btn-github">
  1091. <!-- Download SVG icon from http://tabler-icons.io/i/brand-github -->
  1092. <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="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>
  1093. Github
  1094. </a>
  1095. <a href="javascript:void(0)" class="btn btn-instagram">
  1096. <!-- Download SVG icon from http://tabler-icons.io/i/brand-instagram -->
  1097. <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="16" height="16" rx="4" /><circle cx="12" cy="12" r="3" /><line x1="16.5" y1="7.5" x2="16.5" y2="7.501" /></svg>
  1098. Instagram
  1099. </a>
  1100. <a href="javascript:void(0)" class="btn btn-pinterest">
  1101. <!-- Download SVG icon from http://tabler-icons.io/i/brand-pinterest -->
  1102. <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" /><line x1="8" y1="20" x2="12" y2="11" /><path d="M10.7 14c.437 1.263 1.43 2 2.55 2c2.071 0 3.75 -1.554 3.75 -4a5 5 0 1 0 -9.7 1.7" /><circle cx="12" cy="12" r="9" /></svg>
  1103. Pinterest
  1104. </a>
  1105. <a href="javascript:void(0)" class="btn btn-vk">
  1106. <!-- Download SVG icon from http://tabler-icons.io/i/brand-vk -->
  1107. <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 6h2v12c-4.5 -1 -8 -6.5 -9 -12" /><path d="M20 6c-1 2 -3 5 -5 6h-3" /><path d="M20 18c-1 -2 -3 -5 -5 -6" /></svg>
  1108. VK
  1109. </a>
  1110. <a href="javascript:void(0)" class="btn btn-rss">
  1111. <!-- Download SVG icon from http://tabler-icons.io/i/rss -->
  1112. <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="5" cy="19" r="1" /><path d="M4 4a16 16 0 0 1 16 16" /><path d="M4 11a9 9 0 0 1 9 9" /></svg>
  1113. RSS
  1114. </a>
  1115. <a href="javascript:void(0)" class="btn btn-flickr">
  1116. <!-- Download SVG icon from http://tabler-icons.io/i/brand-flickr -->
  1117. <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="7" cy="12" r="3" /><circle cx="17" cy="12" r="3" /></svg>
  1118. Flickr
  1119. </a>
  1120. <a href="javascript:void(0)" class="btn btn-bitbucket">
  1121. <!-- Download SVG icon from http://tabler-icons.io/i/brand-bitbucket -->
  1122. <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="M3.648 4a0.64 .64 0 0 0 -.64 .744l3.14 14.528c.07 .417 .43 .724 .852 .728h10a0.644 .644 0 0 0 .642 -.539l3.35 -14.71a0.641 .641 0 0 0 -.64 -.744l-16.704 -.007z" /><path d="M14 15h-4l-1 -6h6z" /></svg>
  1123. Bitbucket
  1124. </a>
  1125. <a href="javascript:void(0)" class="btn btn-tabler">
  1126. <!-- Download SVG icon from http://tabler-icons.io/i/brand-tabler -->
  1127. <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="M8 9l3 3l-3 3" /><line x1="13" y1="15" x2="16" y2="15" /><rect x="4" y="4" width="16" height="16" rx="4" /></svg>
  1128. Tabler
  1129. </a>
  1130. </div>
  1131. </div>
  1132. </div>
  1133. <div class="example-code">
  1134. <figure class="highlight">
  1135. <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-facebook"</span><span class="nt">&gt;</span>
  1136. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-facebook --&gt;</span>
  1137. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1138. Facebook
  1139. <span class="nt">&lt;/a&gt;</span>
  1140. <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-twitter"</span><span class="nt">&gt;</span>
  1141. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-twitter --&gt;</span>
  1142. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1143. Twitter
  1144. <span class="nt">&lt;/a&gt;</span>
  1145. <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-google"</span><span class="nt">&gt;</span>
  1146. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-google --&gt;</span>
  1147. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1148. Google
  1149. <span class="nt">&lt;/a&gt;</span>
  1150. <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-youtube"</span><span class="nt">&gt;</span>
  1151. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-youtube --&gt;</span>
  1152. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1153. Youtube
  1154. <span class="nt">&lt;/a&gt;</span>
  1155. <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-vimeo"</span><span class="nt">&gt;</span>
  1156. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-vimeo --&gt;</span>
  1157. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1158. Vimeo
  1159. <span class="nt">&lt;/a&gt;</span>
  1160. <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-dribbble"</span><span class="nt">&gt;</span>
  1161. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-dribbble --&gt;</span>
  1162. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1163. Dribbble
  1164. <span class="nt">&lt;/a&gt;</span>
  1165. <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-github"</span><span class="nt">&gt;</span>
  1166. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-github --&gt;</span>
  1167. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1168. Github
  1169. <span class="nt">&lt;/a&gt;</span>
  1170. <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-instagram"</span><span class="nt">&gt;</span>
  1171. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-instagram --&gt;</span>
  1172. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1173. Instagram
  1174. <span class="nt">&lt;/a&gt;</span>
  1175. <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-pinterest"</span><span class="nt">&gt;</span>
  1176. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-pinterest --&gt;</span>
  1177. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1178. Pinterest
  1179. <span class="nt">&lt;/a&gt;</span>
  1180. <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-vk"</span><span class="nt">&gt;</span>
  1181. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-vk --&gt;</span>
  1182. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1183. VK
  1184. <span class="nt">&lt;/a&gt;</span>
  1185. <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-rss"</span><span class="nt">&gt;</span>
  1186. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/rss --&gt;</span>
  1187. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1188. RSS
  1189. <span class="nt">&lt;/a&gt;</span>
  1190. <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-flickr"</span><span class="nt">&gt;</span>
  1191. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-flickr --&gt;</span>
  1192. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1193. Flickr
  1194. <span class="nt">&lt;/a&gt;</span>
  1195. <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-bitbucket"</span><span class="nt">&gt;</span>
  1196. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-bitbucket --&gt;</span>
  1197. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1198. Bitbucket
  1199. <span class="nt">&lt;/a&gt;</span>
  1200. <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-tabler"</span><span class="nt">&gt;</span>
  1201. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-tabler --&gt;</span>
  1202. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1203. Tabler
  1204. <span class="nt">&lt;/a&gt;</span></code></pre>
  1205. </figure>
  1206. </div>
  1207. <p>You can also add an icon without the name of a social networking site, if you want to display more buttons on a small space.</p>
  1208. <div class="example no_toc_section example-centered">
  1209. <div class="example-content">
  1210. <div class="btn-list">
  1211. <a href="javascript:void(0)" class="btn btn-facebook btn-icon" aria-label="Button">
  1212. <!-- Download SVG icon from http://tabler-icons.io/i/brand-facebook -->
  1213. <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="M7 10v4h3v7h4v-7h3l1 -4h-4v-2a1 1 0 0 1 1 -1h3v-4h-3a5 5 0 0 0 -5 5v2h-3" /></svg>
  1214. </a>
  1215. <a href="javascript:void(0)" class="btn btn-twitter btn-icon" aria-label="Button">
  1216. <!-- Download SVG icon from http://tabler-icons.io/i/brand-twitter -->
  1217. <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="M22 4.01c-1 .49 -1.98 .689 -3 .99c-1.121 -1.265 -2.783 -1.335 -4.38 -.737s-2.643 2.06 -2.62 3.737v1c-3.245 .083 -6.135 -1.395 -8 -4c0 0 -4.182 7.433 4 11c-1.872 1.247 -3.739 2.088 -6 2c3.308 1.803 6.913 2.423 10.034 1.517c3.58 -1.04 6.522 -3.723 7.651 -7.742a13.84 13.84 0 0 0 .497 -3.753c-.002 -.249 1.51 -2.772 1.818 -4.013z" /></svg>
  1218. </a>
  1219. <a href="javascript:void(0)" class="btn btn-google btn-icon" aria-label="Button">
  1220. <!-- Download SVG icon from http://tabler-icons.io/i/brand-google -->
  1221. <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="M17.788 5.108a9 9 0 1 0 3.212 6.892h-8" /></svg>
  1222. </a>
  1223. <a href="javascript:void(0)" class="btn btn-youtube btn-icon" aria-label="Button">
  1224. <!-- Download SVG icon from http://tabler-icons.io/i/brand-youtube -->
  1225. <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="3" y="5" width="18" height="14" rx="4" /><path d="M10 9l5 3l-5 3z" /></svg>
  1226. </a>
  1227. <a href="javascript:void(0)" class="btn btn-vimeo btn-icon" aria-label="Button">
  1228. <!-- Download SVG icon from http://tabler-icons.io/i/brand-vimeo -->
  1229. <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="M3 8.5l1 1s1.5 -1.102 2 -.5c.509 .609 1.863 7.65 2.5 9c.556 1.184 1.978 2.89 4 1.5c2 -1.5 7.5 -5.5 8.5 -11.5c.444 -2.661 -1 -4 -2.5 -4c-2 0 -4.047 1.202 -4.5 4c2.05 -1.254 2.551 1.003 1.5 3c-1.052 2.005 -2 3 -2.5 3c-.49 0 -.924 -1.165 -1.5 -3.5c-.59 -2.42 -.5 -6.5 -3 -6.5s-5.5 4.5 -5.5 4.5z" /></svg>
  1230. </a>
  1231. <a href="javascript:void(0)" class="btn btn-dribbble btn-icon" aria-label="Button">
  1232. <!-- Download SVG icon from http://tabler-icons.io/i/brand-dribbble -->
  1233. <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="12" cy="12" r="9" /><path d="M9 3.6c5 6 7 10.5 7.5 16.2" /><path d="M6.4 19c3.5 -3.5 6 -6.5 14.5 -6.4" /><path d="M3.1 10.75c5 0 9.814 -.38 15.314 -5" /></svg>
  1234. </a>
  1235. <a href="javascript:void(0)" class="btn btn-github btn-icon" aria-label="Button">
  1236. <!-- Download SVG icon from http://tabler-icons.io/i/brand-github -->
  1237. <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="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>
  1238. </a>
  1239. <a href="javascript:void(0)" class="btn btn-instagram btn-icon" aria-label="Button">
  1240. <!-- Download SVG icon from http://tabler-icons.io/i/brand-instagram -->
  1241. <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="16" height="16" rx="4" /><circle cx="12" cy="12" r="3" /><line x1="16.5" y1="7.5" x2="16.5" y2="7.501" /></svg>
  1242. </a>
  1243. <a href="javascript:void(0)" class="btn btn-pinterest btn-icon" aria-label="Button">
  1244. <!-- Download SVG icon from http://tabler-icons.io/i/brand-pinterest -->
  1245. <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" /><line x1="8" y1="20" x2="12" y2="11" /><path d="M10.7 14c.437 1.263 1.43 2 2.55 2c2.071 0 3.75 -1.554 3.75 -4a5 5 0 1 0 -9.7 1.7" /><circle cx="12" cy="12" r="9" /></svg>
  1246. </a>
  1247. <a href="javascript:void(0)" class="btn btn-vk btn-icon" aria-label="Button">
  1248. <!-- Download SVG icon from http://tabler-icons.io/i/brand-vk -->
  1249. <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 6h2v12c-4.5 -1 -8 -6.5 -9 -12" /><path d="M20 6c-1 2 -3 5 -5 6h-3" /><path d="M20 18c-1 -2 -3 -5 -5 -6" /></svg>
  1250. </a>
  1251. <a href="javascript:void(0)" class="btn btn-rss btn-icon" aria-label="Button">
  1252. <!-- Download SVG icon from http://tabler-icons.io/i/rss -->
  1253. <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="5" cy="19" r="1" /><path d="M4 4a16 16 0 0 1 16 16" /><path d="M4 11a9 9 0 0 1 9 9" /></svg>
  1254. </a>
  1255. <a href="javascript:void(0)" class="btn btn-flickr btn-icon" aria-label="Button">
  1256. <!-- Download SVG icon from http://tabler-icons.io/i/brand-flickr -->
  1257. <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="7" cy="12" r="3" /><circle cx="17" cy="12" r="3" /></svg>
  1258. </a>
  1259. <a href="javascript:void(0)" class="btn btn-bitbucket btn-icon" aria-label="Button">
  1260. <!-- Download SVG icon from http://tabler-icons.io/i/brand-bitbucket -->
  1261. <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="M3.648 4a0.64 .64 0 0 0 -.64 .744l3.14 14.528c.07 .417 .43 .724 .852 .728h10a0.644 .644 0 0 0 .642 -.539l3.35 -14.71a0.641 .641 0 0 0 -.64 -.744l-16.704 -.007z" /><path d="M14 15h-4l-1 -6h6z" /></svg>
  1262. </a>
  1263. <a href="javascript:void(0)" class="btn btn-tabler btn-icon" aria-label="Button">
  1264. <!-- Download SVG icon from http://tabler-icons.io/i/brand-tabler -->
  1265. <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="M8 9l3 3l-3 3" /><line x1="13" y1="15" x2="16" y2="15" /><rect x="4" y="4" width="16" height="16" rx="4" /></svg>
  1266. </a>
  1267. </div>
  1268. </div>
  1269. </div>
  1270. <div class="example-code">
  1271. <figure class="highlight">
  1272. <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-facebook btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1273. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-facebook --&gt;</span>
  1274. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1275. <span class="nt">&lt;/a&gt;</span>
  1276. <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-twitter btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1277. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-twitter --&gt;</span>
  1278. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1279. <span class="nt">&lt;/a&gt;</span>
  1280. <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-google btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1281. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-google --&gt;</span>
  1282. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1283. <span class="nt">&lt;/a&gt;</span>
  1284. <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-youtube btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1285. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-youtube --&gt;</span>
  1286. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1287. <span class="nt">&lt;/a&gt;</span>
  1288. <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-vimeo btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1289. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-vimeo --&gt;</span>
  1290. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1291. <span class="nt">&lt;/a&gt;</span>
  1292. <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-dribbble btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1293. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-dribbble --&gt;</span>
  1294. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1295. <span class="nt">&lt;/a&gt;</span>
  1296. <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-github btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1297. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-github --&gt;</span>
  1298. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1299. <span class="nt">&lt;/a&gt;</span>
  1300. <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-instagram btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1301. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-instagram --&gt;</span>
  1302. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1303. <span class="nt">&lt;/a&gt;</span>
  1304. <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-pinterest btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1305. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-pinterest --&gt;</span>
  1306. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1307. <span class="nt">&lt;/a&gt;</span>
  1308. <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-vk btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1309. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-vk --&gt;</span>
  1310. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1311. <span class="nt">&lt;/a&gt;</span>
  1312. <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-rss btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1313. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/rss --&gt;</span>
  1314. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1315. <span class="nt">&lt;/a&gt;</span>
  1316. <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-flickr btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1317. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-flickr --&gt;</span>
  1318. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1319. <span class="nt">&lt;/a&gt;</span>
  1320. <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-bitbucket btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1321. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-bitbucket --&gt;</span>
  1322. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1323. <span class="nt">&lt;/a&gt;</span>
  1324. <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-tabler btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1325. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-tabler --&gt;</span>
  1326. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1327. <span class="nt">&lt;/a&gt;</span></code></pre>
  1328. </figure>
  1329. </div>
  1330. <h2 id="icon-buttons">Icon buttons</h2>
  1331. <p>Add the <code class="language-plaintext highlighter-rouge">.btn-icon</code> class to remove unnecessary padding from your button and use an icon without any additional label. Thanks to that, you can save space and make the action easy to recognize for international users.</p>
  1332. <div class="example no_toc_section example-centered">
  1333. <div class="example-content">
  1334. <div class="btn-list">
  1335. <a href="javascript:void(0)" class="btn btn-primary btn-icon" aria-label="Button">
  1336. <!-- Download SVG icon from http://tabler-icons.io/i/activity -->
  1337. <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="M3 12h4l3 8l4 -16l3 8h4" /></svg>
  1338. </a>
  1339. <a href="javascript:void(0)" class="btn btn-github btn-icon" aria-label="Button">
  1340. <!-- Download SVG icon from http://tabler-icons.io/i/brand-github -->
  1341. <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="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>
  1342. </a>
  1343. <a href="javascript:void(0)" class="btn btn-success btn-icon" aria-label="Button">
  1344. <!-- Download SVG icon from http://tabler-icons.io/i/bell -->
  1345. <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>
  1346. </a>
  1347. <a href="javascript:void(0)" class="btn btn-warning btn-icon" aria-label="Button">
  1348. <!-- Download SVG icon from http://tabler-icons.io/i/star -->
  1349. <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>
  1350. </a>
  1351. <a href="javascript:void(0)" class="btn btn-danger btn-icon" aria-label="Button">
  1352. <!-- Download SVG icon from http://tabler-icons.io/i/trash -->
  1353. <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" /><line x1="4" y1="7" x2="20" y2="7" /><line x1="10" y1="11" x2="10" y2="17" /><line x1="14" y1="11" x2="14" y2="17" /><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" /><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" /></svg>
  1354. </a>
  1355. <a href="javascript:void(0)" class="btn btn-purple btn-icon" aria-label="Button">
  1356. <!-- Download SVG icon from http://tabler-icons.io/i/chart-bar -->
  1357. <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="3" y="12" width="6" height="8" rx="1" /><rect x="9" y="8" width="6" height="12" rx="1" /><rect x="15" y="4" width="6" height="16" rx="1" /><line x1="4" y1="20" x2="18" y2="20" /></svg>
  1358. </a>
  1359. <a href="javascript:void(0)" class="btn btn-white btn-icon" aria-label="Button">
  1360. <!-- Download SVG icon from http://tabler-icons.io/i/git-merge -->
  1361. <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="7" cy="18" r="2" /><circle cx="7" cy="6" r="2" /><circle cx="17" cy="12" r="2" /><line x1="7" y1="8" x2="7" y2="16" /><path d="M7 8a4 4 0 0 0 4 4h4" /></svg>
  1362. </a>
  1363. </div>
  1364. </div>
  1365. </div>
  1366. <div class="example-code">
  1367. <figure class="highlight">
  1368. <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-primary btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1369. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/activity --&gt;</span>
  1370. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1371. <span class="nt">&lt;/a&gt;</span>
  1372. <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-github btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1373. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/brand-github --&gt;</span>
  1374. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1375. <span class="nt">&lt;/a&gt;</span>
  1376. <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-success btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1377. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/bell --&gt;</span>
  1378. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1379. <span class="nt">&lt;/a&gt;</span>
  1380. <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-warning btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1381. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/star --&gt;</span>
  1382. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1383. <span class="nt">&lt;/a&gt;</span>
  1384. <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-danger btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1385. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/trash --&gt;</span>
  1386. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1387. <span class="nt">&lt;/a&gt;</span>
  1388. <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-purple btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1389. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/chart-bar --&gt;</span>
  1390. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1391. <span class="nt">&lt;/a&gt;</span>
  1392. <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 btn-icon"</span> <span class="na">aria-label=</span><span class="s">"Button"</span><span class="nt">&gt;</span>
  1393. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/git-merge --&gt;</span>
  1394. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1395. <span class="nt">&lt;/a&gt;</span></code></pre>
  1396. </figure>
  1397. </div>
  1398. <h2 id="dropdown-buttons">Dropdown buttons</h2>
  1399. <p>Create a dropdown button that will encourage users to click for more options. You can add a label with an icon or remove the label and add an icon on its own if you want to save space. Choose the option that will best suit your design and improve the user experience.</p>
  1400. <div class="example no_toc_section example-centered">
  1401. <div class="example-content">
  1402. <div class="btn-list">
  1403. <div class="dropdown">
  1404. <button type="button" class="btn dropdown-toggle" data-bs-toggle="dropdown">
  1405. <!-- Download SVG icon from http://tabler-icons.io/i/calendar -->
  1406. <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="5" width="16" height="16" rx="2" /><line x1="16" y1="3" x2="16" y2="7" /><line x1="8" y1="3" x2="8" y2="7" /><line x1="4" y1="11" x2="20" y2="11" /><line x1="11" y1="15" x2="12" y2="15" /><line x1="12" y1="15" x2="12" y2="18" /></svg>
  1407. </button>
  1408. <div class="dropdown-menu">
  1409. <a class="dropdown-item" href="javascript:void(0)">
  1410. Action
  1411. </a>
  1412. <a class="dropdown-item" href="javascript:void(0)">
  1413. Another action
  1414. </a>
  1415. </div>
  1416. </div>
  1417. <div class="dropdown">
  1418. <button type="button" class="btn dropdown-toggle" data-bs-toggle="dropdown">
  1419. <!-- Download SVG icon from http://tabler-icons.io/i/calendar -->
  1420. <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="5" width="16" height="16" rx="2" /><line x1="16" y1="3" x2="16" y2="7" /><line x1="8" y1="3" x2="8" y2="7" /><line x1="4" y1="11" x2="20" y2="11" /><line x1="11" y1="15" x2="12" y2="15" /><line x1="12" y1="15" x2="12" y2="18" /></svg>
  1421. Show calendar
  1422. </button>
  1423. <div class="dropdown-menu">
  1424. <a class="dropdown-item" href="javascript:void(0)">
  1425. Action
  1426. </a>
  1427. <a class="dropdown-item" href="javascript:void(0)">
  1428. Another action
  1429. </a>
  1430. </div>
  1431. </div>
  1432. <div class="dropdown">
  1433. <button type="button" class="btn dropdown-toggle" data-bs-toggle="dropdown">
  1434. Show calendar
  1435. </button>
  1436. <div class="dropdown-menu">
  1437. <a class="dropdown-item" href="javascript:void(0)">
  1438. Action
  1439. </a>
  1440. <a class="dropdown-item" href="javascript:void(0)">
  1441. Another action
  1442. </a>
  1443. </div>
  1444. </div>
  1445. </div>
  1446. </div>
  1447. </div>
  1448. <div class="example-code">
  1449. <figure class="highlight">
  1450. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown"</span><span class="nt">&gt;</span>
  1451. <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 dropdown-toggle"</span> <span class="na">data-bs-toggle=</span><span class="s">"dropdown"</span><span class="nt">&gt;</span>
  1452. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/calendar --&gt;</span>
  1453. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1454. <span class="nt">&lt;/button&gt;</span>
  1455. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu"</span><span class="nt">&gt;</span>
  1456. <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>
  1457. Action
  1458. <span class="nt">&lt;/a&gt;</span>
  1459. <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>
  1460. Another action
  1461. <span class="nt">&lt;/a&gt;</span>
  1462. <span class="nt">&lt;/div&gt;</span>
  1463. <span class="nt">&lt;/div&gt;</span>
  1464. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown"</span><span class="nt">&gt;</span>
  1465. <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 dropdown-toggle"</span> <span class="na">data-bs-toggle=</span><span class="s">"dropdown"</span><span class="nt">&gt;</span>
  1466. <span class="c">&lt;!-- Download SVG icon from http://tabler-icons.io/i/calendar --&gt;</span>
  1467. <span class="c">&lt;!-- SVG icon code --&gt;</span>
  1468. Show calendar
  1469. <span class="nt">&lt;/button&gt;</span>
  1470. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu"</span><span class="nt">&gt;</span>
  1471. <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>
  1472. Action
  1473. <span class="nt">&lt;/a&gt;</span>
  1474. <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>
  1475. Another action
  1476. <span class="nt">&lt;/a&gt;</span>
  1477. <span class="nt">&lt;/div&gt;</span>
  1478. <span class="nt">&lt;/div&gt;</span>
  1479. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown"</span><span class="nt">&gt;</span>
  1480. <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 dropdown-toggle"</span> <span class="na">data-bs-toggle=</span><span class="s">"dropdown"</span><span class="nt">&gt;</span>
  1481. Show calendar
  1482. <span class="nt">&lt;/button&gt;</span>
  1483. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"dropdown-menu"</span><span class="nt">&gt;</span>
  1484. <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>
  1485. Action
  1486. <span class="nt">&lt;/a&gt;</span>
  1487. <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>
  1488. Another action
  1489. <span class="nt">&lt;/a&gt;</span>
  1490. <span class="nt">&lt;/div&gt;</span>
  1491. <span class="nt">&lt;/div&gt;</span></code></pre>
  1492. </figure>
  1493. </div>
  1494. <h2 id="loading-buttons">Loading buttons</h2>
  1495. <p>Add the <code class="language-plaintext highlighter-rouge">.btn-loading</code> class to show a button’s loading state, which can be useful in the case of operations that take longer to process. Thanks to that, users will be aware of the current state of their action and won’t give it up before it’s finished.</p>
  1496. <div class="example no_toc_section example-centered">
  1497. <div class="example-content">
  1498. <div class="btn-list">
  1499. <a href="javascript:void(0)" class="btn btn-primary btn-loading">
  1500. Button
  1501. </a>
  1502. <a href="javascript:void(0)" class="btn btn-primary btn-loading">
  1503. Loading button with loooong content
  1504. </a>
  1505. </div>
  1506. </div>
  1507. </div>
  1508. <div class="example-code">
  1509. <figure class="highlight">
  1510. <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-primary btn-loading"</span><span class="nt">&gt;</span>
  1511. Button
  1512. <span class="nt">&lt;/a&gt;</span>
  1513. <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 btn-loading"</span><span class="nt">&gt;</span>
  1514. Loading button with loooong content
  1515. <span class="nt">&lt;/a&gt;</span></code></pre>
  1516. </figure>
  1517. </div>
  1518. <div class="example no_toc_section example-centered">
  1519. <div class="example-content">
  1520. <a href="javascript:void(0)" class="btn btn-primary">
  1521. <span class="spinner-border spinner-border-sm me-2" role="status"></span>
  1522. Button
  1523. </a>
  1524. </div>
  1525. </div>
  1526. <div class="example-code">
  1527. <figure class="highlight">
  1528. <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-primary"</span><span class="nt">&gt;</span>
  1529. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"spinner-border spinner-border-sm me-2"</span> <span class="na">role=</span><span class="s">"status"</span><span class="nt">&gt;&lt;/span&gt;</span>
  1530. Button
  1531. <span class="nt">&lt;/a&gt;</span></code></pre>
  1532. </figure>
  1533. </div>
  1534. <h2 id="list-of-buttons">List of buttons</h2>
  1535. <p>Create a list of buttons using the <code class="language-plaintext highlighter-rouge">.btn-list</code> container to display different actions a user can take. If you add aditional styling, such as colours, you will be able to focus users’ attention on a particular action or suggest the result.</p>
  1536. <div class="example no_toc_section">
  1537. <div class="example-content">
  1538. <div class="btn-list">
  1539. <a href="javascript:void(0)" class="btn btn-success">Save changes</a>
  1540. <a href="javascript:void(0)" class="btn">Save and continue</a>
  1541. <a href="javascript:void(0)" class="btn btn-danger">Cancel</a>
  1542. </div>
  1543. </div>
  1544. </div>
  1545. <div class="example-code">
  1546. <figure class="highlight">
  1547. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"btn-list"</span><span class="nt">&gt;</span>
  1548. <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-success"</span><span class="nt">&gt;</span>Save changes<span class="nt">&lt;/a&gt;</span>
  1549. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Save and continue<span class="nt">&lt;/a&gt;</span>
  1550. <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-danger"</span><span class="nt">&gt;</span>Cancel<span class="nt">&lt;/a&gt;</span>
  1551. <span class="nt">&lt;/div&gt;</span></code></pre>
  1552. </figure>
  1553. </div>
  1554. <p>If the list is long, it will be wrapped and some buttons will be moved to the next line, keeping them all evenly spaced.</p>
  1555. <div class="example no_toc_section">
  1556. <div class="example-content">
  1557. <div class="btn-list">
  1558. <a href="javascript:void(0)" class="btn">One</a>
  1559. <a href="javascript:void(0)" class="btn">Two</a>
  1560. <a href="javascript:void(0)" class="btn">Three</a>
  1561. <a href="javascript:void(0)" class="btn">Four</a>
  1562. <a href="javascript:void(0)" class="btn">Five</a>
  1563. <a href="javascript:void(0)" class="btn">Six</a>
  1564. <a href="javascript:void(0)" class="btn">Seven</a>
  1565. <a href="javascript:void(0)" class="btn">Eight</a>
  1566. <a href="javascript:void(0)" class="btn">Nine</a>
  1567. <a href="javascript:void(0)" class="btn">Ten</a>
  1568. <a href="javascript:void(0)" class="btn">Eleven</a>
  1569. <a href="javascript:void(0)" class="btn">Twelve</a>
  1570. <a href="javascript:void(0)" class="btn">Thirteen</a>
  1571. <a href="javascript:void(0)" class="btn">Fourteen</a>
  1572. <a href="javascript:void(0)" class="btn">Fifteen</a>
  1573. <a href="javascript:void(0)" class="btn">Sixteen</a>
  1574. <a href="javascript:void(0)" class="btn">Seventeen</a>
  1575. <a href="javascript:void(0)" class="btn">Eighteen</a>
  1576. <a href="javascript:void(0)" class="btn">Nineteen</a>
  1577. </div>
  1578. </div>
  1579. </div>
  1580. <div class="example-code">
  1581. <figure class="highlight">
  1582. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"btn-list"</span><span class="nt">&gt;</span>
  1583. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>One<span class="nt">&lt;/a&gt;</span>
  1584. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Two<span class="nt">&lt;/a&gt;</span>
  1585. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Three<span class="nt">&lt;/a&gt;</span>
  1586. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Four<span class="nt">&lt;/a&gt;</span>
  1587. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Five<span class="nt">&lt;/a&gt;</span>
  1588. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Six<span class="nt">&lt;/a&gt;</span>
  1589. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Seven<span class="nt">&lt;/a&gt;</span>
  1590. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Eight<span class="nt">&lt;/a&gt;</span>
  1591. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Nine<span class="nt">&lt;/a&gt;</span>
  1592. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Ten<span class="nt">&lt;/a&gt;</span>
  1593. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Eleven<span class="nt">&lt;/a&gt;</span>
  1594. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Twelve<span class="nt">&lt;/a&gt;</span>
  1595. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Thirteen<span class="nt">&lt;/a&gt;</span>
  1596. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Fourteen<span class="nt">&lt;/a&gt;</span>
  1597. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Fifteen<span class="nt">&lt;/a&gt;</span>
  1598. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Sixteen<span class="nt">&lt;/a&gt;</span>
  1599. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Seventeen<span class="nt">&lt;/a&gt;</span>
  1600. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Eighteen<span class="nt">&lt;/a&gt;</span>
  1601. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Nineteen<span class="nt">&lt;/a&gt;</span>
  1602. <span class="nt">&lt;/div&gt;</span></code></pre>
  1603. </figure>
  1604. </div>
  1605. <p>Use the <code class="language-plaintext highlighter-rouge">.text-center</code> or the <code class="language-plaintext highlighter-rouge">.text-end</code> modifiers to change the buttons’ alignment and place them where they suit best.</p>
  1606. <div class="example no_toc_section">
  1607. <div class="example-content">
  1608. <div class="btn-list justify-content-center">
  1609. <a href="javascript:void(0)" class="btn">Save and continue</a>
  1610. <a href="javascript:void(0)" class="btn btn-primary">Save changes</a>
  1611. </div>
  1612. </div>
  1613. </div>
  1614. <div class="example-code">
  1615. <figure class="highlight">
  1616. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"btn-list justify-content-center"</span><span class="nt">&gt;</span>
  1617. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Save and continue<span class="nt">&lt;/a&gt;</span>
  1618. <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"</span><span class="nt">&gt;</span>Save changes<span class="nt">&lt;/a&gt;</span>
  1619. <span class="nt">&lt;/div&gt;</span></code></pre>
  1620. </figure>
  1621. </div>
  1622. <div class="example no_toc_section">
  1623. <div class="example-content">
  1624. <div class="btn-list justify-content-end">
  1625. <a href="javascript:void(0)" class="btn">Save and continue</a>
  1626. <a href="javascript:void(0)" class="btn btn-primary">Save changes</a>
  1627. </div>
  1628. </div>
  1629. </div>
  1630. <div class="example-code">
  1631. <figure class="highlight">
  1632. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"btn-list justify-content-end"</span><span class="nt">&gt;</span>
  1633. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Save and continue<span class="nt">&lt;/a&gt;</span>
  1634. <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"</span><span class="nt">&gt;</span>Save changes<span class="nt">&lt;/a&gt;</span>
  1635. <span class="nt">&lt;/div&gt;</span></code></pre>
  1636. </figure>
  1637. </div>
  1638. <div class="example no_toc_section">
  1639. <div class="example-content">
  1640. <div class="btn-list">
  1641. <a href="javascript:void(0)" class="btn btn-outline-danger me-auto">Delete</a>
  1642. <a href="javascript:void(0)" class="btn">Save and continue</a>
  1643. <a href="javascript:void(0)" class="btn btn-primary">Save changes</a>
  1644. </div>
  1645. </div>
  1646. </div>
  1647. <div class="example-code">
  1648. <figure class="highlight">
  1649. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"btn-list"</span><span class="nt">&gt;</span>
  1650. <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-outline-danger me-auto"</span><span class="nt">&gt;</span>Delete<span class="nt">&lt;/a&gt;</span>
  1651. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>Save and continue<span class="nt">&lt;/a&gt;</span>
  1652. <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"</span><span class="nt">&gt;</span>Save changes<span class="nt">&lt;/a&gt;</span>
  1653. <span class="nt">&lt;/div&gt;</span></code></pre>
  1654. </figure>
  1655. </div>
  1656. <h2 id="buttons-with-avatars">Buttons with avatars</h2>
  1657. <p>Use buttons with avatars to simplify the process of interaction and make your design more personalized. Buttons can contain avatars and labels or only avatars, if displayed on a smaller space.</p>
  1658. <div class="example no_toc_section example-centered">
  1659. <div class="example-content">
  1660. <div class="btn-list">
  1661. <a href="javascript:void(0)" class="btn">
  1662. <span class="avatar" style="background-image: url(../static/avatars/003m.jpg)"></span>
  1663. Avatar
  1664. </a>
  1665. <a href="javascript:void(0)" class="btn">
  1666. <span class="avatar" style="background-image: url(../static/avatars/000f.jpg)"></span>
  1667. Avatar
  1668. </a>
  1669. <a href="javascript:void(0)" class="btn">
  1670. <span class="avatar" style="background-image: url(../static/avatars/001f.jpg)"></span>
  1671. Avatar
  1672. </a>
  1673. </div>
  1674. </div>
  1675. </div>
  1676. <div class="example-code">
  1677. <figure class="highlight">
  1678. <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"</span><span class="nt">&gt;</span>
  1679. <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>
  1680. Avatar
  1681. <span class="nt">&lt;/a&gt;</span>
  1682. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>
  1683. <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>
  1684. Avatar
  1685. <span class="nt">&lt;/a&gt;</span>
  1686. <span class="nt">&lt;a</span> <span class="na">href=</span><span class="s">"#"</span> <span class="na">class=</span><span class="s">"btn"</span><span class="nt">&gt;</span>
  1687. <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>
  1688. Avatar
  1689. <span class="nt">&lt;/a&gt;</span></code></pre>
  1690. </figure>
  1691. </div>
  1692. </div>
  1693. </div>
  1694. </div>
  1695. </div>
  1696. </div>
  1697. </div>
  1698. </div>
  1699. <footer class="footer footer-transparent d-print-none">
  1700. <div class="container">
  1701. <div class="row text-center align-items-center flex-row-reverse">
  1702. <div class="col-lg-auto ms-lg-auto">
  1703. <ul class="list-inline list-inline-dots mb-0">
  1704. <li class="list-inline-item"><a href="../docs/index.html" class="link-secondary">Documentation</a></li>
  1705. <li class="list-inline-item"><a href="../license.html" class="link-secondary">License</a></li>
  1706. <li class="list-inline-item"><a href="https://github.com/tabler/tabler" target="_blank" class="link-secondary" rel="noopener">Source code</a></li>
  1707. <li class="list-inline-item">
  1708. <a href="https://github.com/sponsors/codecalm" target="_blank" class="link-secondary" rel="noopener">
  1709. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  1710. <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>
  1711. Sponsor
  1712. </a>
  1713. </li>
  1714. </ul>
  1715. </div>
  1716. <div class="col-12 col-lg-auto mt-3 mt-lg-0">
  1717. <ul class="list-inline list-inline-dots mb-0">
  1718. <li class="list-inline-item">
  1719. Copyright &copy; 2021
  1720. <a href=".." class="link-secondary">Tabler</a>.
  1721. All rights reserved.
  1722. </li>
  1723. <li class="list-inline-item">
  1724. <a href="../changelog.html" class="link-secondary" rel="noopener">v1.0.0-beta4</a>
  1725. </li>
  1726. </ul>
  1727. </div>
  1728. </div>
  1729. </div>
  1730. </footer>
  1731. </div>
  1732. </div>
  1733. <!-- Libs JS -->
  1734. <!-- Tabler Core -->
  1735. <script src="../dist/js/tabler.min.js"></script>
  1736. </body>
  1737. </html>