toasts.html 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  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>Toasts - Tabler - Premium and Open Source dashboard template with responsive and high quality UI.</title>
  16. <!-- CSS files -->
  17. <link href="../dist/css/tabler.min.css" rel="stylesheet"/>
  18. <link href="../dist/css/tabler-flags.min.css" rel="stylesheet"/>
  19. <link href="../dist/css/tabler-payments.min.css" rel="stylesheet"/>
  20. <link href="../dist/css/tabler-vendors.min.css" rel="stylesheet"/>
  21. <link href="../dist/css/demo.min.css" rel="stylesheet"/>
  22. </head>
  23. <body class="antialiased">
  24. <div class="wrapper">
  25. <header class="navbar navbar-expand-md navbar-light d-print-none">
  26. <div class="container-xl">
  27. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-menu">
  28. <span class="navbar-toggler-icon"></span>
  29. </button>
  30. <h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
  31. <a href="..">
  32. <img src="../static/logo.svg" width="110" height="32" alt="Tabler" class="navbar-brand-image">
  33. </a>
  34. </h1>
  35. <div class="navbar-nav flex-row order-md-last">
  36. <div class="nav-item d-none d-md-flex me-3">
  37. <div class="btn-list">
  38. <a href="https://github.com/tabler/tabler" class="btn btn-outline-white" target="_blank" rel="noreferrer">
  39. <!-- Download SVG icon from http://tabler-icons.io/i/brand-github -->
  40. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" /></svg>
  41. Source code
  42. </a>
  43. <a href="https://github.com/sponsors/codecalm" class="btn btn-outline-white" target="_blank" rel="noreferrer">
  44. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  45. <svg xmlns="http://www.w3.org/2000/svg" class="icon text-pink" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M19.5 13.572l-7.5 7.428l-7.5 -7.428m0 0a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572" /></svg>
  46. Sponsor
  47. </a>
  48. </div>
  49. </div>
  50. <div class="nav-item dropdown d-none d-md-flex me-3">
  51. <a href="#" class="nav-link px-0" data-bs-toggle="dropdown" tabindex="-1" aria-label="Show notifications">
  52. <!-- Download SVG icon from http://tabler-icons.io/i/bell -->
  53. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6" /><path d="M9 17v1a3 3 0 0 0 6 0v-1" /></svg>
  54. <span class="badge bg-red"></span>
  55. </a>
  56. <div class="dropdown-menu dropdown-menu-end dropdown-menu-card">
  57. <div class="card">
  58. <div class="card-body">
  59. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus ad amet consectetur exercitationem fugiat in ipsa ipsum, natus odio quidem quod repudiandae sapiente. Amet debitis et magni maxime necessitatibus ullam.
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="nav-item dropdown">
  65. <a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown" aria-label="Open user menu">
  66. <span class="avatar avatar-sm" style="background-image: url(../static/avatars/000m.jpg)"></span>
  67. <div class="d-none d-xl-block ps-2">
  68. <div>Paweł Kuna</div>
  69. <div class="mt-1 small text-muted">UI Designer</div>
  70. </div>
  71. </a>
  72. <div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
  73. <a href="#" class="dropdown-item">Set status</a>
  74. <a href="#" class="dropdown-item">Profile & account</a>
  75. <a href="#" class="dropdown-item">Feedback</a>
  76. <div class="dropdown-divider"></div>
  77. <a href="#" class="dropdown-item">Settings</a>
  78. <a href="#" class="dropdown-item">Logout</a>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </header>
  84. <div class="navbar-expand-md">
  85. <div class="collapse navbar-collapse" id="navbar-menu">
  86. <div class="navbar navbar-light">
  87. <div class="container-xl">
  88. <ul class="navbar-nav">
  89. <li class="nav-item">
  90. <a class="nav-link" href="../index.html" >
  91. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
  92. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="5 12 3 12 12 3 21 12 19 12" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" /></svg>
  93. </span>
  94. <span class="nav-link-title">
  95. Home
  96. </span>
  97. </a>
  98. </li>
  99. <li class="nav-item dropdown">
  100. <a class="nav-link dropdown-toggle" href="#navbar-base" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  101. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/package -->
  102. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="12 3 20 7.5 20 16.5 12 21 4 16.5 4 7.5 12 3" /><line x1="12" y1="12" x2="20" y2="7.5" /><line x1="12" y1="12" x2="12" y2="21" /><line x1="12" y1="12" x2="4" y2="7.5" /><line x1="16" y1="5.25" x2="8" y2="9.75" /></svg>
  103. </span>
  104. <span class="nav-link-title">
  105. Interface
  106. </span>
  107. </a>
  108. <div class="dropdown-menu">
  109. <div class="dropdown-menu-columns">
  110. <div class="dropdown-menu-column">
  111. <a class="dropdown-item" href="../empty.html" >
  112. Empty page
  113. </a>
  114. <a class="dropdown-item" href="../accordion.html" >
  115. Accordion
  116. </a>
  117. <a class="dropdown-item" href="../blank.html" >
  118. Blank page
  119. </a>
  120. <a class="dropdown-item" href="../buttons.html" >
  121. Buttons
  122. </a>
  123. <a class="dropdown-item" href="../cards.html" >
  124. Cards
  125. </a>
  126. <a class="dropdown-item" href="../cards-masonry.html" >
  127. Cards Masonry
  128. </a>
  129. <a class="dropdown-item" href="../colors.html" >
  130. Colors
  131. </a>
  132. <a class="dropdown-item" href="../dropdowns.html" >
  133. Dropdowns
  134. </a>
  135. <a class="dropdown-item" href="../icons.html" >
  136. Icons
  137. </a>
  138. <a class="dropdown-item" href="../modals.html" >
  139. Modals
  140. </a>
  141. <a class="dropdown-item" href="../maps.html" >
  142. Maps
  143. </a>
  144. <a class="dropdown-item" href="../map-fullsize.html" >
  145. Map fullsize
  146. </a>
  147. <a class="dropdown-item" href="../maps-vector.html" >
  148. Vector maps
  149. </a>
  150. </div>
  151. <div class="dropdown-menu-column">
  152. <a class="dropdown-item" href="../navigation.html" >
  153. Navigation
  154. </a>
  155. <a class="dropdown-item" href="../charts.html" >
  156. Charts
  157. </a>
  158. <a class="dropdown-item" href="../pagination.html" >
  159. Pagination
  160. </a>
  161. <a class="dropdown-item" href="../skeleton.html" >
  162. Skeleton
  163. </a>
  164. <a class="dropdown-item" href="../tabs.html" >
  165. Tabs
  166. </a>
  167. <a class="dropdown-item" href="../tables.html" >
  168. Tables
  169. </a>
  170. <a class="dropdown-item" href="../carousel.html" >
  171. Carousel
  172. </a>
  173. <a class="dropdown-item" href="../lists.html" >
  174. Lists
  175. </a>
  176. <a class="dropdown-item" href="../typography.html" >
  177. Typography
  178. </a>
  179. <a class="dropdown-item" href="../offcanvas.html" >
  180. Offcanvas
  181. </a>
  182. <a class="dropdown-item" href="../markdown.html" >
  183. Markdown
  184. </a>
  185. <div class="dropend">
  186. <a class="dropdown-item dropdown-toggle" href="#sidebar-authentication" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  187. Authentication
  188. </a>
  189. <div class="dropdown-menu">
  190. <a href="../sign-in.html" class="dropdown-item">Sign in</a>
  191. <a href="../sign-up.html" class="dropdown-item">Sign up</a>
  192. <a href="../forgot-password.html" class="dropdown-item">Forgot password</a>
  193. <a href="../terms-of-service.html" class="dropdown-item">Terms of service</a>
  194. <a href="../auth-lock.html" class="dropdown-item">Lock screen</a>
  195. </div>
  196. </div>
  197. <div class="dropend">
  198. <a class="dropdown-item dropdown-toggle" href="#sidebar-error" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  199. Error pages
  200. </a>
  201. <div class="dropdown-menu">
  202. <a href="../error-404.html" class="dropdown-item">404 page</a>
  203. <a href="../error-500.html" class="dropdown-item">500 page</a>
  204. <a href="../error-maintenance.html" class="dropdown-item">Maintenance page</a>
  205. </div>
  206. </div>
  207. </div>
  208. </div>
  209. </div>
  210. </li>
  211. <li class="nav-item">
  212. <a class="nav-link" href="../form-elements.html" >
  213. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/checkbox -->
  214. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="9 11 12 14 20 6" /><path d="M20 12v6a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h9" /></svg>
  215. </span>
  216. <span class="nav-link-title">
  217. Form elements
  218. </span>
  219. </a>
  220. </li>
  221. <li class="nav-item dropdown">
  222. <a class="nav-link dropdown-toggle" href="#navbar-extra" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  223. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/star -->
  224. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z" /></svg>
  225. </span>
  226. <span class="nav-link-title">
  227. Extra
  228. </span>
  229. </a>
  230. <div class="dropdown-menu">
  231. <a class="dropdown-item" href="../activity.html" >
  232. Activity
  233. </a>
  234. <a class="dropdown-item" href="../gallery.html" >
  235. Gallery
  236. </a>
  237. <a class="dropdown-item" href="../invoice.html" >
  238. Invoice
  239. </a>
  240. <a class="dropdown-item" href="../search-results.html" >
  241. Search results
  242. </a>
  243. <a class="dropdown-item" href="../pricing.html" >
  244. Pricing cards
  245. </a>
  246. <a class="dropdown-item" href="../users.html" >
  247. Users
  248. </a>
  249. <a class="dropdown-item" href="../license.html" >
  250. License
  251. </a>
  252. <a class="dropdown-item" href="../music.html" >
  253. Music
  254. </a>
  255. <a class="dropdown-item" href="../widgets.html" >
  256. Widgets
  257. </a>
  258. <a class="dropdown-item" href="../wizard.html" >
  259. Wizard
  260. </a>
  261. </div>
  262. </li>
  263. <li class="nav-item dropdown">
  264. <a class="nav-link dropdown-toggle" href="#navbar-layout" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
  265. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/layout-2 -->
  266. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><rect x="4" y="4" width="6" height="5" rx="2" /><rect x="4" y="13" width="6" height="7" rx="2" /><rect x="14" y="4" width="6" height="7" rx="2" /><rect x="14" y="15" width="6" height="5" rx="2" /></svg>
  267. </span>
  268. <span class="nav-link-title">
  269. Layout
  270. </span>
  271. </a>
  272. <div class="dropdown-menu">
  273. <div class="dropdown-menu-columns">
  274. <div class="dropdown-menu-column">
  275. <a class="dropdown-item" href="../layout-horizontal.html" >
  276. Horizontal
  277. </a>
  278. <a class="dropdown-item" href="../layout-vertical.html" >
  279. Vertical
  280. </a>
  281. <a class="dropdown-item" href="../layout-vertical-transparent.html" >
  282. Vertical transparent
  283. </a>
  284. <a class="dropdown-item" href="../layout-vertical-right.html" >
  285. Right vertical
  286. </a>
  287. <a class="dropdown-item" href="../layout-condensed.html" >
  288. Condensed
  289. </a>
  290. <a class="dropdown-item" href="../layout-condensed-dark.html" >
  291. Condensed dark
  292. </a>
  293. <a class="dropdown-item" href="../layout-combo.html" >
  294. Combined
  295. </a>
  296. </div>
  297. <div class="dropdown-menu-column">
  298. <a class="dropdown-item" href="../layout-navbar-dark.html" >
  299. Navbar dark
  300. </a>
  301. <a class="dropdown-item" href="../layout-navbar-sticky.html" >
  302. Navbar sticky
  303. </a>
  304. <a class="dropdown-item" href="../layout-navbar-overlap.html" >
  305. Navbar overlap
  306. </a>
  307. <a class="dropdown-item" href="../layout-dark.html" >
  308. Dark mode
  309. </a>
  310. <a class="dropdown-item" href="../layout-rtl.html" >
  311. RTL mode
  312. </a>
  313. <a class="dropdown-item" href="../layout-fluid.html" >
  314. Fluid
  315. </a>
  316. <a class="dropdown-item" href="../layout-fluid-vertical.html" >
  317. Fluid vertical
  318. </a>
  319. </div>
  320. </div>
  321. </div>
  322. </li>
  323. <li class="nav-item active">
  324. <a class="nav-link" href="../docs/index.html" >
  325. <span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/file-text -->
  326. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" /><line x1="9" y1="9" x2="10" y2="9" /><line x1="9" y1="13" x2="15" y2="13" /><line x1="9" y1="17" x2="15" y2="17" /></svg>
  327. </span>
  328. <span class="nav-link-title">
  329. Documentation
  330. </span>
  331. </a>
  332. </li>
  333. </ul>
  334. <div class="my-2 my-md-0 flex-grow-1 flex-md-grow-0 order-first order-md-last">
  335. <form action="." method="get">
  336. <div class="input-icon">
  337. <span class="input-icon-addon">
  338. <!-- Download SVG icon from http://tabler-icons.io/i/search -->
  339. <svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><circle cx="10" cy="10" r="7" /><line x1="21" y1="21" x2="15" y2="15" /></svg>
  340. </span>
  341. <input type="text" class="form-control" placeholder="Search…" aria-label="Search in website">
  342. </div>
  343. </form>
  344. </div>
  345. </div>
  346. </div>
  347. </div>
  348. </div>
  349. <div class="page-wrapper">
  350. <div class="container-xl">
  351. <!-- Page title -->
  352. <div class="page-header d-print-none">
  353. <div class="row align-items-center">
  354. <div class="col">
  355. <h2 class="page-title">
  356. Documentation
  357. </h2>
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. <div class="page-body">
  363. <div class="container-xl">
  364. <div class="row gx-lg-4">
  365. <div class="d-none d-lg-block col-lg-3">
  366. <ul class="nav nav-pills nav-vertical">
  367. <li class="nav-item">
  368. <a href="../docs/" class="nav-link">
  369. Introduction
  370. </a>
  371. </li>
  372. <li class="nav-item">
  373. <a href="#menu-base" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  374. Getting started
  375. <span class="nav-link-toggle"></span>
  376. </a>
  377. <ul class="nav nav-pills collapse" id="menu-base">
  378. <li class="nav-item">
  379. <a href="../docs/getting-started.html" class="nav-link">
  380. Getting Started
  381. </a>
  382. </li>
  383. <li class="nav-item">
  384. <a href="../docs/download.html" class="nav-link">
  385. Download
  386. </a>
  387. </li>
  388. <li class="nav-item">
  389. <a href="../docs/browser-support.html" class="nav-link">
  390. Browser Support
  391. </a>
  392. </li>
  393. </ul>
  394. </li>
  395. <li class="nav-item">
  396. <a href="#menu-content" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  397. Content
  398. <span class="nav-link-toggle"></span>
  399. </a>
  400. <ul class="nav nav-pills collapse" id="menu-content">
  401. <li class="nav-item">
  402. <a href="../docs/colors.html" class="nav-link">
  403. Colors
  404. </a>
  405. </li>
  406. <li class="nav-item">
  407. <a href="../docs/typography.html" class="nav-link">
  408. Typography
  409. </a>
  410. </li>
  411. <li class="nav-item">
  412. <a href="../docs/icons.html" class="nav-link">
  413. Icons
  414. </a>
  415. </li>
  416. </ul>
  417. </li>
  418. <li class="nav-item">
  419. <a href="#menu-layout" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  420. Layout
  421. <span class="nav-link-toggle"></span>
  422. </a>
  423. <ul class="nav nav-pills collapse" id="menu-layout">
  424. <li class="nav-item">
  425. <a href="../docs/page-headers.html" class="nav-link">
  426. Page headers
  427. </a>
  428. </li>
  429. </ul>
  430. </li>
  431. <li class="nav-item">
  432. <a href="#menu-forms" class="nav-link" data-bs-toggle="collapse" aria-expanded="false">
  433. Form components
  434. <span class="nav-link-toggle"></span>
  435. </a>
  436. <ul class="nav nav-pills collapse" id="menu-forms">
  437. <li class="nav-item">
  438. <a href="../docs/form-elements.html" class="nav-link">
  439. Form elements
  440. </a>
  441. </li>
  442. <li class="nav-item">
  443. <a href="../docs/form-helpers.html" class="nav-link">
  444. Form helpers
  445. </a>
  446. </li>
  447. <li class="nav-item">
  448. <a href="../docs/form-validation.html" class="nav-link">
  449. Validation states
  450. </a>
  451. </li>
  452. <li class="nav-item">
  453. <a href="../docs/form-image-check.html" class="nav-link">
  454. Image check
  455. </a>
  456. </li>
  457. <li class="nav-item">
  458. <a href="../docs/form-color-check.html" class="nav-link">
  459. Color check
  460. </a>
  461. </li>
  462. <li class="nav-item">
  463. <a href="../docs/form-selectboxes.html" class="nav-link">
  464. Form selectboxes
  465. </a>
  466. </li>
  467. <li class="nav-item">
  468. <a href="../docs/form-fieldset.html" class="nav-link">
  469. Form fieldset
  470. </a>
  471. </li>
  472. </ul>
  473. </li>
  474. <li class="nav-item">
  475. <a href="#menu-components" class="nav-link" data-bs-toggle="collapse" aria-expanded="true">
  476. Components
  477. <span class="nav-link-toggle"></span>
  478. </a>
  479. <ul class="nav nav-pills collapse show" id="menu-components">
  480. <li class="nav-item">
  481. <a href="../docs/alerts.html" class="nav-link">
  482. Alerts
  483. </a>
  484. </li>
  485. <li class="nav-item">
  486. <a href="../docs/avatars.html" class="nav-link">
  487. Avatars
  488. </a>
  489. </li>
  490. <li class="nav-item">
  491. <a href="../docs/badges.html" class="nav-link">
  492. Badges
  493. </a>
  494. </li>
  495. <li class="nav-item">
  496. <a href="../docs/breadcrumb.html" class="nav-link">
  497. Breadcrumb
  498. </a>
  499. </li>
  500. <li class="nav-item">
  501. <a href="../docs/buttons.html" class="nav-link">
  502. Buttons
  503. </a>
  504. </li>
  505. <li class="nav-item">
  506. <a href="../docs/cards.html" class="nav-link">
  507. Cards
  508. </a>
  509. </li>
  510. <li class="nav-item">
  511. <a href="../docs/carousel.html" class="nav-link">
  512. Carousel
  513. </a>
  514. </li>
  515. <li class="nav-item">
  516. <a href="../docs/dropdowns.html" class="nav-link">
  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 active">
  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">Toasts</h1>
  673. <p class="ms-auto">
  674. <a href="https://getbootstrap.com/docs/5.0/components/toasts/" 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>Toasts are lightweight alert boxes which display for a few seconds after a user has taken an action, to inform them of the state or outcome. They can be used when a user clicks a button or submits a form and their aim is to provide feedback, rather than encourage to take action.</p>
  682. </div>
  683. <h2 id="default-markup">Default markup</h2>
  684. <p>Use the default toast message to inform users of the outcome of their action and provide additional information. It contains an <code class="language-plaintext highlighter-rouge">x</code> close button to make it possible for users to close the toast if they wish.</p>
  685. <div class="example no_toc_section">
  686. <div class="example-content">
  687. <div class="toast show" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="false" data-bs-toggle="toast">
  688. <div class="toast-header">
  689. <span class="avatar avatar-xs me-2" style="background-image: url(../static/avatars/002m.jpg)"></span>
  690. <strong class="me-auto">Mallory Hulme</strong>
  691. <small>11 mins ago</small>
  692. <button type="button" class="ms-2 btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
  693. </div>
  694. <div class="toast-body">
  695. Hello, world! This is a toast message.
  696. </div>
  697. </div>
  698. </div>
  699. </div>
  700. <div class="example-code">
  701. <figure class="highlight">
  702. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast show"</span> <span class="na">role=</span><span class="s">"alert"</span> <span class="na">aria-live=</span><span class="s">"assertive"</span> <span class="na">aria-atomic=</span><span class="s">"true"</span> <span class="na">data-bs-autohide=</span><span class="s">"false"</span> <span class="na">data-bs-toggle=</span><span class="s">"toast"</span><span class="nt">&gt;</span>
  703. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast-header"</span><span class="nt">&gt;</span>
  704. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"avatar avatar-xs me-2"</span> <span class="na">style=</span><span class="s">"background-image: url(...)"</span><span class="nt">&gt;&lt;/span&gt;</span>
  705. <span class="nt">&lt;strong</span> <span class="na">class=</span><span class="s">"me-auto"</span><span class="nt">&gt;</span>Mallory Hulme<span class="nt">&lt;/strong&gt;</span>
  706. <span class="nt">&lt;small&gt;</span>11 mins ago<span class="nt">&lt;/small&gt;</span>
  707. <span class="nt">&lt;button</span> <span class="na">type=</span><span class="s">"button"</span> <span class="na">class=</span><span class="s">"ms-2 btn-close"</span> <span class="na">data-bs-dismiss=</span><span class="s">"toast"</span> <span class="na">aria-label=</span><span class="s">"Close"</span><span class="nt">&gt;&lt;/button&gt;</span>
  708. <span class="nt">&lt;/div&gt;</span>
  709. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast-body"</span><span class="nt">&gt;</span>
  710. Hello, world! This is a toast message.
  711. <span class="nt">&lt;/div&gt;</span>
  712. <span class="nt">&lt;/div&gt;</span></code></pre>
  713. </figure>
  714. </div>
  715. <h2 id="translucent">Translucent</h2>
  716. <p>Toasts blend over the elements they appear over. If a browser supports the <code class="language-plaintext highlighter-rouge">backdrop-filter</code> CSS property, the elements under a toast will be blurred.</p>
  717. <div class="example no_toc_section">
  718. <div class="example-content">
  719. <div class="toast show" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="false" data-bs-toggle="toast">
  720. <div class="toast-header">
  721. <span class="avatar avatar-xs me-2" style="background-image: url(../static/avatars/002m.jpg)"></span>
  722. <strong class="me-auto">Mallory Hulme</strong>
  723. <small>11 mins ago</small>
  724. <button type="button" class="ms-2 btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
  725. </div>
  726. <div class="toast-body">
  727. Hello, world! This is a toast message.
  728. </div>
  729. </div>
  730. </div>
  731. </div>
  732. <div class="example-code">
  733. <figure class="highlight">
  734. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast show"</span> <span class="na">role=</span><span class="s">"alert"</span> <span class="na">aria-live=</span><span class="s">"assertive"</span> <span class="na">aria-atomic=</span><span class="s">"true"</span> <span class="na">data-bs-autohide=</span><span class="s">"false"</span> <span class="na">data-bs-toggle=</span><span class="s">"toast"</span><span class="nt">&gt;</span>
  735. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast-header"</span><span class="nt">&gt;</span>
  736. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"avatar avatar-xs me-2"</span> <span class="na">style=</span><span class="s">"background-image: url(...)"</span><span class="nt">&gt;&lt;/span&gt;</span>
  737. <span class="nt">&lt;strong</span> <span class="na">class=</span><span class="s">"me-auto"</span><span class="nt">&gt;</span>Mallory Hulme<span class="nt">&lt;/strong&gt;</span>
  738. <span class="nt">&lt;small&gt;</span>11 mins ago<span class="nt">&lt;/small&gt;</span>
  739. <span class="nt">&lt;button</span> <span class="na">type=</span><span class="s">"button"</span> <span class="na">class=</span><span class="s">"ms-2 btn-close"</span> <span class="na">data-bs-dismiss=</span><span class="s">"toast"</span> <span class="na">aria-label=</span><span class="s">"Close"</span><span class="nt">&gt;&lt;/button&gt;</span>
  740. <span class="nt">&lt;/div&gt;</span>
  741. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast-body"</span><span class="nt">&gt;</span>
  742. Hello, world! This is a toast message.
  743. <span class="nt">&lt;/div&gt;</span>
  744. <span class="nt">&lt;/div&gt;</span></code></pre>
  745. </figure>
  746. </div>
  747. <h2 id="stacking-toasts">Stacking toasts</h2>
  748. <p>Stack multiple toasts together by putting them within one <code class="language-plaintext highlighter-rouge">.toast-container</code>.</p>
  749. <div class="example no_toc_section">
  750. <div class="example-content">
  751. <div class="toast-container">
  752. <div class="toast show" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="false" data-bs-toggle="toast">
  753. <div class="toast-header">
  754. <span class="avatar avatar-xs me-2" style="background-image: url(../static/avatars/003m.jpg)"></span>
  755. <strong class="me-auto">Dunn Slane</strong>
  756. <small>11 mins ago</small>
  757. <button type="button" class="ms-2 btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
  758. </div>
  759. <div class="toast-body">
  760. Hello, world! This is a toast message.
  761. </div>
  762. </div>
  763. <div class="toast show" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="false" data-bs-toggle="toast">
  764. <div class="toast-header">
  765. <span class="avatar avatar-xs me-2" style="background-image: url(../static/avatars/002m.jpg)"></span>
  766. <strong class="me-auto">Mallory Hulme</strong>
  767. <small>7 mins ago</small>
  768. <button type="button" class="ms-2 btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
  769. </div>
  770. <div class="toast-body">
  771. This is another toast message.
  772. </div>
  773. </div>
  774. </div>
  775. </div>
  776. </div>
  777. <div class="example-code">
  778. <figure class="highlight">
  779. <pre><code class="language-html" data-lang="html"><span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast-container"</span><span class="nt">&gt;</span>
  780. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast show"</span> <span class="na">role=</span><span class="s">"alert"</span> <span class="na">aria-live=</span><span class="s">"assertive"</span> <span class="na">aria-atomic=</span><span class="s">"true"</span> <span class="na">data-bs-autohide=</span><span class="s">"false"</span> <span class="na">data-bs-toggle=</span><span class="s">"toast"</span><span class="nt">&gt;</span>
  781. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast-header"</span><span class="nt">&gt;</span>
  782. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"avatar avatar-xs me-2"</span> <span class="na">style=</span><span class="s">"background-image: url(...)"</span><span class="nt">&gt;&lt;/span&gt;</span>
  783. <span class="nt">&lt;strong</span> <span class="na">class=</span><span class="s">"me-auto"</span><span class="nt">&gt;</span>Dunn Slane<span class="nt">&lt;/strong&gt;</span>
  784. <span class="nt">&lt;small&gt;</span>11 mins ago<span class="nt">&lt;/small&gt;</span>
  785. <span class="nt">&lt;button</span> <span class="na">type=</span><span class="s">"button"</span> <span class="na">class=</span><span class="s">"ms-2 btn-close"</span> <span class="na">data-bs-dismiss=</span><span class="s">"toast"</span> <span class="na">aria-label=</span><span class="s">"Close"</span><span class="nt">&gt;&lt;/button&gt;</span>
  786. <span class="nt">&lt;/div&gt;</span>
  787. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast-body"</span><span class="nt">&gt;</span>
  788. Hello, world! This is a toast message.
  789. <span class="nt">&lt;/div&gt;</span>
  790. <span class="nt">&lt;/div&gt;</span>
  791. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast show"</span> <span class="na">role=</span><span class="s">"alert"</span> <span class="na">aria-live=</span><span class="s">"assertive"</span> <span class="na">aria-atomic=</span><span class="s">"true"</span> <span class="na">data-bs-autohide=</span><span class="s">"false"</span> <span class="na">data-bs-toggle=</span><span class="s">"toast"</span><span class="nt">&gt;</span>
  792. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast-header"</span><span class="nt">&gt;</span>
  793. <span class="nt">&lt;span</span> <span class="na">class=</span><span class="s">"avatar avatar-xs me-2"</span> <span class="na">style=</span><span class="s">"background-image: url(...)"</span><span class="nt">&gt;&lt;/span&gt;</span>
  794. <span class="nt">&lt;strong</span> <span class="na">class=</span><span class="s">"me-auto"</span><span class="nt">&gt;</span>Mallory Hulme<span class="nt">&lt;/strong&gt;</span>
  795. <span class="nt">&lt;small&gt;</span>7 mins ago<span class="nt">&lt;/small&gt;</span>
  796. <span class="nt">&lt;button</span> <span class="na">type=</span><span class="s">"button"</span> <span class="na">class=</span><span class="s">"ms-2 btn-close"</span> <span class="na">data-bs-dismiss=</span><span class="s">"toast"</span> <span class="na">aria-label=</span><span class="s">"Close"</span><span class="nt">&gt;&lt;/button&gt;</span>
  797. <span class="nt">&lt;/div&gt;</span>
  798. <span class="nt">&lt;div</span> <span class="na">class=</span><span class="s">"toast-body"</span><span class="nt">&gt;</span>
  799. This is another toast message.
  800. <span class="nt">&lt;/div&gt;</span>
  801. <span class="nt">&lt;/div&gt;</span>
  802. <span class="nt">&lt;/div&gt;</span></code></pre>
  803. </figure>
  804. </div>
  805. </div>
  806. </div>
  807. </div>
  808. </div>
  809. </div>
  810. </div>
  811. </div>
  812. <footer class="footer footer-transparent d-print-none">
  813. <div class="container">
  814. <div class="row text-center align-items-center flex-row-reverse">
  815. <div class="col-lg-auto ms-lg-auto">
  816. <ul class="list-inline list-inline-dots mb-0">
  817. <li class="list-inline-item"><a href="../docs/index.html" class="link-secondary">Documentation</a></li>
  818. <li class="list-inline-item"><a href="../license.html" class="link-secondary">License</a></li>
  819. <li class="list-inline-item"><a href="https://github.com/tabler/tabler" target="_blank" class="link-secondary" rel="noopener">Source code</a></li>
  820. <li class="list-inline-item">
  821. <a href="https://github.com/sponsors/codecalm" target="_blank" class="link-secondary" rel="noopener">
  822. <!-- Download SVG icon from http://tabler-icons.io/i/heart -->
  823. <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>
  824. Sponsor
  825. </a>
  826. </li>
  827. </ul>
  828. </div>
  829. <div class="col-12 col-lg-auto mt-3 mt-lg-0">
  830. <ul class="list-inline list-inline-dots mb-0">
  831. <li class="list-inline-item">
  832. Copyright &copy; 2021
  833. <a href=".." class="link-secondary">Tabler</a>.
  834. All rights reserved.
  835. </li>
  836. <li class="list-inline-item">
  837. <a href="../changelog.html" class="link-secondary" rel="noopener">v1.0.0-beta4</a>
  838. </li>
  839. </ul>
  840. </div>
  841. </div>
  842. </div>
  843. </footer>
  844. </div>
  845. </div>
  846. <!-- Libs JS -->
  847. <!-- Tabler Core -->
  848. <script src="../dist/js/tabler.min.js"></script>
  849. </body>
  850. </html>