@tabler/core 1.0.0-beta22 → 1.0.0-beta24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/LICENSE +1 -1
  2. package/dist/css/demo.css +2 -2
  3. package/dist/css/demo.min.css +2 -2
  4. package/dist/css/demo.rtl.css +2 -2
  5. package/dist/css/demo.rtl.min.css +2 -2
  6. package/dist/css/tabler-flags.css +2 -2
  7. package/dist/css/tabler-flags.min.css +2 -2
  8. package/dist/css/tabler-flags.rtl.css +2 -2
  9. package/dist/css/tabler-flags.rtl.min.css +2 -2
  10. package/dist/css/tabler-marketing.css +4751 -0
  11. package/dist/css/tabler-marketing.min.css +9 -0
  12. package/dist/css/tabler-marketing.rtl.css +4751 -0
  13. package/dist/css/tabler-marketing.rtl.min.css +9 -0
  14. package/dist/css/tabler-payments.css +2 -2
  15. package/dist/css/tabler-payments.min.css +2 -2
  16. package/dist/css/tabler-payments.rtl.css +2 -2
  17. package/dist/css/tabler-payments.rtl.min.css +2 -2
  18. package/dist/css/tabler-socials.css +221 -0
  19. package/dist/css/tabler-socials.min.css +9 -0
  20. package/dist/css/tabler-socials.rtl.css +221 -0
  21. package/dist/css/tabler-socials.rtl.min.css +9 -0
  22. package/dist/css/tabler-vendors.css +25 -19
  23. package/dist/css/tabler-vendors.min.css +3 -3
  24. package/dist/css/tabler-vendors.rtl.css +25 -19
  25. package/dist/css/tabler-vendors.rtl.min.css +3 -3
  26. package/dist/css/tabler.css +1300 -1501
  27. package/dist/css/tabler.min.css +4 -4
  28. package/dist/css/tabler.rtl.css +1300 -1501
  29. package/dist/css/tabler.rtl.min.css +4 -4
  30. package/dist/img/social/apple-gray.svg +3 -0
  31. package/dist/img/social/apple.svg +3 -0
  32. package/dist/img/social/discord-gray.svg +3 -0
  33. package/dist/img/social/discord.svg +3 -0
  34. package/dist/img/social/dribbble-gray.svg +3 -0
  35. package/dist/img/social/dribbble.svg +4 -0
  36. package/dist/img/social/facebook-gray.svg +3 -0
  37. package/dist/img/social/facebook.svg +4 -0
  38. package/dist/img/social/figma-gray.svg +3 -0
  39. package/dist/img/social/figma.svg +7 -0
  40. package/dist/img/social/github-gray.svg +10 -0
  41. package/dist/img/social/github.svg +10 -0
  42. package/dist/img/social/google-gray.svg +3 -0
  43. package/dist/img/social/google.svg +6 -0
  44. package/dist/img/social/instagram-gray.svg +5 -0
  45. package/dist/img/social/instagram.svg +18 -0
  46. package/dist/img/social/linkedin-gray.svg +3 -0
  47. package/dist/img/social/linkedin.svg +3 -0
  48. package/dist/img/social/medium-gray.svg +5 -0
  49. package/dist/img/social/medium.svg +5 -0
  50. package/dist/img/social/meta-gray.svg +5 -0
  51. package/dist/img/social/meta.svg +17 -0
  52. package/dist/img/social/metamask-gray.svg +12 -0
  53. package/dist/img/social/metamask.svg +14 -0
  54. package/dist/img/social/pinterest-gray.svg +3 -0
  55. package/dist/img/social/pinterest.svg +4 -0
  56. package/dist/img/social/reddit-gray.svg +6 -0
  57. package/dist/img/social/reddit.svg +11 -0
  58. package/dist/img/social/signal-gray.svg +10 -0
  59. package/dist/img/social/signal.svg +10 -0
  60. package/dist/img/social/skype-gray.svg +3 -0
  61. package/dist/img/social/skype.svg +3 -0
  62. package/dist/img/social/snapchat-gray.svg +10 -0
  63. package/dist/img/social/snapchat.svg +11 -0
  64. package/dist/img/social/spotify-gray.svg +3 -0
  65. package/dist/img/social/spotify.svg +3 -0
  66. package/dist/img/social/telegram-gray.svg +3 -0
  67. package/dist/img/social/telegram.svg +10 -0
  68. package/dist/img/social/tiktok-gray.svg +3 -0
  69. package/dist/img/social/tiktok.svg +5 -0
  70. package/dist/img/social/tumblr-gray.svg +3 -0
  71. package/dist/img/social/tumblr.svg +3 -0
  72. package/dist/img/social/twitch-gray.svg +5 -0
  73. package/dist/img/social/twitch.svg +6 -0
  74. package/dist/img/social/vk-gray.svg +3 -0
  75. package/dist/img/social/vk.svg +4 -0
  76. package/dist/img/social/x-gray.svg +3 -0
  77. package/dist/img/social/x.svg +3 -0
  78. package/dist/img/social/youtube-gray.svg +3 -0
  79. package/dist/img/social/youtube.svg +11 -0
  80. package/dist/js/demo-theme.js +2 -2
  81. package/dist/js/demo-theme.min.js +2 -2
  82. package/dist/js/demo.js +2 -2
  83. package/dist/js/demo.min.js +2 -2
  84. package/dist/js/tabler.esm.js +19 -4
  85. package/dist/js/tabler.esm.min.js +3 -3
  86. package/dist/js/tabler.js +19 -4
  87. package/dist/js/tabler.min.js +4 -4
  88. package/docs/icons/index.mdx +3 -93
  89. package/docs/icons/libraries/index.mdx +5 -0
  90. package/docs/icons/{preact.mdx → libraries/preact.mdx} +4 -2
  91. package/docs/icons/{react.mdx → libraries/react.mdx} +5 -3
  92. package/docs/icons/{solidjs.mdx → libraries/solidjs.mdx} +5 -2
  93. package/docs/icons/{svelte.mdx → libraries/svelte.mdx} +5 -2
  94. package/docs/icons/{vue.mdx → libraries/vue.mdx} +13 -8
  95. package/docs/icons/{webfont.mdx → libraries/webfont.mdx} +4 -1
  96. package/docs/icons/plugins/figma.mdx +15 -0
  97. package/docs/icons/plugins/index.mdx +4 -0
  98. package/docs/icons/{eps.mdx → static-files/eps.mdx} +3 -1
  99. package/docs/icons/static-files/index.mdx +5 -0
  100. package/docs/icons/{pdf.mdx → static-files/pdf.mdx} +3 -1
  101. package/docs/icons/static-files/png.mdx +31 -0
  102. package/docs/icons/{svg.mdx → static-files/svg.mdx} +18 -18
  103. package/docs/illustrations/index.mdx +8 -0
  104. package/docs/illustrations/introduction/contents.mdx +77 -0
  105. package/docs/illustrations/introduction/customization.mdx +431 -0
  106. package/docs/illustrations/introduction/index.mdx +5 -0
  107. package/docs/illustrations/introduction/license.mdx +22 -0
  108. package/docs/img/browsers/brave.svg +1 -0
  109. package/docs/img/browsers/chrome.svg +1 -0
  110. package/docs/img/browsers/edge.svg +1 -0
  111. package/docs/img/browsers/electron.svg +1 -0
  112. package/docs/img/browsers/firefox.svg +1 -0
  113. package/docs/img/browsers/internet-explorer.svg +1 -0
  114. package/docs/img/browsers/opera.svg +1 -0
  115. package/docs/img/browsers/safari.svg +1 -0
  116. package/docs/img/browsers/vivaldi.svg +1 -0
  117. package/docs/img/cover-illustrations-dark.png +0 -0
  118. package/docs/img/cover-illustrations.png +0 -0
  119. package/docs/img/cover-tabler-dark.png +0 -0
  120. package/docs/img/cover-tabler.png +0 -0
  121. package/docs/img/icons/figma-plugin.png +0 -0
  122. package/docs/img/icons/package-angular-dark.png +0 -0
  123. package/docs/img/icons/package-angular.png +0 -0
  124. package/docs/img/icons/package-eps-dark.png +0 -0
  125. package/docs/img/icons/package-eps.png +0 -0
  126. package/docs/img/icons/package-js-dark.png +0 -0
  127. package/docs/img/icons/package-js.png +0 -0
  128. package/docs/img/icons/package-pdf-dark.png +0 -0
  129. package/docs/img/icons/package-pdf.png +0 -0
  130. package/docs/img/icons/package-png-dark.png +0 -0
  131. package/docs/img/icons/package-png.png +0 -0
  132. package/docs/img/icons/package-preact-dark.png +0 -0
  133. package/docs/img/icons/package-preact.png +0 -0
  134. package/docs/img/icons/package-react-dark.png +0 -0
  135. package/docs/img/icons/package-react-native-dark.png +0 -0
  136. package/docs/img/icons/package-react-native.png +0 -0
  137. package/docs/img/icons/package-react.png +0 -0
  138. package/docs/img/icons/package-solidjs-dark.png +0 -0
  139. package/docs/img/icons/package-solidjs.png +0 -0
  140. package/docs/img/icons/package-sprite-dark.png +0 -0
  141. package/docs/img/icons/package-sprite.png +0 -0
  142. package/docs/img/icons/package-svelte-dark.png +0 -0
  143. package/docs/img/icons/package-svelte.png +0 -0
  144. package/docs/img/icons/package-svg-dark.png +0 -0
  145. package/docs/img/icons/package-svg.png +0 -0
  146. package/docs/img/icons/package-vue-dark.png +0 -0
  147. package/docs/img/icons/package-vue.png +0 -0
  148. package/docs/img/icons/package-webfont-dark.png +0 -0
  149. package/docs/img/icons/package-webfont.png +0 -0
  150. package/docs/index.mdx +16 -0
  151. package/docs/ui/base/colors.mdx +63 -5
  152. package/docs/ui/base/index.mdx +6 -0
  153. package/docs/ui/base/typography.mdx +96 -101
  154. package/docs/ui/components/alerts.mdx +45 -120
  155. package/docs/ui/components/autosize.mdx +12 -3
  156. package/docs/ui/components/avatars.mdx +7 -4
  157. package/docs/ui/components/badges.mdx +66 -75
  158. package/docs/ui/components/breadcrumb.mdx +125 -59
  159. package/docs/ui/components/buttons.mdx +142 -87
  160. package/docs/ui/components/cards.mdx +48 -27
  161. package/docs/ui/components/carousel.mdx +8 -7
  162. package/docs/ui/components/charts.mdx +15 -24
  163. package/docs/ui/components/countup.mdx +74 -45
  164. package/docs/ui/components/datagrid.mdx +10 -2
  165. package/docs/ui/components/divider.mdx +6 -6
  166. package/docs/ui/components/dropdowns.mdx +24 -15
  167. package/docs/ui/components/dropzone.mdx +39 -14
  168. package/docs/ui/components/empty.mdx +7 -5
  169. package/docs/ui/components/icons.mdx +53 -14
  170. package/docs/ui/components/index.mdx +6 -0
  171. package/docs/ui/components/inline-player.mdx +31 -4
  172. package/docs/ui/components/modals.mdx +53 -18
  173. package/docs/ui/components/offcanvas.mdx +55 -0
  174. package/docs/ui/components/placeholder.mdx +25 -25
  175. package/docs/ui/components/popover.mdx +8 -9
  176. package/docs/ui/components/progress.mdx +120 -19
  177. package/docs/ui/components/range-slider.mdx +17 -3
  178. package/docs/ui/components/ribbons.mdx +13 -12
  179. package/docs/ui/components/spinners.mdx +31 -10
  180. package/docs/ui/components/statuses.mdx +50 -13
  181. package/docs/ui/components/steps.mdx +62 -19
  182. package/docs/ui/components/switch-icon.mdx +4 -3
  183. package/docs/ui/components/tables.mdx +37 -17
  184. package/docs/ui/components/tabs.mdx +17 -11
  185. package/docs/ui/components/timelines.mdx +48 -29
  186. package/docs/ui/components/tinymce.mdx +3 -3
  187. package/docs/ui/components/toasts.mdx +3 -2
  188. package/docs/ui/components/tooltips.mdx +4 -3
  189. package/docs/ui/components/tracking.mdx +39 -34
  190. package/docs/ui/components/vector-maps.mdx +170 -0
  191. package/docs/ui/forms/form-color-check.mdx +36 -11
  192. package/docs/ui/forms/form-elements.mdx +32 -17
  193. package/docs/ui/forms/form-fieldset.mdx +3 -2
  194. package/docs/ui/forms/form-helpers.mdx +71 -4
  195. package/docs/ui/forms/form-image-check.mdx +43 -29
  196. package/docs/ui/forms/form-input-mask.mdx +33 -5
  197. package/docs/ui/forms/form-selectboxes.mdx +101 -16
  198. package/docs/ui/forms/form-validation.mdx +54 -13
  199. package/docs/ui/forms/index.mdx +6 -0
  200. package/docs/ui/getting-started/browser-support.mdx +10 -2
  201. package/docs/ui/getting-started/customize.mdx +5 -4
  202. package/docs/ui/getting-started/download.mdx +3 -5
  203. package/docs/ui/getting-started/faq.mdx +3 -1
  204. package/docs/ui/getting-started/how-to-contribute.mdx +96 -0
  205. package/docs/ui/getting-started/index.mdx +4 -28
  206. package/docs/ui/getting-started/installation.mdx +67 -0
  207. package/docs/ui/getting-started/license.mdx +30 -0
  208. package/docs/ui/index.mdx +8 -0
  209. package/docs/ui/layout/index.mdx +6 -0
  210. package/docs/ui/layout/navbars.mdx +106 -0
  211. package/docs/ui/layout/navs-tabls.mdx +187 -0
  212. package/docs/ui/layout/page-headers.mdx +16 -9
  213. package/docs/ui/layout/page-layouts.mdx +10 -6
  214. package/docs/ui/plugins/flags.mdx +270 -6
  215. package/docs/ui/plugins/index.mdx +6 -0
  216. package/docs/ui/plugins/payments.mdx +108 -4
  217. package/docs/ui/plugins/social-icons.mdx +135 -0
  218. package/docs/ui/utilities/borders.mdx +69 -49
  219. package/docs/ui/utilities/cursors.mdx +22 -51
  220. package/docs/ui/utilities/index.mdx +5 -0
  221. package/docs/ui/utilities/interactions.mdx +10 -5
  222. package/docs/ui/utilities/margins.mdx +234 -0
  223. package/docs/ui/utilities/vertical-align.mdx +66 -0
  224. package/docs/ui/utilities/visually-hidden.mdx +12 -0
  225. package/package.json +9 -6
  226. package/src/js/src/countup.js +17 -0
  227. package/src/js/tabler.esm.js +1 -0
  228. package/src/js/tabler.js +1 -0
  229. package/src/scss/_utilities-marketing.scss +209 -0
  230. package/src/scss/_utilities.scss +5 -9
  231. package/src/scss/_variables-marketing.scss +0 -0
  232. package/src/scss/_variables.scss +57 -22
  233. package/src/scss/layout/_animations.scss +2 -1
  234. package/src/scss/layout/_navbar.scss +0 -1
  235. package/src/scss/marketing/_browser.scss +67 -0
  236. package/src/scss/marketing/_core.scss +8 -0
  237. package/src/scss/marketing/_filters.scss +0 -0
  238. package/src/scss/marketing/_hero.scss +69 -0
  239. package/src/scss/marketing/_pricing.scss +111 -0
  240. package/src/scss/marketing/_sections.scss +124 -0
  241. package/src/scss/marketing/_shape.scss +31 -0
  242. package/src/scss/mixins/_mixins.scss +2 -2
  243. package/src/scss/tabler-marketing.scss +13 -0
  244. package/src/scss/tabler-socials.scss +2 -0
  245. package/src/scss/tabler-vendors.scss +1 -0
  246. package/src/scss/ui/_buttons.scss +8 -7
  247. package/src/scss/ui/_forms.scss +4 -0
  248. package/src/scss/ui/_images.scss +4 -0
  249. package/src/scss/ui/_lists.scss +11 -15
  250. package/src/scss/ui/_social.scss +52 -0
  251. package/src/scss/ui/_tables.scss +0 -1
  252. package/src/scss/ui/_type.scss +4 -0
  253. package/src/scss/utils/_colors.scss +1 -1
  254. package/src/scss/vendor/_dropzone.scss +3 -3
  255. package/src/scss/vendor/_tom-select.scss +1 -0
  256. package/src/scss/vendor/_typed.scss +4 -0
  257. package/dist/css/tabler-social.css +0 -10
  258. package/dist/css/tabler-social.min.css +0 -8
  259. package/dist/css/tabler-social.rtl.css +0 -10
  260. package/dist/css/tabler-social.rtl.min.css +0 -8
  261. package/docs/icons/figma.mdx +0 -7
  262. package/docs/icons/png.mdx +0 -19
  263. package/docs/menu.json +0 -317
  264. package/docs/ui/components/progressbg.mdx +0 -16
  265. package/src/scss/tabler-social.scss +0 -1
