@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.
- package/LICENSE +1 -1
- package/dist/css/demo.css +2 -2
- package/dist/css/demo.min.css +2 -2
- package/dist/css/demo.rtl.css +2 -2
- package/dist/css/demo.rtl.min.css +2 -2
- package/dist/css/tabler-flags.css +2 -2
- package/dist/css/tabler-flags.min.css +2 -2
- package/dist/css/tabler-flags.rtl.css +2 -2
- package/dist/css/tabler-flags.rtl.min.css +2 -2
- package/dist/css/tabler-marketing.css +4751 -0
- package/dist/css/tabler-marketing.min.css +9 -0
- package/dist/css/tabler-marketing.rtl.css +4751 -0
- package/dist/css/tabler-marketing.rtl.min.css +9 -0
- package/dist/css/tabler-payments.css +2 -2
- package/dist/css/tabler-payments.min.css +2 -2
- package/dist/css/tabler-payments.rtl.css +2 -2
- package/dist/css/tabler-payments.rtl.min.css +2 -2
- package/dist/css/tabler-socials.css +221 -0
- package/dist/css/tabler-socials.min.css +9 -0
- package/dist/css/tabler-socials.rtl.css +221 -0
- package/dist/css/tabler-socials.rtl.min.css +9 -0
- package/dist/css/tabler-vendors.css +25 -19
- package/dist/css/tabler-vendors.min.css +3 -3
- package/dist/css/tabler-vendors.rtl.css +25 -19
- package/dist/css/tabler-vendors.rtl.min.css +3 -3
- package/dist/css/tabler.css +1300 -1501
- package/dist/css/tabler.min.css +4 -4
- package/dist/css/tabler.rtl.css +1300 -1501
- package/dist/css/tabler.rtl.min.css +4 -4
- package/dist/img/social/apple-gray.svg +3 -0
- package/dist/img/social/apple.svg +3 -0
- package/dist/img/social/discord-gray.svg +3 -0
- package/dist/img/social/discord.svg +3 -0
- package/dist/img/social/dribbble-gray.svg +3 -0
- package/dist/img/social/dribbble.svg +4 -0
- package/dist/img/social/facebook-gray.svg +3 -0
- package/dist/img/social/facebook.svg +4 -0
- package/dist/img/social/figma-gray.svg +3 -0
- package/dist/img/social/figma.svg +7 -0
- package/dist/img/social/github-gray.svg +10 -0
- package/dist/img/social/github.svg +10 -0
- package/dist/img/social/google-gray.svg +3 -0
- package/dist/img/social/google.svg +6 -0
- package/dist/img/social/instagram-gray.svg +5 -0
- package/dist/img/social/instagram.svg +18 -0
- package/dist/img/social/linkedin-gray.svg +3 -0
- package/dist/img/social/linkedin.svg +3 -0
- package/dist/img/social/medium-gray.svg +5 -0
- package/dist/img/social/medium.svg +5 -0
- package/dist/img/social/meta-gray.svg +5 -0
- package/dist/img/social/meta.svg +17 -0
- package/dist/img/social/metamask-gray.svg +12 -0
- package/dist/img/social/metamask.svg +14 -0
- package/dist/img/social/pinterest-gray.svg +3 -0
- package/dist/img/social/pinterest.svg +4 -0
- package/dist/img/social/reddit-gray.svg +6 -0
- package/dist/img/social/reddit.svg +11 -0
- package/dist/img/social/signal-gray.svg +10 -0
- package/dist/img/social/signal.svg +10 -0
- package/dist/img/social/skype-gray.svg +3 -0
- package/dist/img/social/skype.svg +3 -0
- package/dist/img/social/snapchat-gray.svg +10 -0
- package/dist/img/social/snapchat.svg +11 -0
- package/dist/img/social/spotify-gray.svg +3 -0
- package/dist/img/social/spotify.svg +3 -0
- package/dist/img/social/telegram-gray.svg +3 -0
- package/dist/img/social/telegram.svg +10 -0
- package/dist/img/social/tiktok-gray.svg +3 -0
- package/dist/img/social/tiktok.svg +5 -0
- package/dist/img/social/tumblr-gray.svg +3 -0
- package/dist/img/social/tumblr.svg +3 -0
- package/dist/img/social/twitch-gray.svg +5 -0
- package/dist/img/social/twitch.svg +6 -0
- package/dist/img/social/vk-gray.svg +3 -0
- package/dist/img/social/vk.svg +4 -0
- package/dist/img/social/x-gray.svg +3 -0
- package/dist/img/social/x.svg +3 -0
- package/dist/img/social/youtube-gray.svg +3 -0
- package/dist/img/social/youtube.svg +11 -0
- package/dist/js/demo-theme.js +2 -2
- package/dist/js/demo-theme.min.js +2 -2
- package/dist/js/demo.js +2 -2
- package/dist/js/demo.min.js +2 -2
- package/dist/js/tabler.esm.js +19 -4
- package/dist/js/tabler.esm.min.js +3 -3
- package/dist/js/tabler.js +19 -4
- package/dist/js/tabler.min.js +4 -4
- package/docs/icons/index.mdx +3 -93
- package/docs/icons/libraries/index.mdx +5 -0
- package/docs/icons/{preact.mdx → libraries/preact.mdx} +4 -2
- package/docs/icons/{react.mdx → libraries/react.mdx} +5 -3
- package/docs/icons/{solidjs.mdx → libraries/solidjs.mdx} +5 -2
- package/docs/icons/{svelte.mdx → libraries/svelte.mdx} +5 -2
- package/docs/icons/{vue.mdx → libraries/vue.mdx} +13 -8
- package/docs/icons/{webfont.mdx → libraries/webfont.mdx} +4 -1
- package/docs/icons/plugins/figma.mdx +15 -0
- package/docs/icons/plugins/index.mdx +4 -0
- package/docs/icons/{eps.mdx → static-files/eps.mdx} +3 -1
- package/docs/icons/static-files/index.mdx +5 -0
- package/docs/icons/{pdf.mdx → static-files/pdf.mdx} +3 -1
- package/docs/icons/static-files/png.mdx +31 -0
- package/docs/icons/{svg.mdx → static-files/svg.mdx} +18 -18
- package/docs/illustrations/index.mdx +8 -0
- package/docs/illustrations/introduction/contents.mdx +77 -0
- package/docs/illustrations/introduction/customization.mdx +431 -0
- package/docs/illustrations/introduction/index.mdx +5 -0
- package/docs/illustrations/introduction/license.mdx +22 -0
- package/docs/img/browsers/brave.svg +1 -0
- package/docs/img/browsers/chrome.svg +1 -0
- package/docs/img/browsers/edge.svg +1 -0
- package/docs/img/browsers/electron.svg +1 -0
- package/docs/img/browsers/firefox.svg +1 -0
- package/docs/img/browsers/internet-explorer.svg +1 -0
- package/docs/img/browsers/opera.svg +1 -0
- package/docs/img/browsers/safari.svg +1 -0
- package/docs/img/browsers/vivaldi.svg +1 -0
- package/docs/img/cover-illustrations-dark.png +0 -0
- package/docs/img/cover-illustrations.png +0 -0
- package/docs/img/cover-tabler-dark.png +0 -0
- package/docs/img/cover-tabler.png +0 -0
- package/docs/img/icons/figma-plugin.png +0 -0
- package/docs/img/icons/package-angular-dark.png +0 -0
- package/docs/img/icons/package-angular.png +0 -0
- package/docs/img/icons/package-eps-dark.png +0 -0
- package/docs/img/icons/package-eps.png +0 -0
- package/docs/img/icons/package-js-dark.png +0 -0
- package/docs/img/icons/package-js.png +0 -0
- package/docs/img/icons/package-pdf-dark.png +0 -0
- package/docs/img/icons/package-pdf.png +0 -0
- package/docs/img/icons/package-png-dark.png +0 -0
- package/docs/img/icons/package-png.png +0 -0
- package/docs/img/icons/package-preact-dark.png +0 -0
- package/docs/img/icons/package-preact.png +0 -0
- package/docs/img/icons/package-react-dark.png +0 -0
- package/docs/img/icons/package-react-native-dark.png +0 -0
- package/docs/img/icons/package-react-native.png +0 -0
- package/docs/img/icons/package-react.png +0 -0
- package/docs/img/icons/package-solidjs-dark.png +0 -0
- package/docs/img/icons/package-solidjs.png +0 -0
- package/docs/img/icons/package-sprite-dark.png +0 -0
- package/docs/img/icons/package-sprite.png +0 -0
- package/docs/img/icons/package-svelte-dark.png +0 -0
- package/docs/img/icons/package-svelte.png +0 -0
- package/docs/img/icons/package-svg-dark.png +0 -0
- package/docs/img/icons/package-svg.png +0 -0
- package/docs/img/icons/package-vue-dark.png +0 -0
- package/docs/img/icons/package-vue.png +0 -0
- package/docs/img/icons/package-webfont-dark.png +0 -0
- package/docs/img/icons/package-webfont.png +0 -0
- package/docs/index.mdx +16 -0
- package/docs/ui/base/colors.mdx +63 -5
- package/docs/ui/base/index.mdx +6 -0
- package/docs/ui/base/typography.mdx +96 -101
- package/docs/ui/components/alerts.mdx +45 -120
- package/docs/ui/components/autosize.mdx +12 -3
- package/docs/ui/components/avatars.mdx +7 -4
- package/docs/ui/components/badges.mdx +66 -75
- package/docs/ui/components/breadcrumb.mdx +125 -59
- package/docs/ui/components/buttons.mdx +142 -87
- package/docs/ui/components/cards.mdx +48 -27
- package/docs/ui/components/carousel.mdx +8 -7
- package/docs/ui/components/charts.mdx +15 -24
- package/docs/ui/components/countup.mdx +74 -45
- package/docs/ui/components/datagrid.mdx +10 -2
- package/docs/ui/components/divider.mdx +6 -6
- package/docs/ui/components/dropdowns.mdx +24 -15
- package/docs/ui/components/dropzone.mdx +39 -14
- package/docs/ui/components/empty.mdx +7 -5
- package/docs/ui/components/icons.mdx +53 -14
- package/docs/ui/components/index.mdx +6 -0
- package/docs/ui/components/inline-player.mdx +31 -4
- package/docs/ui/components/modals.mdx +53 -18
- package/docs/ui/components/offcanvas.mdx +55 -0
- package/docs/ui/components/placeholder.mdx +25 -25
- package/docs/ui/components/popover.mdx +8 -9
- package/docs/ui/components/progress.mdx +120 -19
- package/docs/ui/components/range-slider.mdx +17 -3
- package/docs/ui/components/ribbons.mdx +13 -12
- package/docs/ui/components/spinners.mdx +31 -10
- package/docs/ui/components/statuses.mdx +50 -13
- package/docs/ui/components/steps.mdx +62 -19
- package/docs/ui/components/switch-icon.mdx +4 -3
- package/docs/ui/components/tables.mdx +37 -17
- package/docs/ui/components/tabs.mdx +17 -11
- package/docs/ui/components/timelines.mdx +48 -29
- package/docs/ui/components/tinymce.mdx +3 -3
- package/docs/ui/components/toasts.mdx +3 -2
- package/docs/ui/components/tooltips.mdx +4 -3
- package/docs/ui/components/tracking.mdx +39 -34
- package/docs/ui/components/vector-maps.mdx +170 -0
- package/docs/ui/forms/form-color-check.mdx +36 -11
- package/docs/ui/forms/form-elements.mdx +32 -17
- package/docs/ui/forms/form-fieldset.mdx +3 -2
- package/docs/ui/forms/form-helpers.mdx +71 -4
- package/docs/ui/forms/form-image-check.mdx +43 -29
- package/docs/ui/forms/form-input-mask.mdx +33 -5
- package/docs/ui/forms/form-selectboxes.mdx +101 -16
- package/docs/ui/forms/form-validation.mdx +54 -13
- package/docs/ui/forms/index.mdx +6 -0
- package/docs/ui/getting-started/browser-support.mdx +10 -2
- package/docs/ui/getting-started/customize.mdx +5 -4
- package/docs/ui/getting-started/download.mdx +3 -5
- package/docs/ui/getting-started/faq.mdx +3 -1
- package/docs/ui/getting-started/how-to-contribute.mdx +96 -0
- package/docs/ui/getting-started/index.mdx +4 -28
- package/docs/ui/getting-started/installation.mdx +67 -0
- package/docs/ui/getting-started/license.mdx +30 -0
- package/docs/ui/index.mdx +8 -0
- package/docs/ui/layout/index.mdx +6 -0
- package/docs/ui/layout/navbars.mdx +106 -0
- package/docs/ui/layout/navs-tabls.mdx +187 -0
- package/docs/ui/layout/page-headers.mdx +16 -9
- package/docs/ui/layout/page-layouts.mdx +10 -6
- package/docs/ui/plugins/flags.mdx +270 -6
- package/docs/ui/plugins/index.mdx +6 -0
- package/docs/ui/plugins/payments.mdx +108 -4
- package/docs/ui/plugins/social-icons.mdx +135 -0
- package/docs/ui/utilities/borders.mdx +69 -49
- package/docs/ui/utilities/cursors.mdx +22 -51
- package/docs/ui/utilities/index.mdx +5 -0
- package/docs/ui/utilities/interactions.mdx +10 -5
- package/docs/ui/utilities/margins.mdx +234 -0
- package/docs/ui/utilities/vertical-align.mdx +66 -0
- package/docs/ui/utilities/visually-hidden.mdx +12 -0
- package/package.json +9 -6
- package/src/js/src/countup.js +17 -0
- package/src/js/tabler.esm.js +1 -0
- package/src/js/tabler.js +1 -0
- package/src/scss/_utilities-marketing.scss +209 -0
- package/src/scss/_utilities.scss +5 -9
- package/src/scss/_variables-marketing.scss +0 -0
- package/src/scss/_variables.scss +57 -22
- package/src/scss/layout/_animations.scss +2 -1
- package/src/scss/layout/_navbar.scss +0 -1
- package/src/scss/marketing/_browser.scss +67 -0
- package/src/scss/marketing/_core.scss +8 -0
- package/src/scss/marketing/_filters.scss +0 -0
- package/src/scss/marketing/_hero.scss +69 -0
- package/src/scss/marketing/_pricing.scss +111 -0
- package/src/scss/marketing/_sections.scss +124 -0
- package/src/scss/marketing/_shape.scss +31 -0
- package/src/scss/mixins/_mixins.scss +2 -2
- package/src/scss/tabler-marketing.scss +13 -0
- package/src/scss/tabler-socials.scss +2 -0
- package/src/scss/tabler-vendors.scss +1 -0
- package/src/scss/ui/_buttons.scss +8 -7
- package/src/scss/ui/_forms.scss +4 -0
- package/src/scss/ui/_images.scss +4 -0
- package/src/scss/ui/_lists.scss +11 -15
- package/src/scss/ui/_social.scss +52 -0
- package/src/scss/ui/_tables.scss +0 -1
- package/src/scss/ui/_type.scss +4 -0
- package/src/scss/utils/_colors.scss +1 -1
- package/src/scss/vendor/_dropzone.scss +3 -3
- package/src/scss/vendor/_tom-select.scss +1 -0
- package/src/scss/vendor/_typed.scss +4 -0
- package/dist/css/tabler-social.css +0 -10
- package/dist/css/tabler-social.min.css +0 -8
- package/dist/css/tabler-social.rtl.css +0 -10
- package/dist/css/tabler-social.rtl.min.css +0 -8
- package/docs/icons/figma.mdx +0 -7
- package/docs/icons/png.mdx +0 -19
- package/docs/menu.json +0 -317
- package/docs/ui/components/progressbg.mdx +0 -16
- package/src/scss/tabler-social.scss +0 -1
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Statuses
|
|
3
|
-
|
|
3
|
+
summary: Status dots are particularly useful if you want to make an interface element more noticeable regardless of limited space.
|
|
4
|
+
description: Highlight interface elements with status dots.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
## Default markup
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
Use the default status to notify users about the status of a component or page, helping them avoid confusion. Full list of available colors can be found in the [Colors](/docs/ui/base/colors) section.
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<span class="status status-blue">Blue</span>
|
|
13
|
+
<span class="status status-azure">Azure</span>
|
|
14
|
+
...
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Look at the example below to see how the status works:
|
|
18
|
+
|
|
19
|
+
```html example centered separated columns={2}
|
|
9
20
|
<span class="status status-blue">Blue</span>
|
|
10
21
|
<span class="status status-azure">Azure</span>
|
|
11
22
|
<span class="status status-indigo">Indigo</span>
|
|
@@ -20,15 +31,21 @@ description: Status dots are particularly useful if you want to make an interfac
|
|
|
20
31
|
<span class="status status-cyan">Cyan</span>
|
|
21
32
|
```
|
|
22
33
|
|
|
34
|
+
|
|
35
|
+
## Status with dot
|
|
36
|
+
|
|
37
|
+
You can add a dot to the status to make it more noticeable. To do this, use the `.status-dot` element inside the `.status` element.
|
|
38
|
+
|
|
23
39
|
```html
|
|
24
|
-
<span class="status status-blue">
|
|
25
|
-
<span class="status
|
|
26
|
-
|
|
40
|
+
<span class="status status-blue">
|
|
41
|
+
<span class="status-dot"></span>
|
|
42
|
+
Blue
|
|
43
|
+
</span>
|
|
27
44
|
```
|
|
28
45
|
|
|
29
|
-
|
|
46
|
+
Look at the example below to see how the status with a dot works:
|
|
30
47
|
|
|
31
|
-
```html example
|
|
48
|
+
```html example centered separated columns={2}
|
|
32
49
|
<span class="status status-blue">
|
|
33
50
|
<span class="status-dot"></span>
|
|
34
51
|
Blue
|
|
@@ -81,7 +98,9 @@ description: Status dots are particularly useful if you want to make an interfac
|
|
|
81
98
|
|
|
82
99
|
### Animated dot
|
|
83
100
|
|
|
84
|
-
|
|
101
|
+
You can also animate the dot to make it more noticeable. To do this, use the `.status-dot-animated` class inside the `.status-dot` element.
|
|
102
|
+
|
|
103
|
+
```html example centered separated columns={2}
|
|
85
104
|
<span class="status status-blue">
|
|
86
105
|
<span class="status-dot status-dot-animated"></span>
|
|
87
106
|
Blue
|
|
@@ -134,7 +153,9 @@ description: Status dots are particularly useful if you want to make an interfac
|
|
|
134
153
|
|
|
135
154
|
## Lite status
|
|
136
155
|
|
|
137
|
-
|
|
156
|
+
Use the lite status to make the status less noticeable. To do this, use the `.status-lite` class inside the `.status` element.
|
|
157
|
+
|
|
158
|
+
```html example centered separated columns={2}
|
|
138
159
|
<span class="status status-blue status-lite">
|
|
139
160
|
<span class="status-dot"></span>
|
|
140
161
|
Blue
|
|
@@ -187,7 +208,15 @@ description: Status dots are particularly useful if you want to make an interfac
|
|
|
187
208
|
|
|
188
209
|
## Status dots
|
|
189
210
|
|
|
190
|
-
|
|
211
|
+
If you need only dot status, you can use the `.status-dot` class.
|
|
212
|
+
|
|
213
|
+
```html
|
|
214
|
+
<span class="status-dot status-blue"></span>
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
Look at the example below to see how the status dots work:
|
|
218
|
+
|
|
219
|
+
```html example centered separated
|
|
191
220
|
<span class="status-dot status-blue"></span>
|
|
192
221
|
<span class="status-dot status-azure"></span>
|
|
193
222
|
<span class="status-dot status-indigo"></span>
|
|
@@ -202,9 +231,15 @@ description: Status dots are particularly useful if you want to make an interfac
|
|
|
202
231
|
<span class="status-dot status-cyan"></span>
|
|
203
232
|
```
|
|
204
233
|
|
|
205
|
-
|
|
234
|
+
The dots can also be animated. To do this, use the `.status-dot-animated` class.
|
|
235
|
+
|
|
236
|
+
```html
|
|
237
|
+
<span class="status-dot status-dot-animated status-blue"></span>
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
The animated status dots can be used in the same way as the regular status dots.
|
|
206
241
|
|
|
207
|
-
```html
|
|
242
|
+
```html example centered separated
|
|
208
243
|
<span class="status-dot status-dot-animated status-blue"></span>
|
|
209
244
|
<span class="status-dot status-dot-animated status-azure"></span>
|
|
210
245
|
<span class="status-dot status-dot-animated status-indigo"></span>
|
|
@@ -221,7 +256,9 @@ description: Status dots are particularly useful if you want to make an interfac
|
|
|
221
256
|
|
|
222
257
|
## Status indicator
|
|
223
258
|
|
|
224
|
-
|
|
259
|
+
Use the status indicator to show the status of a component or page. The status indicator can be animated. To do this, use the `.status-indicator-animated` class.
|
|
260
|
+
|
|
261
|
+
```html example centered separated columns={1}
|
|
225
262
|
<span class="status-indicator status-blue status-indicator-animated">
|
|
226
263
|
<span class="status-indicator-circle"></span>
|
|
227
264
|
<span class="status-indicator-circle"></span>
|
|
@@ -1,16 +1,33 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Steps
|
|
3
|
-
|
|
3
|
+
summary: Steps are used to guide users through complex processes, making them easier and more intuitive. Breaking a multi-step process into smaller parts and tracking progress along the way helps users complete it successfully.
|
|
4
4
|
new: true
|
|
5
|
+
description: Simplify complex processes with steps.
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## Default markup
|
|
8
9
|
|
|
9
|
-
Steps
|
|
10
|
+
Steps provide a clear visual representation of a user’s progress through a multi-step process. By showing what has been completed and what remains, steps enhance usability and encourage task completion.
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
To create a default progress tracker, use the `.steps` class and define each step as a `.step-item`. The active step clearly indicates the current position in the process.
|
|
12
13
|
|
|
13
|
-
```html
|
|
14
|
+
```html
|
|
15
|
+
<div class="steps">
|
|
16
|
+
<a href="#" class="step-item">
|
|
17
|
+
Step 1
|
|
18
|
+
</a>
|
|
19
|
+
<a href="#" class="step-item">
|
|
20
|
+
Step 2
|
|
21
|
+
</a>
|
|
22
|
+
<a href="#" class="step-item active">
|
|
23
|
+
Step 3
|
|
24
|
+
</a>
|
|
25
|
+
</div>
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The example below demonstrates a simple progress tracker with four steps, where the third step is active.
|
|
29
|
+
|
|
30
|
+
```html example centered
|
|
14
31
|
<div class="steps">
|
|
15
32
|
<a href="#" class="step-item">
|
|
16
33
|
Step 1
|
|
@@ -31,18 +48,28 @@ Use the `steps` class to create the default progress tracker and name the steps
|
|
|
31
48
|
|
|
32
49
|
Add tooltips, if you want to provide users with additional information about the steps they are expected to complete. Tooltips are displayed when a user hovers over a given step and help clarify what might not be clear from the interface.
|
|
33
50
|
|
|
34
|
-
|
|
51
|
+
To add a tooltip, use the `data-bs-toggle="tooltip"` attribute and specify the tooltip content with the `title` attribute.
|
|
52
|
+
|
|
53
|
+
```html
|
|
54
|
+
<a href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 1 description">
|
|
55
|
+
Step 1
|
|
56
|
+
</a>
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
The example below demonstrates a progress tracker with tooltips for each step.
|
|
60
|
+
|
|
61
|
+
```html example centered height="20rem"
|
|
35
62
|
<div class="steps">
|
|
36
|
-
<a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 1 description">
|
|
63
|
+
<a href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 1 description">
|
|
37
64
|
Step 1
|
|
38
65
|
</a>
|
|
39
|
-
<a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 2 description">
|
|
66
|
+
<a href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 2 description">
|
|
40
67
|
Step 2
|
|
41
68
|
</a>
|
|
42
|
-
<a href="#" class="step-item active" data-bs-toggle="tooltip" title="Step 3 description">
|
|
69
|
+
<a href="#" class="step-item active" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 3 description">
|
|
43
70
|
Step 3
|
|
44
71
|
</a>
|
|
45
|
-
<span href="#" class="step-item" data-bs-toggle="tooltip" title="Step 4 description">
|
|
72
|
+
<span href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 4 description">
|
|
46
73
|
Step 4
|
|
47
74
|
</span>
|
|
48
75
|
</div>
|
|
@@ -50,9 +77,17 @@ Add tooltips, if you want to provide users with additional information about the
|
|
|
50
77
|
|
|
51
78
|
## Color
|
|
52
79
|
|
|
53
|
-
You can customize the default progress indicator by changing the color to one that better suits your design. Click [here](/docs/ui/colors) to see the range of available colors.
|
|
80
|
+
You can customize the default progress indicator by changing the color to one that better suits your design. Click [here](/docs/ui/base/colors) to see the range of available colors.
|
|
54
81
|
|
|
55
|
-
```html
|
|
82
|
+
```html
|
|
83
|
+
<div class="steps steps-green">
|
|
84
|
+
...
|
|
85
|
+
</div>
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
The example below demonstrates a progress tracker with two different color schemes.
|
|
89
|
+
|
|
90
|
+
```html example centered
|
|
56
91
|
<div class="steps steps-green">
|
|
57
92
|
<a href="#" class="step-item">
|
|
58
93
|
Step 1
|
|
@@ -87,21 +122,29 @@ You can customize the default progress indicator by changing the color to one th
|
|
|
87
122
|
|
|
88
123
|
For designs with limited space, use progress indicators without titles and add tooltips to provide the necessary details.
|
|
89
124
|
|
|
90
|
-
```html
|
|
125
|
+
```html example centered
|
|
91
126
|
<div class="steps">
|
|
92
|
-
<a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 1 description"></a>
|
|
93
|
-
<a href="#" class="step-item" data-bs-toggle="tooltip" title="Step 2 description"></a>
|
|
94
|
-
<a href="#" class="step-item active" data-bs-toggle="tooltip" title="Step 3 description"></a>
|
|
95
|
-
<span href="#" class="step-item" data-bs-toggle="tooltip" title="Step 4 description"></span>
|
|
127
|
+
<a href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 1 description"></a>
|
|
128
|
+
<a href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 2 description"></a>
|
|
129
|
+
<a href="#" class="step-item active" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 3 description"></a>
|
|
130
|
+
<span href="#" class="step-item" data-bs-toggle="tooltip" data-bs-placement="top" title="Step 4 description"></span>
|
|
96
131
|
</div>
|
|
97
132
|
```
|
|
98
133
|
|
|
99
134
|
## Steps with numbers
|
|
100
135
|
|
|
101
|
-
Use the `steps-counter` class to create a progress tracker with numbers instead of titles and change the color to customize it.
|
|
136
|
+
Use the `steps-counter` class to create a progress tracker with numbers instead of titles and change the color to customize it.
|
|
137
|
+
|
|
138
|
+
```html
|
|
139
|
+
<div class="steps steps-counter">
|
|
140
|
+
...
|
|
141
|
+
</div>
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
The example below demonstrates a progress tracker with numbers and a different color scheme.
|
|
102
145
|
|
|
103
|
-
```html
|
|
104
|
-
<div class="steps steps-counter
|
|
146
|
+
```html example centered
|
|
147
|
+
<div class="steps steps-counter">
|
|
105
148
|
<a href="#" class="step-item"></a>
|
|
106
149
|
<a href="#" class="step-item active"></a>
|
|
107
150
|
<span href="#" class="step-item"></span>
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Switch icon
|
|
3
|
-
|
|
3
|
+
summary: The Switch Icon component is used to create a transition between two icons. You can use any icon, both line and filled version.
|
|
4
4
|
banner: icons
|
|
5
|
+
description: Transition between two icons smoothly.
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## Default markup
|
|
8
9
|
|
|
9
10
|
To replace the icons, all should add `active` class to the `switch-icon` component.
|
|
10
11
|
|
|
11
|
-
```html
|
|
12
|
+
```html example centered
|
|
12
13
|
<button class="switch-icon" data-bs-toggle="switch-icon">
|
|
13
14
|
<span class="switch-icon-a text-secondary">
|
|
14
15
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-heart" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
@@ -29,7 +30,7 @@ To replace the icons, all should add `active` class to the `switch-icon` compone
|
|
|
29
30
|
|
|
30
31
|
You can also add a fancy animation to add variety to your button. See demo below:
|
|
31
32
|
|
|
32
|
-
```html example
|
|
33
|
+
```html example centered separated
|
|
33
34
|
<button class="switch-icon" data-bs-toggle="switch-icon">
|
|
34
35
|
<span class="switch-icon-a text-secondary">
|
|
35
36
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-circle" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Tables
|
|
3
|
-
|
|
3
|
+
summary: Tables are a useful interface element that allows to visualise data and arrange it in a clear way. Thanks to that, users can browse a lot of information at once and a good table design will help you take care of its clarity.
|
|
4
4
|
bootstrapLink: content/tables/
|
|
5
|
+
description: Visualize data clearly with tables.
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## Basic Table
|
|
@@ -10,7 +11,7 @@ The basic table design has light padding and the presented data is separated wih
|
|
|
10
11
|
|
|
11
12
|
The `.table` class adds basic styling to a table:
|
|
12
13
|
|
|
13
|
-
```html
|
|
14
|
+
```html example height="360px" scrollable
|
|
14
15
|
<div class="table-responsive">
|
|
15
16
|
<table class="table table-vcenter">
|
|
16
17
|
<thead>
|
|
@@ -28,7 +29,9 @@ The `.table` class adds basic styling to a table:
|
|
|
28
29
|
<td class="text-secondary">
|
|
29
30
|
UI Designer, Training
|
|
30
31
|
</td>
|
|
31
|
-
<td class="text-secondary"
|
|
32
|
+
<td class="text-secondary">
|
|
33
|
+
<a href="#" class="text-reset">paweluna@howstuffworks.com</a>
|
|
34
|
+
</td>
|
|
32
35
|
<td class="text-secondary">
|
|
33
36
|
User
|
|
34
37
|
</td>
|
|
@@ -41,7 +44,9 @@ The `.table` class adds basic styling to a table:
|
|
|
41
44
|
<td class="text-secondary">
|
|
42
45
|
Chemical Engineer, Support
|
|
43
46
|
</td>
|
|
44
|
-
<td class="text-secondary"
|
|
47
|
+
<td class="text-secondary">
|
|
48
|
+
<a href="#" class="text-reset">jlewzey1@seesaa.net</a>
|
|
49
|
+
</td>
|
|
45
50
|
<td class="text-secondary">
|
|
46
51
|
Admin
|
|
47
52
|
</td>
|
|
@@ -54,7 +59,9 @@ The `.table` class adds basic styling to a table:
|
|
|
54
59
|
<td class="text-secondary">
|
|
55
60
|
Geologist IV, Support
|
|
56
61
|
</td>
|
|
57
|
-
<td class="text-secondary"
|
|
62
|
+
<td class="text-secondary">
|
|
63
|
+
<a href="#" class="text-reset">mhulme2@domainmarket.com</a>
|
|
64
|
+
</td>
|
|
58
65
|
<td class="text-secondary">
|
|
59
66
|
User
|
|
60
67
|
</td>
|
|
@@ -67,7 +74,9 @@ The `.table` class adds basic styling to a table:
|
|
|
67
74
|
<td class="text-secondary">
|
|
68
75
|
Research Nurse, Sales
|
|
69
76
|
</td>
|
|
70
|
-
<td class="text-secondary"
|
|
77
|
+
<td class="text-secondary">
|
|
78
|
+
<a href="#" class="text-reset">dslane3@epa.gov</a>
|
|
79
|
+
</td>
|
|
71
80
|
<td class="text-secondary">
|
|
72
81
|
Owner
|
|
73
82
|
</td>
|
|
@@ -80,7 +89,9 @@ The `.table` class adds basic styling to a table:
|
|
|
80
89
|
<td class="text-secondary">
|
|
81
90
|
VP Product Management, Accounting
|
|
82
91
|
</td>
|
|
83
|
-
<td class="text-secondary"
|
|
92
|
+
<td class="text-secondary">
|
|
93
|
+
<a href="#" class="text-reset">elevet4@senate.gov</a>
|
|
94
|
+
</td>
|
|
84
95
|
<td class="text-secondary">
|
|
85
96
|
Admin
|
|
86
97
|
</td>
|
|
@@ -97,7 +108,7 @@ The `.table` class adds basic styling to a table:
|
|
|
97
108
|
|
|
98
109
|
Use the `.table-responsive` class across each breakpoint for horizontal scrolling tables. If you want to create responsive tables up to a specific breakpoint, use `.table-responsive{-sm|-md|-lg|-xl}`. From that breakpoint and up, the table will behave normally, rather than scroll horizontally.
|
|
99
110
|
|
|
100
|
-
```html
|
|
111
|
+
```html example height="12rem"
|
|
101
112
|
<table class="table table-responsive">
|
|
102
113
|
<thead>
|
|
103
114
|
<tr>
|
|
@@ -184,8 +195,7 @@ If you don't want the table cell content to wrap to another line, use the `table
|
|
|
184
195
|
|
|
185
196
|
```html
|
|
186
197
|
<div class="table-responsive">
|
|
187
|
-
<table
|
|
188
|
-
class="table table-vcenter table-nowrap">
|
|
198
|
+
<table class="table table-vcenter table-nowrap">
|
|
189
199
|
<thead>
|
|
190
200
|
<tr>
|
|
191
201
|
<th>Name</th>
|
|
@@ -202,7 +212,9 @@ If you don't want the table cell content to wrap to another line, use the `table
|
|
|
202
212
|
<td class="text-secondary">
|
|
203
213
|
UI Designer, Training
|
|
204
214
|
</td>
|
|
205
|
-
<td class="text-secondary"
|
|
215
|
+
<td class="text-secondary">
|
|
216
|
+
<a href="#" class="text-reset">paweluna@howstuffworks.com</a>
|
|
217
|
+
</td>
|
|
206
218
|
<td class="text-secondary">
|
|
207
219
|
User
|
|
208
220
|
</td>
|
|
@@ -219,7 +231,9 @@ If you don't want the table cell content to wrap to another line, use the `table
|
|
|
219
231
|
<td class="text-secondary">
|
|
220
232
|
Chemical Engineer, Support
|
|
221
233
|
</td>
|
|
222
|
-
<td class="text-secondary"
|
|
234
|
+
<td class="text-secondary">
|
|
235
|
+
<a href="#" class="text-reset">jlewzey1@seesaa.net</a>
|
|
236
|
+
</td>
|
|
223
237
|
<td class="text-secondary">
|
|
224
238
|
Admin
|
|
225
239
|
</td>
|
|
@@ -236,7 +250,9 @@ If you don't want the table cell content to wrap to another line, use the `table
|
|
|
236
250
|
<td class="text-secondary">
|
|
237
251
|
Geologist IV, Support
|
|
238
252
|
</td>
|
|
239
|
-
<td class="text-secondary"
|
|
253
|
+
<td class="text-secondary">
|
|
254
|
+
<a href="#" class="text-reset">mhulme2@domainmarket.com</a>
|
|
255
|
+
</td>
|
|
240
256
|
<td class="text-secondary">
|
|
241
257
|
User
|
|
242
258
|
</td>
|
|
@@ -253,7 +269,9 @@ If you don't want the table cell content to wrap to another line, use the `table
|
|
|
253
269
|
<td class="text-secondary">
|
|
254
270
|
Research Nurse, Sales
|
|
255
271
|
</td>
|
|
256
|
-
<td class="text-secondary"
|
|
272
|
+
<td class="text-secondary">
|
|
273
|
+
<a href="#" class="text-reset">dslane3@epa.gov</a>
|
|
274
|
+
</td>
|
|
257
275
|
<td class="text-secondary">
|
|
258
276
|
Owner
|
|
259
277
|
</td>
|
|
@@ -270,7 +288,9 @@ If you don't want the table cell content to wrap to another line, use the `table
|
|
|
270
288
|
<td class="text-secondary">
|
|
271
289
|
VP Product Management, Accounting
|
|
272
290
|
</td>
|
|
273
|
-
<td class="text-secondary"
|
|
291
|
+
<td class="text-secondary">
|
|
292
|
+
<a href="#" class="text-reset">elevet4@senate.gov</a>
|
|
293
|
+
</td>
|
|
274
294
|
<td class="text-secondary">
|
|
275
295
|
Admin
|
|
276
296
|
</td>
|
|
@@ -289,7 +309,7 @@ If you don't want the table cell content to wrap to another line, use the `table
|
|
|
289
309
|
|
|
290
310
|
## Table Variants
|
|
291
311
|
|
|
292
|
-
```html
|
|
312
|
+
```html example height="360px" scrollable
|
|
293
313
|
<table class="table">
|
|
294
314
|
<thead>
|
|
295
315
|
<tr>
|
|
@@ -350,7 +370,7 @@ If you don't want the table cell content to wrap to another line, use the `table
|
|
|
350
370
|
|
|
351
371
|
## Table with sticky header
|
|
352
372
|
|
|
353
|
-
```html example
|
|
373
|
+
```html example scrollable
|
|
354
374
|
<table class="table">
|
|
355
375
|
<thead class="sticky-top">
|
|
356
376
|
<tr>
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Tabs
|
|
3
|
-
|
|
3
|
+
summary: Tabs allow users to alternate between equally important views within the same context. By dividing content into meaningful sections, they improve its organization and make it easy for users to navigate.
|
|
4
4
|
bootstrapLink: components/navs/
|
|
5
|
+
description: Organize content with interactive tabs.
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## Default markup
|
|
8
9
|
|
|
9
10
|
Use tabs to let users access different sections within one context quickly and with ease. In the default design, the current tab is highlighted, which makes the interface clear and user-friendly.
|
|
10
11
|
|
|
11
|
-
```html
|
|
12
|
+
```html example centered columns={1} height="20rem"
|
|
12
13
|
<div class="card">
|
|
13
14
|
<div class="card-header">
|
|
14
15
|
<ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
|
|
@@ -39,27 +40,32 @@ Use tabs to let users access different sections within one context quickly and w
|
|
|
39
40
|
|
|
40
41
|
Add icons to your tab labels, if you want to use a visual element and make the tab content easier to identify.
|
|
41
42
|
|
|
42
|
-
```html example
|
|
43
|
+
```html example centered columns={1} height="20rem"
|
|
43
44
|
<div class="card">
|
|
44
45
|
<div class="card-header">
|
|
45
46
|
<ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
|
|
46
47
|
<li class="nav-item">
|
|
47
|
-
<a href="#tabs-home-ex2" class="nav-link active" data-bs-toggle="tab"
|
|
48
|
+
<a href="#tabs-home-ex2" class="nav-link active" data-bs-toggle="tab">
|
|
49
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="icon me-2" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
48
50
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
49
51
|
<polyline points="5 12 3 12 12 3 21 12 19 12" />
|
|
50
52
|
<path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
|
|
51
53
|
<path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
|
|
52
|
-
</svg> Home
|
|
54
|
+
</svg> Home
|
|
55
|
+
</a>
|
|
53
56
|
</li>
|
|
54
57
|
<li class="nav-item">
|
|
55
|
-
<a href="#tabs-profile-ex2" class="nav-link" data-bs-toggle="tab"
|
|
58
|
+
<a href="#tabs-profile-ex2" class="nav-link" data-bs-toggle="tab">
|
|
59
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="icon me-2" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
56
60
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
57
61
|
<circle cx="12" cy="7" r="4" />
|
|
58
62
|
<path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
|
|
59
|
-
</svg> Profile
|
|
63
|
+
</svg> Profile
|
|
64
|
+
</a>
|
|
60
65
|
</li>
|
|
61
66
|
<li class="nav-item ms-auto">
|
|
62
|
-
<a href="#tabs-settings-ex2" class="nav-link" title="Settings" data-bs-toggle="tab"
|
|
67
|
+
<a href="#tabs-settings-ex2" class="nav-link" title="Settings" data-bs-toggle="tab">
|
|
68
|
+
<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">
|
|
63
69
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
64
70
|
<path d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" />
|
|
65
71
|
<circle cx="12" cy="12" r="3" />
|
|
@@ -91,7 +97,7 @@ Add icons to your tab labels, if you want to use a visual element and make the t
|
|
|
91
97
|
|
|
92
98
|
Use tabs without label names to save space and make the tab content easy to recognize for international users.
|
|
93
99
|
|
|
94
|
-
```html
|
|
100
|
+
```html example centered columns={1} height="20rem"
|
|
95
101
|
<div class="card">
|
|
96
102
|
<div class="card-header">
|
|
97
103
|
<ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
|
|
@@ -148,7 +154,7 @@ Use tabs without label names to save space and make the tab content easy to reco
|
|
|
148
154
|
|
|
149
155
|
Make one or more of your tabs into a dropdown to add more options within one element.
|
|
150
156
|
|
|
151
|
-
```html
|
|
157
|
+
```html example centered columns={1} height="20rem"
|
|
152
158
|
<div class="card">
|
|
153
159
|
<div class="card-header">
|
|
154
160
|
<ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
|
|
@@ -190,7 +196,7 @@ Make one or more of your tabs into a dropdown to add more options within one ele
|
|
|
190
196
|
|
|
191
197
|
Add the `nav-fill` class to make the tabs take up the full space of the parent element.
|
|
192
198
|
|
|
193
|
-
```html
|
|
199
|
+
```html example centered columns={1} height="20rem"
|
|
194
200
|
<div class="card">
|
|
195
201
|
<div class="card-header">
|
|
196
202
|
<ul class="nav nav-tabs card-header-tabs nav-fill" data-bs-toggle="tabs">
|