@@ -1,14 +1,15 @@
1
1
  ---
2
2
  title: Cards
3
- description: Cards are flexible user interface elements, which help organize content into meaningful sections and make it easier to display on different screen sizes. Cards contain various smaller components, such as images, text, links and buttons and may act as an entry to more detailed information, helping users scan the page quickly and find the most relevant content.
3
+ summary: Cards are flexible user interface elements, which help organize content into meaningful sections and make it easier to display on different screen sizes. Cards contain various smaller components, such as images, text, links and buttons and may act as an entry to more detailed information, helping users scan the page quickly and find the most relevant content.
4
4
  bootstrapLink: components/card/
5
+ description: Organize content with flexible cards.
5
6
  ---
6
7
 
7
8
  ## Default card
8
9
 
9
10
  Use the `.card` and `.card-body` classes to create a card and use it as the basis for a more advanced card design. A card is a perfect way to organize content and make it look neat and tidy.
10
11
 
11
- ```html example code centered columns={1}
12
+ ```html example centered columns={1} background="base"
12
13
  <div class="card">
13
14
  <div class="card-body">
14
15
  <p>This is some text within a card body.</p>
@@ -22,7 +23,7 @@ You can change the padding of a newly created card. To do it, use the `.card-sm`
22
23
 
23
24
  Cards with the `.card-sm` class are well suited for small items such as widgets, etc., while the `.card-lg` class can be used for large blocks of text. Padding will be automatically reduced on small devices, to fit the screen size.
24
25
 
25
- ```html example vertical centered separated height={500}
26
+ ```html example vertical centered separated height={500} background="base"
26
27
  <div class="card card-sm">
27
28
  <div class="card-body">
28
29
  This is some text within a card body.
@@ -56,7 +57,7 @@ Cards with the `.card-sm` class are well suited for small items such as widgets,
56
57
 
57
58
  Add a title to your card by including the `.card-title` class within `.card-body`. You can also place the title inside the `.card-header` element to separate the title from the content with a horizontal line.
58
59
 
59
- ```html code example vertical centered separated height={400}
60
+ ```html example vertical centered separated height={400} background="base"
60
61
  <div class="card">
61
62
  <div class="card-body">
62
63
  <h3 class="card-title">Card title</h3>
@@ -77,7 +78,7 @@ Add a title to your card by including the `.card-title` class within `.card-body
77
78
 
78
79
  To create a more visually appealing card, add a title and an image. Thanks to that, the card will go well with your interface design and draw users' attention.
79
80
 
80
- ```html example centered columns={1} height={500} code
81
+ ```html example centered columns={1} height={500} background="base"
81
82
  <div class="card">
82
83
  <!-- Photo -->
83
84
  <div class="img-responsive img-responsive-21x9 card-img-top" style="background-image: url(/samples/photos/cup-of-coffee-and-an-open-book.jpg)"></div>
@@ -93,13 +94,15 @@ To create a more visually appealing card, add a title and an image. Thanks to th
93
94
 
94
95
  Add an image to your blog post card to make it eye-catching. You can do it by adding the image in the `.card-img-top` class. Thanks to the `.d-flex` and `.flex-column` classes within `.card-body`, the author details will be displayed at the bottom of the card.
95
96
 
96
- ```html example centered columns={1} height={600} code
97
+ ```html example centered columns={1} height={600} background="base"
97
98
  <div class="card d-flex flex-column">
98
99
  <a href="#">
99
100
  <img class="card-img-top" src="/samples/photos/book-on-the-grass.jpg" alt="" />
100
101
  </a>
101
102
  <div class="card-body d-flex flex-column">
102
- <h3 class="card-title"><a href="#">How do you know she is a witch?</a></h3>
103
+ <h3 class="card-title">
104
+ <a href="#">How do you know she is a witch?</a>
105
+ </h3>
103
106
  <div class="text-secondary">Are you suggesting that coconuts migrate? No, no, no! Yes, yes. A bit. But she's got a wart. You ...</div>
104
107
  <div class="d-flex align-items-center pt-4 mt-auto">
105
108
  <span class="avatar" style="background-image: url(/samples/avatars/023m.jpg)"></span>
@@ -123,7 +126,7 @@ Add an image to your blog post card to make it eye-catching. You can do it by ad
123
126
 
124
127
  Add the `.row-deck` class to `.row`, if you want to display several cards next to one another. Thanks to that, they will all have the same height.
125
128
 
126
- ```html code example centered height="220px"
129
+ ```html example centered height="220px" background="base"
127
130
  <div class="row row-deck">
128
131
  <div class="col-md-4">
129
132
  <div class="card">
@@ -147,7 +150,7 @@ Add the `.row-deck` class to `.row`, if you want to display several cards next t
147
150
 
148
151
  You can also add an image on the left side of the card. To do it, add the `.card-aside` class to the element with the `.card` class. Then add the image in the `.card-aside-column` element and it will be automatically centered and scaled to the right size.
149
152
 
150
- ```html example columns={2} centered height={400} code
153
+ ```html example columns={2} centered height={400} background="base"
151
154
  <div class="card d-flex flex-column">
152
155
  <div class="row row-0 flex-fill">
153
156
  <div class="col-md-3">
@@ -157,7 +160,9 @@ You can also add an image on the left side of the card. To do it, add the `.card
157
160
  </div>
158
161
  <div class="col">
159
162
  <div class="card-body">
160
- <h3 class="card-title"><a href="#">Shut up!</a></h3>
163
+ <h3 class="card-title">
164
+ <a href="#">Shut up!</a>
165
+ </h3>
161
166
  <div class="text-secondary">Burn her! How do you know she is a witch? You don't frighten us, English pig-dogs! Go and boil yo...</div>
162
167
  <div class="d-flex align-items-center pt-4 mt-auto">
163
168
  <span class="avatar" style="background-image: url(/samples/avatars/029m.jpg)"></span>
@@ -183,7 +188,7 @@ You can also add an image on the left side of the card. To do it, add the `.card
183
188
 
184
189
  Add a status color to your card, either at the top or on the side of the card, to customise it and make it more eye-catching.
185
190
 
186
- ```html example columns={2} centered height={400}
191
+ ```html example columns={2} centered height={400} background="base"
187
192
  <div class="row row-deck">
188
193
  <div class="col-md-6">
189
194
  <div class="card">
@@ -212,17 +217,17 @@ Add a status color to your card, either at the top or on the side of the card, t
212
217
  <div class="card">
213
218
  <div class="card-status-top bg-danger"></div>
214
219
  <div class="card-body">
215
- <h3 class="card-title">Card with top status</h3>
216
- <p class="text-secondary">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam deleniti fugit incidunt, iste, itaque minima
217
- neque pariatur perferendis sed suscipit velit vitae voluptatem.</p>
220
+ <h3 class="card-title">Card with top status</h3>
221
+ <p class="text-secondary">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam deleniti fugit incidunt, iste, itaque minima
222
+ neque pariatur perferendis sed suscipit velit vitae voluptatem.</p>
218
223
  </div>
219
224
  </div>
220
225
  <div class="card">
221
226
  <div class="card-status-start bg-green"></div>
222
227
  <div class="card-body">
223
- <h3 class="card-title">Card with side status</h3>
224
- <p class="text-secondary">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam deleniti fugit incidunt, iste, itaque minima
225
- neque pariatur perferendis sed suscipit velit vitae voluptatem.</p>
228
+ <h3 class="card-title">Card with side status</h3>
229
+ <p class="text-secondary">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aperiam deleniti fugit incidunt, iste, itaque minima
230
+ neque pariatur perferendis sed suscipit velit vitae voluptatem.</p>
226
231
  </div>
227
232
  </div>
228
233
  ```
@@ -231,7 +236,7 @@ Add a status color to your card, either at the top or on the side of the card, t
231
236
 
232
237
  Use the `card-stacked` class to stack up multiple cards, if you want to save screen space or create a visually appealing effect.
233
238
 
234
- ```html code example columns={1} centered height={300}
239
+ ```html example columns={1} centered height={300} background="base"
235
240
  <div class="card card-stacked">
236
241
  <div class="card-body">
237
242
  <h3 class="card-title">Stacked card</h3>
@@ -245,13 +250,21 @@ Use the `card-stacked` class to stack up multiple cards, if you want to save scr
245
250
 
246
251
  Organize multiple cards into tabs to be able to display more content in a well-organized way and allow users to alternate between them easily.
247
252
 
248
- ```html example columns={2} centered height={400}
253
+ ```html example columns={2} centered height={400} background="base"
249
254
  <div class="card-tabs">
250
255
  <ul class="nav nav-tabs">
251
- <li class="nav-item"><a href="#tab-top-1" class="nav-link active" data-bs-toggle="tab">Tab 1</a></li>
252
- <li class="nav-item"><a href="#tab-top-2" class="nav-link" data-bs-toggle="tab">Tab 2</a></li>
253
- <li class="nav-item"><a href="#tab-top-3" class="nav-link" data-bs-toggle="tab">Tab 3</a></li>
254
- <li class="nav-item"><a href="#tab-top-4" class="nav-link" data-bs-toggle="tab">Tab 4</a></li>
256
+ <li class="nav-item">
257
+ <a href="#tab-top-1" class="nav-link active" data-bs-toggle="tab">Tab 1</a>
258
+ </li>
259
+ <li class="nav-item">
260
+ <a href="#tab-top-2" class="nav-link" data-bs-toggle="tab">Tab 2</a>
261
+ </li>
262
+ <li class="nav-item">
263
+ <a href="#tab-top-3" class="nav-link" data-bs-toggle="tab">Tab 3</a>
264
+ </li>
265
+ <li class="nav-item">
266
+ <a href="#tab-top-4" class="nav-link" data-bs-toggle="tab">Tab 4</a>
267
+ </li>
255
268
  </ul>
256
269
  <div class="tab-content">
257
270
  <div id="tab-top-1" class="card tab-pane active show">
@@ -295,10 +308,18 @@ Organize multiple cards into tabs to be able to display more content in a well-o
295
308
  <div class="card-tabs">
296
309
  <!-- Cards navigation -->
297
310
  <ul class="nav nav-tabs">
298
- <li class="nav-item"><a href="#tab-top-1" class="nav-link active" data-bs-toggle="tab">Tab 1</a></li>
299
- <li class="nav-item"><a href="#tab-top-2" class="nav-link" data-bs-toggle="tab">Tab 2</a></li>
300
- <li class="nav-item"><a href="#tab-top-3" class="nav-link" data-bs-toggle="tab">Tab 3</a></li>
301
- <li class="nav-item"><a href="#tab-top-4" class="nav-link" data-bs-toggle="tab">Tab 4</a></li>
311
+ <li class="nav-item">
312
+ <a href="#tab-top-1" class="nav-link active" data-bs-toggle="tab">Tab 1</a>
313
+ </li>
314
+ <li class="nav-item">
315
+ <a href="#tab-top-2" class="nav-link" data-bs-toggle="tab">Tab 2</a>
316
+ </li>
317
+ <li class="nav-item">
318
+ <a href="#tab-top-3" class="nav-link" data-bs-toggle="tab">Tab 3</a>
319
+ </li>
320
+ <li class="nav-item">
321
+ <a href="#tab-top-4" class="nav-link" data-bs-toggle="tab">Tab 4</a>
322
+ </li>
302
323
  </ul>
303
324
  <div class="tab-content">
304
325
  <!-- Content of card #1 -->
@@ -1,14 +1,15 @@
1
1
  ---
2
2
  title: Carousel
3
- description: A carousel is used to display multiple pieces of visual content without taking up too much space. Carousels eliminate the need to scroll down the page to see all content and are a popular method of displaying marketing information.
3
+ summary: A carousel is used to display multiple pieces of visual content without taking up too much space. Carousels eliminate the need to scroll down the page to see all content and are a popular method of displaying marketing information.
4
4
  bootstrapLink: components/carousel/
5
+ description: Display visual content with carousels.
5
6
  ---
6
7
 
7
8
  ## Default markup
8
9
 
9
10
  Use a carousel to make your website design more visually appealing for users. In the default carousel design, respective elements slide automatically and users can go to the next slide by clicking an arrow.
10
11
 
11
- ```html code example centered columns={2} height="35rem"
12
+ ```html example centered columns={2} height="35rem"
12
13
  <div id="carousel-sample" class="carousel slide" data-bs-ride="carousel">
13
14
  <div class="carousel-indicators">
14
15
  <button type="button" data-bs-target="#carousel-sample" data-bs-slide-to="0" class="active"></button>
@@ -49,7 +50,7 @@ Use a carousel to make your website design more visually appealing for users. In
49
50
 
50
51
  You can replace the standard indicators with dots. Just add the `carousel-indicators-dot` class to your carousel:
51
52
 
52
- ```html code example centered columns={2} height="35rem"
53
+ ```html example centered columns={2} height="35rem"
53
54
  <div id="carousel-indicators-dot" class="carousel slide carousel-fade" data-bs-ride="carousel">
54
55
  <div class="carousel-indicators carousel-indicators-dot">
55
56
  <button type="button" data-bs-target="#carousel-indicators-dot" data-bs-slide-to="0" class="active"></button>
@@ -82,7 +83,7 @@ You can replace the standard indicators with dots. Just add the `carousel-indica
82
83
 
83
84
  The syntax is similar with thumbnails. Add class `carousel-indicators-thumb` and add `background-image` to element `[data-bs-target]`. Default thumbnails have an aspect ratio of 1:1. To change this use `ratio` utils.
84
85
 
85
- ```html example code centered columns={2} height="35rem"
86
+ ```html example centered columns={2} height="35rem"
86
87
  <div id="carousel-indicators-thumb" class="carousel slide carousel-fade" data-bs-ride="carousel">
87
88
  <div class="carousel-indicators carousel-indicators-thumb">
88
89
  <button type="button" data-bs-target="#carousel-indicators-thumb" data-bs-slide-to="0" class="ratio ratio-4x3 active" style="background-image: url(/samples/photos/group-of-people-sightseeing-in-the-city.jpg)"></button>
@@ -115,7 +116,7 @@ The syntax is similar with thumbnails. Add class `carousel-indicators-thumb` and
115
116
 
116
117
  To make the indicators go to the right side, add the `carousel-indicators-vertical` class. You can combine it with other classes that are responsible for dots or thumbnails.
117
118
 
118
- ```html code example centered columns={2} height="35rem"
119
+ ```html example centered columns={2} height="35rem"
119
120
  <div id="carousel-indicators-dot-vertical" class="carousel slide carousel-fade" data-bs-ride="carousel">
120
121
  <div class="carousel-indicators carousel-indicators-vertical carousel-indicators-dot">
121
122
  <button type="button" data-bs-target="#carousel-indicators-dot-vertical" data-bs-slide-to="0" class="active"></button>
@@ -146,7 +147,7 @@ To make the indicators go to the right side, add the `carousel-indicators-vertic
146
147
 
147
148
  Likewise, you can add thumbnails on the right side:
148
149
 
149
- ```html code example centered columns={2} height="35rem"
150
+ ```html example centered columns={2} height="35rem"
150
151
  <div id="carousel-indicators-thumb-vertical" class="carousel slide carousel-fade" data-bs-ride="carousel">
151
152
  <div class="carousel-indicators carousel-indicators-vertical carousel-indicators-thumb">
152
153
  <button type="button" data-bs-target="#carousel-indicators-thumb-vertical" data-bs-slide-to="0" class="ratio ratio-4x3 active" style="background-image: url(/samples/photos/finances-us-dollars-and-bitcoins-currency-money.jpg)"></button>
@@ -179,7 +180,7 @@ Likewise, you can add thumbnails on the right side:
179
180
 
180
181
  Add captions to your slides easily with the `.carousel-caption` element within any `.carousel-item`. To make the text more readable on the image you can add `carousel-caption-background` which will add a black overlay over the image.
181
182
 
182
- ```html code example centered columns={2} height="35rem"
183
+ ```html example centered columns={2} height="35rem"
183
184
  <div id="carousel-captions" class="carousel slide" data-bs-ride="carousel">
184
185
  <div class="carousel-inner">
185
186
  <div class="carousel-item active">
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  title: Charts
3
3
  libs: apexcharts
4
- description: Tabler uses ApexCharts - a free and open-source modern charting library that helps developers to create beautiful and interactive visualizations for web pages.
4
+ summary: Tabler uses ApexCharts - a free and open-source modern charting library that helps developers to create beautiful and interactive visualizations for web pages.
5
+ description: Interactive data visualizations with ApexCharts.
5
6
  ---
6
7
 
7
8
  To be able to use the charts in your application you will need to install the apexcharts dependency with `npm install apexcharts`.
@@ -10,16 +11,14 @@ See also the [ApexCharts](https://apexcharts.com/) documentation.
10
11
 
11
12
  ## Line Chart
12
13
 
13
- Line charts are a typical pictorial representation that depicts trends and behaviors over time.
14
+ Line charts are an essential tool for visualizing data trends over time. They are particularly useful for representing continuous data, such as stock prices, website traffic, or user activity. Below is an example of a line chart showcasing session duration, page views, and total visits:
14
15
 
15
- ```html example code centered columns={2} height="25rem"
16
+ ```html example centered columns={2} height="25rem" background="surface" libs="apexcharts"
16
17
  <div class="card">
17
18
  <div class="card-body">
18
19
  <div id="chart-demo-line" class="chart-lg"></div>
19
20
  </div>
20
21
  </div>
21
-
22
- <script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
23
22
  <script>
24
23
  document.addEventListener("DOMContentLoaded", function() {
25
24
  window.ApexCharts && (new ApexCharts(document.getElementById('chart-demo-line'), {
@@ -104,16 +103,14 @@ Line charts are a typical pictorial representation that depicts trends and behav
104
103
 
105
104
  ## Area Chart
106
105
 
107
- Area charts are used to represent quantitative variations.
106
+ Area charts are ideal for representing cumulative data over time. They add visual emphasis to trends by filling the space under the line, making it easier to compare values. Here's an example of an area chart with smooth transitions and data from two series:
108
107
 
109
- ```html example code centered columns={2} height="25rem"
108
+ ```html example centered columns={2} height="25rem" background="surface" libs="apexcharts"
110
109
  <div class="card">
111
110
  <div class="card-body">
112
111
  <div id="chart-demo-area" class="chart-lg"></div>
113
112
  </div>
114
113
  </div>
115
-
116
- <script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
117
114
  <script>
118
115
  document.addEventListener("DOMContentLoaded", function() {
119
116
  window.ApexCharts && (new ApexCharts(document.getElementById('chart-demo-area'), {
@@ -202,16 +199,14 @@ Area charts are used to represent quantitative variations.
202
199
 
203
200
  ## Bar Chart
204
201
 
205
- A bar chart is the best tool for displaying comparisons between categories of data.
202
+ Bar charts are highly effective for comparing data across different categories. They provide a clear and concise way to visualize differences in values, making them perfect for analyzing categorical data. Here's an example of a bar chart with stacked bars for enhanced readability:
206
203
 
207
- ```html example code centered columns={2} height="25rem"
204
+ ```html example centered columns={2} height="25rem" background="surface" libs="apexcharts"
208
205
  <div class="card">
209
206
  <div class="card-body">
210
207
  <div id="chart-demo-bar" class="chart-lg"></div>
211
208
  </div>
212
209
  </div>
213
-
214
- <script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
215
210
  <script>
216
211
  document.addEventListener("DOMContentLoaded", function() {
217
212
  window.ApexCharts && (new ApexCharts(document.getElementById('chart-demo-bar'), {
@@ -310,16 +305,14 @@ A bar chart is the best tool for displaying comparisons between categories of da
310
305
 
311
306
  ## Pie Chart
312
307
 
313
- Pie charts are an instrumental visualization tool useful in expressing data and information in terms of percentages, ratio.
308
+ Pie charts are a simple and effective way to visualize proportions and ratios. They are commonly used to represent data as percentages of a whole, making them ideal for displaying parts of a dataset. Below is an example of a pie chart showcasing distribution across categories:
314
309
 
315
- ```html example code centered columns={2} height="25rem"
310
+ ```html example centered columns={2} height="25rem" background="surface" libs="apexcharts"
316
311
  <div class="card">
317
312
  <div class="card-body">
318
313
  <div id="chart-demo-pie" class="chart-lg"></div>
319
314
  </div>
320
315
  </div>
321
-
322
- <script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
323
316
  <script>
324
317
  document.addEventListener("DOMContentLoaded", function() {
325
318
  window.ApexCharts && (new ApexCharts(document.getElementById('chart-demo-pie'), {
@@ -370,16 +363,14 @@ Pie charts are an instrumental visualization tool useful in expressing data and
370
363
 
371
364
  ## Heatmap Chart
372
365
 
373
- Heatmap is a visualization tool that employs color the way a bar chart employs height and width in representing data.
366
+ Heatmaps provide a graphical representation of data where individual values are represented by color intensity. They are particularly useful for identifying patterns or anomalies within large datasets. Here's an example of a heatmap chart to visualize data distributions:
374
367
 
375
- ```html example code centered columns={2} height="25rem"
368
+ ```html example centered columns={2} height="25rem" background="surface" libs="apexcharts"
376
369
  <div class="card">
377
370
  <div class="card-body">
378
371
  <div id="chart-demo-pie" class="chart-lg"></div>
379
372
  </div>
380
373
  </div>
381
-
382
- <script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
383
374
  <script>
384
375
  document.addEventListener("DOMContentLoaded", function() {
385
376
  window.ApexCharts && (new ApexCharts(document.getElementById('chart-demo-pie'), {
@@ -430,14 +421,14 @@ Heatmap is a visualization tool that employs color the way a bar chart employs h
430
421
 
431
422
  ## Advanced example
432
423
 
433
- ```html example code centered columns={2} height="25rem"
424
+ For more complex data visualizations, you can create advanced charts with multiple series and custom configurations. Below is an example of a social media referrals chart combining data from Facebook, Twitter, and Dribbble:
425
+
426
+ ```html example centered columns={2} height="25rem" background="surface" libs="apexcharts"
434
427
  <div class="card">
435
428
  <div class="card-body">
436
429
  <div id="chart-social-referrals" class="chart-lg"></div>
437
430
  </div>
438
431
  </div>
439
-
440
- <script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
441
432
  <script>
442
433
  document.addEventListener("DOMContentLoaded", function() {
443
434
  window.ApexCharts && (new ApexCharts(document.getElementById('chart-social-referrals'), {
@@ -1,18 +1,27 @@
1
1
  ---
2
2
  title: Countup
3
- description: A countup element is used to display numerical data in an interesting way and make the interface more interactive.
3
+ summary: A countup element is used to display numerical data in an interesting way and make the interface more interactive.
4
4
  libs: countup
5
+ description: Display numbers dynamically with countups.
5
6
  ---
6
7
 
8
+ The countup component is used to display numbers dynamically. It is a great way to make the interface more interactive and engaging. The countup component is a simple and easy way to animate numbers in your application.
9
+
7
10
  To be able to use the countup in your application you will need to install the countup.js dependency with `npm install countup.js`.
8
11
 
9
- ## Default countup
12
+ For more advanced features of countups, click [here](https://inorganik.github.io/countUp.js/) and see what more you can do.
13
+
14
+ ## Basic usage
10
15
 
11
16
  To create a countup, add `data-countup` to any HTML text tag and specify the number which is to be reached. The animation will be triggered as soon as the number enters the viewport.
12
17
 
13
- ```html code example
14
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
18
+ ```html
19
+ <h1 data-countup>30000</h1>
20
+ ```
21
+
22
+ The results can be seen in the example below.
15
23
 
24
+ ```html example libs="countup" centered
16
25
  <h1 data-countup>30000</h1>
17
26
  ```
18
27
 
@@ -20,9 +29,13 @@ To create a countup, add `data-countup` to any HTML text tag and specify the num
20
29
 
21
30
  Set the `duration` to determine how long the animation should take. By default, the duration is set to 2 seconds, but you can modify it as you wish.
22
31
 
23
- ```html code example
24
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
32
+ ```html
33
+ <h1 data-countup='{"duration":4}'>30000</h1>
34
+ ```
35
+
36
+ Look at the example below to see how the duration affects the animation.
25
37
 
38
+ ```html example libs="countup" centered vertical separated
26
39
  <h1 data-countup>30000</h1>
27
40
  <h1 data-countup='{"duration":4}'>30000</h1>
28
41
  <h1 data-countup='{"duration":6}'>30000</h1>
@@ -33,20 +46,28 @@ Set the `duration` to determine how long the animation should take. By default,
33
46
  By default the countup will start from zero. If you want to set a different start value use `startVal`.
34
47
  You can also set the start value to be greater than the final value, so that it counts down instead of up.
35
48
 
36
- ```html code example
37
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
49
+ ```html
50
+ <h1 data-countup='{"startVal":12345}'>30000</h1>
51
+ ```
38
52
 
53
+ To see how the starting value affects the animation, look at the example below.
54
+
55
+ ```html example libs="countup" centered vertical separated
39
56
  <h1 data-countup='{"startVal":12345}'>30000</h1>
40
57
  <h1 data-countup='{"startVal":47655}'>30000</h1>
41
58
  ```
42
59
 
43
60
  ## Decimal places
44
61
 
45
- Set how many decimal numbers should be displayed using `decimalPlaces`.
62
+ Set how many decimal numbers should be displayed using `decimalPlaces`. By default, the number of decimal places is set to 0.
63
+
64
+ ```html
65
+ <h1 data-countup='{"decimalPlaces":1}'>3.123</h1>
66
+ ```
46
67
 
47
- ```html code example
48
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
68
+ Look at the example below to see how the number of decimal places affects the animation.
49
69
 
70
+ ```html example libs="countup" centered vertical separated height="20rem"
50
71
  <h1 data-countup>3.123</h1>
51
72
  <h1 data-countup='{"decimalPlaces":1}'>3.123</h1>
52
73
  <h1 data-countup='{"decimalPlaces":2}'>3.123</h1>
@@ -55,82 +76,90 @@ Set how many decimal numbers should be displayed using `decimalPlaces`.
55
76
 
56
77
  ## Easing
57
78
 
58
- Disable easing using `"useEasing": false`. Easing is set to `true` by default, so that the animation speed changes over the course of its duration.
79
+ Disable easing using `"useEasing": false`. Easing is set to `true` by default, so that the animation speed changes over the course of its duration. Easing can be disabled to make the animation linear.
59
80
 
60
- ```html code example
61
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
81
+ ```html
82
+ <h1 data-countup='{"useEasing": false}'>30000</h1>
83
+ ```
62
84
 
85
+ Look at the example below to see how easing affects the animation.
86
+
87
+ ```html example libs="countup" centered vertical separated
63
88
  <h1 data-countup>30000</h1>
64
89
  <h1 data-countup='{"useEasing": false}'>30000</h1>
65
90
  ```
66
91
 
67
92
  ## Use grouping
68
93
 
69
- Disable grouping using `"useGrouping": false`. Grouping is set to `true` by default and the default group separator is a comma.
94
+ Disable grouping using `"useGrouping": false`. Grouping is set to `true` by default, so that the number is displayed with a separator.
95
+
96
+ ```html
97
+ <h1 data-countup='{"useGrouping": false}'>30000</h1>
98
+ ```
70
99
 
71
- ```html code example
72
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
100
+ Example below shows how grouping affects the animation.
73
101
 
102
+ ```html example libs="countup" centered vertical separated
74
103
  <h1 data-countup>30000</h1>
75
104
  <h1 data-countup='{"useGrouping": false}'>30000</h1>
76
105
  ```
77
106
 
78
107
  ## Separator
79
108
 
80
- You can change the default comma group separator using `separator` and specifying the one you wish to use.
109
+ You can change the default separator using `separator` and specifying the one you wish to use.
81
110
 
82
- ```html code example
83
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
111
+ ```html
112
+ <h1 data-countup='{"separator":" "}'>3000000</h1>
113
+ ```
84
114
 
115
+ This example shows how the separator affects the animation.
116
+
117
+ ```html example libs="countup" centered vertical separated
85
118
  <h1 data-countup>3000000</h1>
86
119
  <h1 data-countup='{"separator":" "}'>3000000</h1>
87
- <h1 data-countup='{"separator":"-"}'>3000000</h1>
88
- <h1 data-countup='{"separator":":"}'>3000000</h1>
89
120
  ```
90
121
 
91
122
  ## Decimal separator
92
123
 
93
- You can also change the decimal separator which is set to a full stop by default. To do it, use `decimal` and specify the decimal separator of your choice.
124
+ You can change the default decimal separator using `decimal` and specifying the one you wish to use.
94
125
 
95
- ```html code example
96
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
126
+ ```html
127
+ <h1 data-countup='{"decimal":","}'>3.12</h1>
128
+ ```
97
129
 
130
+ Look at the example below to see how the decimal separator affects the animation.
131
+
132
+ ```html example libs="countup" centered vertical separated
98
133
  <h1 data-countup='{"decimalPlaces":2}'>3.12</h1>
99
- <h1 data-countup='{"decimalPlaces":2,"decimal":".."}'>3.12</h1>
100
- <h1 data-countup='{"decimalPlaces":2,"decimal":"^"}'>3.12</h1>
101
- <h1 data-countup='{"decimalPlaces":2,"decimal":":"}'>3.12</h1>
134
+ <h1 data-countup='{"decimalPlaces":2,"decimal":","}'>3.12</h1>
102
135
  ```
103
136
 
104
137
  ## Prefix
105
138
 
106
139
  Set the countup prefix using `prefix` and specifying the prefix you want to add, for instance a currency symbol.
107
140
 
108
- ```html code example
109
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
141
+ ```html
142
+ <h1 data-countup='{"prefix":"$"}'>30000</h1>
143
+ ```
144
+
145
+ Look at the example below to see how the prefix affects the animation.
110
146
 
147
+ ```html example libs="countup" centered vertical separated
111
148
  <h1 data-countup='{"prefix":"$"}'>30000</h1>
112
149
  <h1 data-countup='{"prefix":"€"}'>30000</h1>
113
- <h1 data-countup='{"prefix":"£"}'>30000</h1>
114
150
  ```
115
151
 
116
152
  ## Suffix
117
153
 
118
- Set the countup suffix using `suffix`.
154
+ Set the countup suffix using `suffix` and specifying the suffix you want to add, for instance a percentage symbol.
119
155
 
120
- ```html code example
121
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
122
-
123
- <h1 data-countup='{"suffix":"%"}'>30</h1>
124
- <h1 data-countup='{"suffix":"‰"}'>30</h1>
125
- <h1 data-countup='{"suffix":"k"}'>30</h1>
156
+ ```html
157
+ <h1 data-countup='{"suffix":"%"}'>300</h1>
126
158
  ```
127
159
 
128
- Of course you can mix all of these:
129
-
130
- ```html code example
131
- <script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
160
+ Look at the example below to see how the suffix affects the animation.
132
161
 
133
- <h1 data-countup='{"duration":6,"startVal":12345,"decimalPlaces":2,"separator":" ","prefix":"$"}'>64547834.76</h1>
162
+ ```html example libs="countup" centered vertical separated
163
+ <h1 data-countup='{"suffix":"%"}'>300</h1>
164
+ <h1 data-countup='{"suffix":"‰"}'>300</h1>
134
165
  ```
135
-
136
- For more advanced features of countups, click [**here**](https://inorganik.github.io/countUp.js/) and see what more you can do.
@@ -1,9 +1,10 @@
1
1
  ---
2
2
  title: Data grid
3
- description: Use the data grid component to display detailed information about your product. The data is displayed as a column of items consisting of a title and content.
3
+ summary: Use the data grid component to display detailed information about your product. The data is displayed as a column of items consisting of a title and content.
4
+ description: Detailed product information in grids.
4
5
  ---
5
6
 
6
- ```html example code vcentered height="460px"
7
+ ```html example vcentered height="460px"
7
8
  <div class="datagrid">
8
9
  <div class="datagrid-item">
9
10
  <div class="datagrid-title">Registrar</div>
@@ -88,3 +89,10 @@ description: Use the data grid component to display detailed information about y
88
89
  </div>
89
90
  </div>
90
91
  ```
92
+
93
+ You can adjust the datagrid to your needs setting the values of variables:
94
+
95
+ | Variable | Description | Default |
96
+ |----------|-------------|---------|
97
+ | `--tblr-datagrid-item-width` | Width of the datagrid item | `15rem` |
98
+ | `--tblr-datagrid-padding` | Gap between the datagrid items | `1.5rem` |
@@ -1,14 +1,14 @@
1
1
  ---
2
2
  title: Divider
3
- description: Dividers help organize content and make the interface layout clear and uncluttered. Greater clarity adds up to better user experience and enhanced interaction with a website or app.
4
- bootstrapLink: components/dropdowns/#dividers
3
+ summary: Dividers help organize content and make the interface layout clear and uncluttered. Greater clarity adds up to better user experience and enhanced interaction with a website or app.
4
+ description: Separate content with clear dividers.
5
5
  ---
6
6
 
7
7
  ## Default markup
8
8
 
9
9
  Use dividers to visually separate content into parts. You can use a line only or add text that will be centered by default.
10
10
 
11
- ```html code example
11
+ ```html example
12
12
  <p>
13
13
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias, dolore dolores doloribus est ex.
14
14
  </p>
@@ -22,7 +22,7 @@ Use dividers to visually separate content into parts. You can use a line only or
22
22
 
23
23
  You can modify the position of the text which is to be included in a separator and make it left- or right-aligned. Otherwise, the text will remain centered.
24
24
 
25
- ```html code example height="380px"
25
+ ```html example height="380px"
26
26
  <p>
27
27
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias, dolore dolores doloribus est ex.
28
28
  </p>
@@ -42,9 +42,9 @@ You can modify the position of the text which is to be included in a separator a
42
42
 
43
43
  ## Divider color
44
44
 
45
- Customize the color of dividers to make them go well with your design. Click [here](/docs/ui/colors) to see the list of available colors.
45
+ Customize the color of dividers to make them go well with your design. Click [here](/docs/ui/base/colors) to see the list of available colors.
46
46
 
47
- ```html code example height="380px"
47
+ ```html example height="380px"
48
48
  <p>
49
49
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias, dolore dolores doloribus est ex.
50
50
  </p>