@tabler/core 1.1.1 → 1.2.0
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 +21 -0
- package/dist/css/tabler-flags.css +2 -2
- package/dist/css/tabler-flags.css.map +1 -1
- package/dist/css/tabler-flags.min.css +2 -2
- package/dist/css/tabler-flags.min.css.map +1 -1
- package/dist/css/tabler-flags.rtl.css +2 -2
- package/dist/css/tabler-flags.rtl.css.map +1 -1
- package/dist/css/tabler-flags.rtl.min.css +2 -2
- package/dist/css/tabler-flags.rtl.min.css.map +1 -1
- package/dist/css/tabler-marketing.css +6 -6
- package/dist/css/tabler-marketing.css.map +1 -1
- package/dist/css/tabler-marketing.min.css +2 -2
- package/dist/css/tabler-marketing.min.css.map +1 -1
- package/dist/css/tabler-marketing.rtl.css +6 -6
- package/dist/css/tabler-marketing.rtl.css.map +1 -1
- package/dist/css/tabler-marketing.rtl.min.css +2 -2
- package/dist/css/tabler-marketing.rtl.min.css.map +1 -1
- package/dist/css/tabler-payments.css +1 -1
- package/dist/css/tabler-payments.min.css +1 -1
- package/dist/css/tabler-payments.rtl.css +1 -1
- package/dist/css/tabler-payments.rtl.min.css +1 -1
- package/dist/css/tabler-props.css +448 -0
- package/dist/css/tabler-props.css.map +1 -0
- package/dist/css/tabler-props.min.css +8 -0
- package/dist/css/tabler-props.min.css.map +1 -0
- package/dist/css/tabler-props.rtl.css +447 -0
- package/dist/css/tabler-props.rtl.css.map +1 -0
- package/dist/css/tabler-props.rtl.min.css +8 -0
- package/dist/css/tabler-props.rtl.min.css.map +1 -0
- package/dist/css/tabler-socials.css +1 -1
- package/dist/css/tabler-socials.min.css +1 -1
- package/dist/css/tabler-socials.rtl.css +1 -1
- package/dist/css/tabler-socials.rtl.min.css +1 -1
- package/dist/css/tabler-themes.css +213 -0
- package/dist/css/tabler-themes.css.map +1 -0
- package/dist/css/tabler-themes.min.css +8 -0
- package/dist/css/tabler-themes.min.css.map +1 -0
- package/dist/css/tabler-themes.rtl.css +212 -0
- package/dist/css/tabler-themes.rtl.css.map +1 -0
- package/dist/css/tabler-themes.rtl.min.css +8 -0
- package/dist/css/tabler-themes.rtl.min.css.map +1 -0
- package/dist/css/tabler-vendors.css +31 -16
- package/dist/css/tabler-vendors.css.map +1 -1
- package/dist/css/tabler-vendors.min.css +2 -2
- package/dist/css/tabler-vendors.min.css.map +1 -1
- package/dist/css/tabler-vendors.rtl.css +31 -16
- package/dist/css/tabler-vendors.rtl.css.map +1 -1
- package/dist/css/tabler-vendors.rtl.min.css +2 -2
- package/dist/css/tabler-vendors.rtl.min.css.map +1 -1
- package/dist/css/tabler.css +7662 -8392
- package/dist/css/tabler.css.map +1 -1
- package/dist/css/tabler.min.css +2 -2
- package/dist/css/tabler.min.css.map +1 -1
- package/dist/css/tabler.rtl.css +7751 -8481
- package/dist/css/tabler.rtl.css.map +1 -1
- package/dist/css/tabler.rtl.min.css +2 -2
- package/dist/css/tabler.rtl.min.css.map +1 -1
- package/dist/img/flags/kr.svg +1 -1
- package/dist/js/tabler-theme.esm.js +38 -0
- package/dist/js/tabler-theme.esm.js.map +1 -0
- package/dist/js/tabler-theme.esm.min.js +8 -0
- package/dist/js/tabler-theme.esm.min.js.map +1 -0
- package/dist/js/tabler-theme.js +45 -0
- package/dist/js/tabler-theme.js.map +1 -0
- package/dist/js/tabler-theme.min.js +8 -0
- package/dist/js/tabler-theme.min.js.map +1 -0
- package/dist/js/tabler.esm.js +28 -21
- package/dist/js/tabler.esm.js.map +1 -1
- package/dist/js/tabler.esm.min.js +5 -5
- package/dist/js/tabler.esm.min.js.map +1 -1
- package/dist/js/tabler.js +36 -24
- package/dist/js/tabler.js.map +1 -1
- package/dist/js/tabler.min.js +5 -5
- package/dist/js/tabler.min.js.map +1 -1
- package/js/src/autosize.js +1 -4
- package/js/src/input-mask.js +1 -3
- package/js/tabler-theme.js +35 -0
- package/js/{tabler.esm.js → tabler.js} +16 -0
- package/package.json +10 -8
- package/scss/_bootstrap-components.scss +0 -5
- package/scss/_core.scss +4 -0
- package/scss/_props.scss +91 -0
- package/scss/_utilities.scss +30 -1
- package/scss/_variables-dark.scss +1 -1
- package/scss/_variables.scss +79 -60
- package/scss/helpers/_index.scss +143 -0
- package/scss/layout/_core.scss +1 -0
- package/scss/layout/_dark.scss +33 -38
- package/scss/layout/_navbar.scss +2 -1
- package/scss/layout/_page.scss +1 -0
- package/scss/layout/_root.scss +26 -34
- package/scss/marketing/_core.scss +1 -1
- package/scss/marketing/_pricing.scss +1 -1
- package/scss/mixins/_mixins.scss +6 -6
- package/scss/tabler-props.scss +1 -0
- package/scss/tabler-themes.scss +121 -0
- package/scss/tabler-vendors.scss +3 -1
- package/scss/tabler.scss +0 -1
- package/scss/ui/_accordion.scss +31 -26
- package/scss/ui/_alerts.scss +19 -8
- package/scss/ui/_avatars.scss +35 -9
- package/scss/ui/_badges.scss +1 -1
- package/scss/ui/_buttons.scss +15 -17
- package/scss/ui/_close.scss +55 -2
- package/scss/ui/_dropdowns.scss +1 -0
- package/scss/ui/_forms.scss +12 -2
- package/scss/ui/_markdown.scss +10 -1
- package/scss/ui/_nav.scss +11 -1
- package/scss/ui/_offcanvas.scss +1 -1
- package/scss/ui/_pagination.scss +2 -0
- package/scss/ui/_signature.scss +4 -2
- package/scss/ui/_steps.scss +4 -0
- package/scss/ui/_tables.scss +16 -0
- package/scss/ui/_tags.scss +1 -1
- package/scss/ui/_type.scss +69 -7
- package/scss/ui/forms/_form-colorinput.scss +1 -1
- package/scss/ui/forms/_form-imagecheck.scss +6 -5
- package/scss/ui/forms/_form-selectgroup.scss +1 -1
- package/scss/utils/_colors.scss +58 -11
- package/scss/utils/_scroll.scss +0 -2
- package/scss/vendor/_coloris.scss +6 -1
- package/scss/vendor/_fslightbox.scss +1 -1
- package/scss/vendor/_jsvectormap.scss +2 -3
- package/scss/vendor/_litepicker.scss +1 -0
- package/scss/vendor/_nouislider.scss +0 -2
- package/scss/vendor/_tinymce.scss +3 -3
- package/scss/vendor/_tom-select.scss +7 -4
- package/scss/vendor/_turbo.scss +3 -0
- package/scss/vendor/_wysiwyg.scss +34 -0
- package/docs/emails/index.mdx +0 -14
- package/docs/emails/introduction/compiled-html.mdx +0 -29
- package/docs/emails/introduction/contents.mdx +0 -63
- package/docs/emails/introduction/index.mdx +0 -9
- package/docs/emails/introduction/source-html.mdx +0 -26
- package/docs/icons/index.mdx +0 -13
- package/docs/icons/libraries/index.mdx +0 -5
- package/docs/icons/libraries/preact.mdx +0 -42
- package/docs/icons/libraries/react.mdx +0 -42
- package/docs/icons/libraries/solidjs.mdx +0 -42
- package/docs/icons/libraries/svelte.mdx +0 -43
- package/docs/icons/libraries/vue.mdx +0 -50
- package/docs/icons/libraries/webfont.mdx +0 -60
- package/docs/icons/plugins/figma.mdx +0 -15
- package/docs/icons/plugins/index.mdx +0 -4
- package/docs/icons/static-files/eps.mdx +0 -15
- package/docs/icons/static-files/index.mdx +0 -5
- package/docs/icons/static-files/pdf.mdx +0 -15
- package/docs/icons/static-files/png.mdx +0 -31
- package/docs/icons/static-files/svg.mdx +0 -85
- package/docs/illustrations/index.mdx +0 -8
- package/docs/illustrations/introduction/contents.mdx +0 -77
- package/docs/illustrations/introduction/customization.mdx +0 -1198
- package/docs/illustrations/introduction/index.mdx +0 -5
- package/docs/illustrations/introduction/license.mdx +0 -90
- package/docs/img/browsers/brave.svg +0 -1
- package/docs/img/browsers/chrome.svg +0 -1
- package/docs/img/browsers/edge.svg +0 -1
- package/docs/img/browsers/electron.svg +0 -1
- package/docs/img/browsers/firefox.svg +0 -1
- package/docs/img/browsers/internet-explorer.svg +0 -1
- package/docs/img/browsers/opera.svg +0 -1
- package/docs/img/browsers/safari.svg +0 -1
- package/docs/img/browsers/vivaldi.svg +0 -1
- 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 +0 -16
- package/docs/ui/base/colors.mdx +0 -83
- package/docs/ui/base/index.mdx +0 -6
- package/docs/ui/base/typography.mdx +0 -311
- package/docs/ui/components/alerts.mdx +0 -406
- package/docs/ui/components/autosize.mdx +0 -25
- package/docs/ui/components/avatars.mdx +0 -227
- package/docs/ui/components/badges.mdx +0 -112
- package/docs/ui/components/breadcrumb.mdx +0 -199
- package/docs/ui/components/buttons.mdx +0 -1213
- package/docs/ui/components/cards.mdx +0 -417
- package/docs/ui/components/carousel.mdx +0 -459
- package/docs/ui/components/charts.mdx +0 -697
- package/docs/ui/components/countup.mdx +0 -165
- package/docs/ui/components/datagrid.mdx +0 -120
- package/docs/ui/components/divider.mdx +0 -68
- package/docs/ui/components/dropdowns.mdx +0 -302
- package/docs/ui/components/dropzone.mdx +0 -88
- package/docs/ui/components/empty.mdx +0 -149
- package/docs/ui/components/icons.mdx +0 -392
- package/docs/ui/components/index.mdx +0 -6
- package/docs/ui/components/inline-player.mdx +0 -58
- package/docs/ui/components/modals.mdx +0 -297
- package/docs/ui/components/offcanvas.mdx +0 -70
- package/docs/ui/components/placeholder.mdx +0 -273
- package/docs/ui/components/popover.mdx +0 -142
- package/docs/ui/components/progress.mdx +0 -241
- package/docs/ui/components/range-slider.mdx +0 -32
- package/docs/ui/components/ribbons.mdx +0 -207
- package/docs/ui/components/segmented-control.mdx +0 -401
- package/docs/ui/components/spinners.mdx +0 -135
- package/docs/ui/components/statuses.mdx +0 -322
- package/docs/ui/components/steps.mdx +0 -174
- package/docs/ui/components/switch-icon.mdx +0 -386
- package/docs/ui/components/tables.mdx +0 -397
- package/docs/ui/components/tabs.mdx +0 -396
- package/docs/ui/components/timelines.mdx +0 -697
- package/docs/ui/components/tinymce.mdx +0 -46
- package/docs/ui/components/toasts.mdx +0 -126
- package/docs/ui/components/tooltips.mdx +0 -65
- package/docs/ui/components/tracking.mdx +0 -548
- package/docs/ui/components/vector-maps.mdx +0 -166
- package/docs/ui/forms/form-color-check.mdx +0 -220
- package/docs/ui/forms/form-elements.mdx +0 -632
- package/docs/ui/forms/form-fieldset.mdx +0 -45
- package/docs/ui/forms/form-helpers.mdx +0 -91
- package/docs/ui/forms/form-image-check.mdx +0 -213
- package/docs/ui/forms/form-input-mask.mdx +0 -61
- package/docs/ui/forms/form-selectboxes.mdx +0 -398
- package/docs/ui/forms/form-validation.mdx +0 -62
- package/docs/ui/forms/index.mdx +0 -6
- package/docs/ui/getting-started/browser-support.mdx +0 -28
- package/docs/ui/getting-started/customize.mdx +0 -28
- package/docs/ui/getting-started/download.mdx +0 -44
- package/docs/ui/getting-started/faq.mdx +0 -30
- package/docs/ui/getting-started/how-to-contribute.mdx +0 -84
- package/docs/ui/getting-started/index.mdx +0 -16
- package/docs/ui/getting-started/installation.mdx +0 -67
- package/docs/ui/getting-started/license.mdx +0 -30
- package/docs/ui/index.mdx +0 -8
- package/docs/ui/layout/index.mdx +0 -6
- package/docs/ui/layout/navbars.mdx +0 -164
- package/docs/ui/layout/navs-tabls.mdx +0 -201
- package/docs/ui/layout/page-headers.mdx +0 -365
- package/docs/ui/layout/page-layouts.mdx +0 -213
- package/docs/ui/plugins/flags.mdx +0 -316
- package/docs/ui/plugins/index.mdx +0 -6
- package/docs/ui/plugins/payments.mdx +0 -152
- package/docs/ui/plugins/social-icons.mdx +0 -135
- package/docs/ui/utilities/borders.mdx +0 -260
- package/docs/ui/utilities/cursors.mdx +0 -63
- package/docs/ui/utilities/index.mdx +0 -5
- package/docs/ui/utilities/interactions.mdx +0 -26
- package/docs/ui/utilities/margins.mdx +0 -234
- package/docs/ui/utilities/vertical-align.mdx +0 -66
- package/docs/ui/utilities/visually-hidden.mdx +0 -12
- package/js/tabler.umd.js +0 -15
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Dropzone
|
|
3
|
-
summary: Dropzone is a simple JavaScript library that helps you add file drag and drop functionality to your web forms. It is one of the most popular drag and drop libraries on the web and is used by millions of people.
|
|
4
|
-
description: Drag-and-drop file upload tool.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Basic usage
|
|
8
|
-
|
|
9
|
-
The basic implementation of Dropzone allows you to quickly enable drag-and-drop file uploads on your web forms. By default, it provides a fallback for browsers that don’t support drag-and-drop functionality. Below is an example of how to set up a simple Dropzone form.
|
|
10
|
-
|
|
11
|
-
```html
|
|
12
|
-
<form class="dropzone" id="dropzone-default" action="." autocomplete="off" novalidate>
|
|
13
|
-
<div class="fallback">
|
|
14
|
-
<input name="file" type="file" />
|
|
15
|
-
</div>
|
|
16
|
-
</form>
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
To initialize the Dropzone form, you need to create a new instance of the Dropzone class and pass the form element as an argument. Here’s how you can do it:
|
|
20
|
-
|
|
21
|
-
```html
|
|
22
|
-
<script>
|
|
23
|
-
document.addEventListener("DOMContentLoaded", function () {
|
|
24
|
-
new Dropzone("#dropzone-default");
|
|
25
|
-
});
|
|
26
|
-
</script>
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
The Dropzone form will now be active and ready to accept file uploads. When a user drags and drops a file onto the form, the file will be uploaded to the server automatically.
|
|
30
|
-
|
|
31
|
-
```html example vendors height="240px" libs="dropzone"
|
|
32
|
-
<form class="dropzone" id="dropzone-default" action="." autocomplete="off" novalidate>
|
|
33
|
-
<div class="fallback">
|
|
34
|
-
<input name="..." type="file" />
|
|
35
|
-
</div>
|
|
36
|
-
</form>
|
|
37
|
-
<script>
|
|
38
|
-
document.addEventListener("DOMContentLoaded", function () {
|
|
39
|
-
new Dropzone("#dropzone-default");
|
|
40
|
-
});
|
|
41
|
-
</script>
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Add multiple files
|
|
45
|
-
|
|
46
|
-
To allow users to upload multiple files at once, you can enable the `multiple` attribute in the input field. This is particularly useful for applications that require batch uploads, such as image galleries or document management systems. Here’s how to configure Dropzone to accept multiple files:
|
|
47
|
-
|
|
48
|
-
```html
|
|
49
|
-
<input name="..." type="file" multiple />
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
By adding the `multiple` attribute to the input field, users can select multiple files from their local storage and upload them all at once. The Dropzone form will handle the file uploads automatically.
|
|
53
|
-
|
|
54
|
-
```html example vendors height="240px" libs="dropzone"
|
|
55
|
-
<form class="dropzone" id="dropzone-mulitple" action="." autocomplete="off" novalidate>
|
|
56
|
-
<div class="fallback">
|
|
57
|
-
<input name="file" type="file" multiple />
|
|
58
|
-
</div>
|
|
59
|
-
</form>
|
|
60
|
-
<script>
|
|
61
|
-
document.addEventListener("DOMContentLoaded", function () {
|
|
62
|
-
new Dropzone("#dropzone-mulitple");
|
|
63
|
-
});
|
|
64
|
-
</script>
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Custom Dropzone
|
|
68
|
-
|
|
69
|
-
You can further enhance the user experience by customizing the Dropzone interface. For instance, you can modify the drop area with custom messages or styles to make the file upload process more engaging and user-friendly. Below is an example of a custom Dropzone configuration:
|
|
70
|
-
|
|
71
|
-
```html example vendors height="240px" libs="dropzone"
|
|
72
|
-
<form class="dropzone" id="dropzone-custom" action="." autocomplete="off" novalidate>
|
|
73
|
-
<div class="fallback">
|
|
74
|
-
<input name="file" type="file" />
|
|
75
|
-
</div>
|
|
76
|
-
<div class="dz-message">
|
|
77
|
-
<h3 class="dropzone-msg-title">Your text here</h3>
|
|
78
|
-
<span class="dropzone-msg-desc">Your custom description here</span>
|
|
79
|
-
</div>
|
|
80
|
-
</form>
|
|
81
|
-
<script>
|
|
82
|
-
document.addEventListener("DOMContentLoaded", function () {
|
|
83
|
-
new Dropzone("#dropzone-custom");
|
|
84
|
-
});
|
|
85
|
-
</script>
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
By customizing the drop area, you can align the file upload process with your application’s branding or specific requirements.
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Empty states
|
|
3
|
-
summary: Empty states or blank pages are commonly used as placeholders for first-use, empty data or error screens. Their aim is to engage users when there is no content to display and that is why their design is extremely important from the point of view of the user experience of your website or app.
|
|
4
|
-
description: Engage users in empty or error screens.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Default markup
|
|
8
|
-
|
|
9
|
-
Use the default empty state to engage users in the critical moments of their experience with your website or app. A good empty state screen should let users know what is happening and what they should do next as well as encourage them to take action.
|
|
10
|
-
|
|
11
|
-
```html example height="300px"
|
|
12
|
-
<div class="empty">
|
|
13
|
-
<div class="empty-icon">
|
|
14
|
-
<svg
|
|
15
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
16
|
-
class="icon"
|
|
17
|
-
width="24"
|
|
18
|
-
height="24"
|
|
19
|
-
viewBox="0 0 24 24"
|
|
20
|
-
stroke-width="2"
|
|
21
|
-
stroke="currentColor"
|
|
22
|
-
fill="none"
|
|
23
|
-
stroke-linecap="round"
|
|
24
|
-
stroke-linejoin="round"
|
|
25
|
-
>
|
|
26
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
27
|
-
<circle cx="12" cy="12" r="9" />
|
|
28
|
-
<line x1="9" y1="10" x2="9.01" y2="10" />
|
|
29
|
-
<line x1="15" y1="10" x2="15.01" y2="10" />
|
|
30
|
-
<path d="M9.5 15.25a3.5 3.5 0 0 1 5 0" />
|
|
31
|
-
</svg>
|
|
32
|
-
</div>
|
|
33
|
-
<p class="empty-title">No results found</p>
|
|
34
|
-
<p class="empty-subtitle text-secondary">
|
|
35
|
-
Try adjusting your search or filter to find what you're looking for.
|
|
36
|
-
</p>
|
|
37
|
-
<div class="empty-action">
|
|
38
|
-
<a href="#" class="btn btn-primary">
|
|
39
|
-
<svg
|
|
40
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
41
|
-
class="icon"
|
|
42
|
-
width="24"
|
|
43
|
-
height="24"
|
|
44
|
-
viewBox="0 0 24 24"
|
|
45
|
-
stroke-width="2"
|
|
46
|
-
stroke="currentColor"
|
|
47
|
-
fill="none"
|
|
48
|
-
stroke-linecap="round"
|
|
49
|
-
stroke-linejoin="round"
|
|
50
|
-
>
|
|
51
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
52
|
-
<circle cx="10" cy="10" r="7" />
|
|
53
|
-
<line x1="21" y1="21" x2="15" y2="15" />
|
|
54
|
-
</svg>
|
|
55
|
-
Search again
|
|
56
|
-
</a>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Empty state with illustration
|
|
62
|
-
|
|
63
|
-
Make your empty state screen more attractive and engaging by adding an illustration. Thanks to a more personalized design, you will improve your brand image and make your website or app more user friendly.
|
|
64
|
-
|
|
65
|
-
```html example height="300px"
|
|
66
|
-
<div class="empty">
|
|
67
|
-
<div class="empty-img">
|
|
68
|
-
<img src="..." height="128" alt="" />
|
|
69
|
-
</div>
|
|
70
|
-
<p class="empty-title">Invoices are managed from here</p>
|
|
71
|
-
<p class="empty-subtitle text-secondary">
|
|
72
|
-
Try adjusting your search or filter to find what you're looking for.
|
|
73
|
-
</p>
|
|
74
|
-
<div class="empty-action">
|
|
75
|
-
<a href="#" class="btn btn-primary">
|
|
76
|
-
<svg
|
|
77
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
78
|
-
class="icon"
|
|
79
|
-
width="24"
|
|
80
|
-
height="24"
|
|
81
|
-
viewBox="0 0 24 24"
|
|
82
|
-
stroke-width="2"
|
|
83
|
-
stroke="currentColor"
|
|
84
|
-
fill="none"
|
|
85
|
-
stroke-linecap="round"
|
|
86
|
-
stroke-linejoin="round"
|
|
87
|
-
>
|
|
88
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
89
|
-
<line x1="12" y1="5" x2="12" y2="19" />
|
|
90
|
-
<line x1="5" y1="12" x2="19" y2="12" />
|
|
91
|
-
</svg>
|
|
92
|
-
New invoice
|
|
93
|
-
</a>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
## Empty state with header
|
|
99
|
-
|
|
100
|
-
Instead of adding an icon or illustration you can simply give the text:
|
|
101
|
-
|
|
102
|
-
```html example height="300px"
|
|
103
|
-
<div class="empty">
|
|
104
|
-
<div class="empty-header">404</div>
|
|
105
|
-
<p class="empty-title">Oops… You just found an error page</p>
|
|
106
|
-
<p class="empty-subtitle text-secondary">
|
|
107
|
-
Try adjusting your search or filter to find what you're looking for.
|
|
108
|
-
</p>
|
|
109
|
-
<div class="empty-action">
|
|
110
|
-
<a href="#" class="btn btn-primary">
|
|
111
|
-
<svg
|
|
112
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
113
|
-
class="icon"
|
|
114
|
-
width="24"
|
|
115
|
-
height="24"
|
|
116
|
-
viewBox="0 0 24 24"
|
|
117
|
-
stroke-width="2"
|
|
118
|
-
stroke="currentColor"
|
|
119
|
-
fill="none"
|
|
120
|
-
stroke-linecap="round"
|
|
121
|
-
stroke-linejoin="round"
|
|
122
|
-
>
|
|
123
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
124
|
-
<line x1="5" y1="12" x2="19" y2="12" />
|
|
125
|
-
<line x1="5" y1="12" x2="11" y2="18" />
|
|
126
|
-
<line x1="5" y1="12" x2="11" y2="6" />
|
|
127
|
-
</svg>
|
|
128
|
-
Take me home
|
|
129
|
-
</a>
|
|
130
|
-
</div>
|
|
131
|
-
</div>
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
```html
|
|
135
|
-
<div class="empty">
|
|
136
|
-
<div class="empty-header">404</div>
|
|
137
|
-
<p class="empty-title">Oops… You just found an error page</p>
|
|
138
|
-
<p class="empty-subtitle text-secondary">
|
|
139
|
-
Try adjusting your search or filter to find what you're looking for.
|
|
140
|
-
</p>
|
|
141
|
-
<div class="empty-action">
|
|
142
|
-
<a href="#" class="btn btn-primary">
|
|
143
|
-
<!-- SVG icon from http://tabler.io/icons/icon/arrow-left -->
|
|
144
|
-
<svg>...</svg>
|
|
145
|
-
Take me home
|
|
146
|
-
</a>
|
|
147
|
-
</div>
|
|
148
|
-
</div>
|
|
149
|
-
```
|
|
@@ -1,392 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Icons
|
|
3
|
-
summary: Use any of over 5000 icons created specifically for Tabler and make your dashboard look even more attractive. All icons are under MIT license, so you can use them without any problem both in private and commercial projects.
|
|
4
|
-
banner: icons
|
|
5
|
-
description: Enhance dashboards with custom icons.
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
If you need to add icons to your website, you can use the Tabler Icons library. It contains over 5000 icons that you can use in your projects. All icons are under the MIT license, so you can use them without any problem both in private and commercial projects. You can find the Tabler Icons library [here](https://tabler-icons.io/).
|
|
9
|
-
|
|
10
|
-
## Base icon
|
|
11
|
-
|
|
12
|
-
To add an icon to your code copy the SVG code from the Tabler Icons website and paste it into your HTML file.
|
|
13
|
-
|
|
14
|
-
```html
|
|
15
|
-
<svg
|
|
16
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
-
class="icon icon-tabler icon-tabler-heart"
|
|
18
|
-
width="24"
|
|
19
|
-
height="24"
|
|
20
|
-
viewBox="0 0 24 24"
|
|
21
|
-
stroke-width="2"
|
|
22
|
-
stroke="currentColor"
|
|
23
|
-
fill="none"
|
|
24
|
-
stroke-linecap="round"
|
|
25
|
-
stroke-linejoin="round"
|
|
26
|
-
>
|
|
27
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
28
|
-
<path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"></path>
|
|
29
|
-
</svg>
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Results can be seen in the example below.
|
|
33
|
-
|
|
34
|
-
```html example centered separated
|
|
35
|
-
<svg
|
|
36
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
37
|
-
class="icon icon-tabler icon-tabler-heart"
|
|
38
|
-
width="24"
|
|
39
|
-
height="24"
|
|
40
|
-
viewBox="0 0 24 24"
|
|
41
|
-
stroke-width="2"
|
|
42
|
-
stroke="currentColor"
|
|
43
|
-
fill="none"
|
|
44
|
-
stroke-linecap="round"
|
|
45
|
-
stroke-linejoin="round"
|
|
46
|
-
>
|
|
47
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
48
|
-
<path d="M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"></path>
|
|
49
|
-
</svg>
|
|
50
|
-
<svg
|
|
51
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
52
|
-
class="icon icon-tabler icon-tabler-ghost-2"
|
|
53
|
-
width="24"
|
|
54
|
-
height="24"
|
|
55
|
-
viewBox="0 0 24 24"
|
|
56
|
-
stroke-width="2"
|
|
57
|
-
stroke="currentColor"
|
|
58
|
-
fill="none"
|
|
59
|
-
stroke-linecap="round"
|
|
60
|
-
stroke-linejoin="round"
|
|
61
|
-
>
|
|
62
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
63
|
-
<path d="M10 9h.01"></path>
|
|
64
|
-
<path d="M14 9h.01"></path>
|
|
65
|
-
<path
|
|
66
|
-
d="M12 3a7 7 0 0 1 7 7v1l1 0a2 2 0 1 1 0 4l-1 0v3l2 3h-10a6 6 0 0 1 -6 -5.775l0 -.226l-1 0a2 2 0 0 1 0 -4l1 0v-1a7 7 0 0 1 7 -7z"
|
|
67
|
-
></path>
|
|
68
|
-
<path d="M11 14h2a1 1 0 0 0 -2 0z"></path>
|
|
69
|
-
</svg>
|
|
70
|
-
<svg
|
|
71
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
72
|
-
class="icon icon-tabler icon-tabler-lego"
|
|
73
|
-
width="24"
|
|
74
|
-
height="24"
|
|
75
|
-
viewBox="0 0 24 24"
|
|
76
|
-
stroke-width="2"
|
|
77
|
-
stroke="currentColor"
|
|
78
|
-
fill="none"
|
|
79
|
-
stroke-linecap="round"
|
|
80
|
-
stroke-linejoin="round"
|
|
81
|
-
>
|
|
82
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
83
|
-
<path d="M9.5 11l.01 0"></path>
|
|
84
|
-
<path d="M14.5 11l.01 0"></path>
|
|
85
|
-
<path d="M9.5 15a3.5 3.5 0 0 0 5 0"></path>
|
|
86
|
-
<path
|
|
87
|
-
d="M7 5h1v-2h8v2h1a3 3 0 0 1 3 3v9a3 3 0 0 1 -3 3v1h-10v-1a3 3 0 0 1 -3 -3v-9a3 3 0 0 1 3 -3"
|
|
88
|
-
></path>
|
|
89
|
-
</svg>
|
|
90
|
-
<svg
|
|
91
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
92
|
-
class="icon icon-tabler icon-tabler-building-carousel"
|
|
93
|
-
width="24"
|
|
94
|
-
height="24"
|
|
95
|
-
viewBox="0 0 24 24"
|
|
96
|
-
stroke-width="2"
|
|
97
|
-
stroke="currentColor"
|
|
98
|
-
fill="none"
|
|
99
|
-
stroke-linecap="round"
|
|
100
|
-
stroke-linejoin="round"
|
|
101
|
-
>
|
|
102
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
103
|
-
<path d="M12 12m-6 0a6 6 0 1 0 12 0a6 6 0 1 0 -12 0"></path>
|
|
104
|
-
<path d="M5 8m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path>
|
|
105
|
-
<path d="M12 4m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path>
|
|
106
|
-
<path d="M19 8m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path>
|
|
107
|
-
<path d="M5 16m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path>
|
|
108
|
-
<path d="M19 16m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"></path>
|
|
109
|
-
<path d="M8 22l4 -10l4 10"></path>
|
|
110
|
-
</svg>
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
## Filled icons
|
|
114
|
-
|
|
115
|
-
To use filled icons, you need to copy the SVG code from the Tabler Icons website and paste it into your HTML file.
|
|
116
|
-
|
|
117
|
-
```html
|
|
118
|
-
<svg
|
|
119
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
120
|
-
class="icon icon-tabler icon-tabler-heart-filled"
|
|
121
|
-
width="24"
|
|
122
|
-
height="24"
|
|
123
|
-
viewBox="0 0 24 24"
|
|
124
|
-
stroke-width="2"
|
|
125
|
-
stroke="currentColor"
|
|
126
|
-
fill="none"
|
|
127
|
-
stroke-linecap="round"
|
|
128
|
-
stroke-linejoin="round"
|
|
129
|
-
>
|
|
130
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
131
|
-
<path
|
|
132
|
-
d="M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z"
|
|
133
|
-
stroke-width="0"
|
|
134
|
-
fill="currentColor"
|
|
135
|
-
></path>
|
|
136
|
-
</svg>
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
Look at the example below to see the filled icons.
|
|
140
|
-
|
|
141
|
-
```html example centered separated
|
|
142
|
-
<svg
|
|
143
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
144
|
-
class="icon icon-tabler icon-tabler-heart-filled"
|
|
145
|
-
width="24"
|
|
146
|
-
height="24"
|
|
147
|
-
viewBox="0 0 24 24"
|
|
148
|
-
stroke-width="2"
|
|
149
|
-
stroke="currentColor"
|
|
150
|
-
fill="none"
|
|
151
|
-
stroke-linecap="round"
|
|
152
|
-
stroke-linejoin="round"
|
|
153
|
-
>
|
|
154
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
155
|
-
<path
|
|
156
|
-
d="M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z"
|
|
157
|
-
stroke-width="0"
|
|
158
|
-
fill="currentColor"
|
|
159
|
-
></path>
|
|
160
|
-
</svg>
|
|
161
|
-
<svg
|
|
162
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
163
|
-
class="icon icon-tabler icon-tabler-bell-ringing-filled"
|
|
164
|
-
width="24"
|
|
165
|
-
height="24"
|
|
166
|
-
viewBox="0 0 24 24"
|
|
167
|
-
stroke-width="2"
|
|
168
|
-
stroke="currentColor"
|
|
169
|
-
fill="none"
|
|
170
|
-
stroke-linecap="round"
|
|
171
|
-
stroke-linejoin="round"
|
|
172
|
-
>
|
|
173
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
174
|
-
<path
|
|
175
|
-
d="M17.451 2.344a1 1 0 0 1 1.41 -.099a12.05 12.05 0 0 1 3.048 4.064a1 1 0 1 1 -1.818 .836a10.05 10.05 0 0 0 -2.54 -3.39a1 1 0 0 1 -.1 -1.41z"
|
|
176
|
-
stroke-width="0"
|
|
177
|
-
fill="currentColor"
|
|
178
|
-
></path>
|
|
179
|
-
<path
|
|
180
|
-
d="M5.136 2.245a1 1 0 0 1 1.312 1.51a10.05 10.05 0 0 0 -2.54 3.39a1 1 0 1 1 -1.817 -.835a12.05 12.05 0 0 1 3.045 -4.065z"
|
|
181
|
-
stroke-width="0"
|
|
182
|
-
fill="currentColor"
|
|
183
|
-
></path>
|
|
184
|
-
<path
|
|
185
|
-
d="M14.235 19c.865 0 1.322 1.024 .745 1.668a3.992 3.992 0 0 1 -2.98 1.332a3.992 3.992 0 0 1 -2.98 -1.332c-.552 -.616 -.158 -1.579 .634 -1.661l.11 -.006h4.471z"
|
|
186
|
-
stroke-width="0"
|
|
187
|
-
fill="currentColor"
|
|
188
|
-
></path>
|
|
189
|
-
<path
|
|
190
|
-
d="M12 2c1.358 0 2.506 .903 2.875 2.141l.046 .171l.008 .043a8.013 8.013 0 0 1 4.024 6.069l.028 .287l.019 .289v2.931l.021 .136a3 3 0 0 0 1.143 1.847l.167 .117l.162 .099c.86 .487 .56 1.766 -.377 1.864l-.116 .006h-16c-1.028 0 -1.387 -1.364 -.493 -1.87a3 3 0 0 0 1.472 -2.063l.021 -.143l.001 -2.97a8 8 0 0 1 3.821 -6.454l.248 -.146l.01 -.043a3.003 3.003 0 0 1 2.562 -2.29l.182 -.017l.176 -.004z"
|
|
191
|
-
stroke-width="0"
|
|
192
|
-
fill="currentColor"
|
|
193
|
-
></path>
|
|
194
|
-
</svg>
|
|
195
|
-
<svg
|
|
196
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
197
|
-
class="icon icon-tabler icon-tabler-cherry-filled"
|
|
198
|
-
width="24"
|
|
199
|
-
height="24"
|
|
200
|
-
viewBox="0 0 24 24"
|
|
201
|
-
stroke-width="2"
|
|
202
|
-
stroke="currentColor"
|
|
203
|
-
fill="none"
|
|
204
|
-
stroke-linecap="round"
|
|
205
|
-
stroke-linejoin="round"
|
|
206
|
-
>
|
|
207
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
208
|
-
<path
|
|
209
|
-
d="M16.588 5.191l.058 .045l.078 .074l.072 .084l.013 .018a.998 .998 0 0 1 .182 .727l-.022 .111l-.03 .092c-.99 2.725 -.666 5.158 .679 7.706a4 4 0 1 1 -4.613 4.152l-.005 -.2l.005 -.2a4.002 4.002 0 0 1 2.5 -3.511c-.947 -2.03 -1.342 -4.065 -1.052 -6.207c-.166 .077 -.332 .15 -.499 .218l.094 -.064c-2.243 1.47 -3.552 3.004 -3.98 4.57a4.5 4.5 0 1 1 -7.064 3.906l-.004 -.212l.005 -.212a4.5 4.5 0 0 1 5.2 -4.233c.332 -1.073 .945 -2.096 1.83 -3.069c-1.794 -.096 -3.586 -.759 -5.355 -1.986l-.268 -.19l-.051 -.04l-.046 -.04l-.044 -.044l-.04 -.046l-.04 -.05l-.032 -.047l-.035 -.06l-.053 -.11l-.038 -.116l-.023 -.117l-.005 -.042l-.005 -.118l.01 -.118l.023 -.117l.038 -.115l.03 -.066l.023 -.045l.035 -.06l.032 -.046l.04 -.051l.04 -.046l.044 -.044l.046 -.04l.05 -.04c4.018 -2.922 8.16 -2.922 12.177 0z"
|
|
210
|
-
stroke-width="0"
|
|
211
|
-
fill="currentColor"
|
|
212
|
-
></path>
|
|
213
|
-
</svg>
|
|
214
|
-
<svg
|
|
215
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
216
|
-
class="icon icon-tabler icon-tabler-circle-key-filled"
|
|
217
|
-
width="24"
|
|
218
|
-
height="24"
|
|
219
|
-
viewBox="0 0 24 24"
|
|
220
|
-
stroke-width="2"
|
|
221
|
-
stroke="currentColor"
|
|
222
|
-
fill="none"
|
|
223
|
-
stroke-linecap="round"
|
|
224
|
-
stroke-linejoin="round"
|
|
225
|
-
>
|
|
226
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
227
|
-
<path
|
|
228
|
-
d="M12 2c5.523 0 10 4.477 10 10a10 10 0 0 1 -20 0c0 -5.523 4.477 -10 10 -10zm2 5a3 3 0 0 0 -2.98 2.65l-.015 .174l-.005 .176l.005 .176c.019 .319 .087 .624 .197 .908l.09 .209l-3.5 3.5l-.082 .094a1 1 0 0 0 0 1.226l.083 .094l1.5 1.5l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l.083 -.094a1 1 0 0 0 0 -1.226l-.083 -.094l-.792 -.793l.585 -.585l.793 .792l.094 .083a1 1 0 0 0 1.403 -1.403l-.083 -.094l-.792 -.793l.792 -.792a3 3 0 1 0 1.293 -5.708zm0 2a1 1 0 1 1 0 2a1 1 0 0 1 0 -2z"
|
|
229
|
-
stroke-width="0"
|
|
230
|
-
fill="currentColor"
|
|
231
|
-
></path>
|
|
232
|
-
</svg>
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
## Icon colors
|
|
236
|
-
|
|
237
|
-
To change the color of the icon, you need to add the `text-` class to the parent element of the icon. Full list of available colors can be found [here](/docs/ui/colors). Color classes can be used with any HTML element.
|
|
238
|
-
|
|
239
|
-
```html
|
|
240
|
-
<span class="text-red">
|
|
241
|
-
<!-- SVG icon from http://tabler.io/icons/icon/heart -->
|
|
242
|
-
<svg>...</svg>
|
|
243
|
-
</span>
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
Look at the example below to see how the color of the icon changes.
|
|
247
|
-
|
|
248
|
-
```html example centered separated
|
|
249
|
-
<span class="text-red">
|
|
250
|
-
<svg
|
|
251
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
252
|
-
class="icon icon-tabler icon-tabler-heart-filled"
|
|
253
|
-
width="24"
|
|
254
|
-
height="24"
|
|
255
|
-
viewBox="0 0 24 24"
|
|
256
|
-
stroke-width="2"
|
|
257
|
-
stroke="currentColor"
|
|
258
|
-
fill="none"
|
|
259
|
-
stroke-linecap="round"
|
|
260
|
-
stroke-linejoin="round"
|
|
261
|
-
>
|
|
262
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
263
|
-
<path
|
|
264
|
-
d="M6.979 3.074a6 6 0 0 1 4.988 1.425l.037 .033l.034 -.03a6 6 0 0 1 4.733 -1.44l.246 .036a6 6 0 0 1 3.364 10.008l-.18 .185l-.048 .041l-7.45 7.379a1 1 0 0 1 -1.313 .082l-.094 -.082l-7.493 -7.422a6 6 0 0 1 3.176 -10.215z"
|
|
265
|
-
stroke-width="0"
|
|
266
|
-
fill="currentColor"
|
|
267
|
-
></path>
|
|
268
|
-
</svg>
|
|
269
|
-
</span>
|
|
270
|
-
<span class="text-yellow">
|
|
271
|
-
<svg
|
|
272
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
273
|
-
class="icon icon-tabler icon-tabler-star-filled"
|
|
274
|
-
width="24"
|
|
275
|
-
height="24"
|
|
276
|
-
viewBox="0 0 24 24"
|
|
277
|
-
stroke-width="2"
|
|
278
|
-
stroke="currentColor"
|
|
279
|
-
fill="none"
|
|
280
|
-
stroke-linecap="round"
|
|
281
|
-
stroke-linejoin="round"
|
|
282
|
-
>
|
|
283
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
284
|
-
<path
|
|
285
|
-
d="M8.243 7.34l-6.38 .925l-.113 .023a1 1 0 0 0 -.44 1.684l4.622 4.499l-1.09 6.355l-.013 .11a1 1 0 0 0 1.464 .944l5.706 -3l5.693 3l.1 .046a1 1 0 0 0 1.352 -1.1l-1.091 -6.355l4.624 -4.5l.078 -.085a1 1 0 0 0 -.633 -1.62l-6.38 -.926l-2.852 -5.78a1 1 0 0 0 -1.794 0l-2.853 5.78z"
|
|
286
|
-
stroke-width="0"
|
|
287
|
-
fill="currentColor"
|
|
288
|
-
></path>
|
|
289
|
-
</svg>
|
|
290
|
-
</span>
|
|
291
|
-
<span class="text-blue">
|
|
292
|
-
<svg
|
|
293
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
294
|
-
class="icon icon-tabler icon-tabler-circle"
|
|
295
|
-
width="24"
|
|
296
|
-
height="24"
|
|
297
|
-
viewBox="0 0 24 24"
|
|
298
|
-
stroke-width="2"
|
|
299
|
-
stroke="currentColor"
|
|
300
|
-
fill="none"
|
|
301
|
-
stroke-linecap="round"
|
|
302
|
-
stroke-linejoin="round"
|
|
303
|
-
>
|
|
304
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
305
|
-
<path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"></path>
|
|
306
|
-
</svg>
|
|
307
|
-
</span>
|
|
308
|
-
<span class="text-green">
|
|
309
|
-
<svg
|
|
310
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
311
|
-
class="icon icon-tabler icon-tabler-square-rounded"
|
|
312
|
-
width="24"
|
|
313
|
-
height="24"
|
|
314
|
-
viewBox="0 0 24 24"
|
|
315
|
-
stroke-width="2"
|
|
316
|
-
stroke="currentColor"
|
|
317
|
-
fill="none"
|
|
318
|
-
stroke-linecap="round"
|
|
319
|
-
stroke-linejoin="round"
|
|
320
|
-
>
|
|
321
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
322
|
-
<path d="M12 3c7.2 0 9 1.8 9 9s-1.8 9 -9 9s-9 -1.8 -9 -9s1.8 -9 9 -9z"></path>
|
|
323
|
-
</svg>
|
|
324
|
-
</span>
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
## Icon animations
|
|
328
|
-
|
|
329
|
-
To add an animation to the icon, you need to add the `icon-pulse`, `icon-tada`, or `icon-rotate` class to the SVG element.
|
|
330
|
-
|
|
331
|
-
```html
|
|
332
|
-
<!-- SVG icon from http://tabler.io/icons/icon/heart -->
|
|
333
|
-
<svg class="icon-pulse" ...>...</svg>
|
|
334
|
-
<!-- SVG icon from http://tabler.io/icons/icon/bell -->
|
|
335
|
-
<svg class="icon-tada" ...>...</svg>
|
|
336
|
-
<!-- SVG icon from http://tabler.io/icons/icon/rotate-clockwise -->
|
|
337
|
-
<svg class="icon-rotate" ...>...</svg>
|
|
338
|
-
```
|
|
339
|
-
|
|
340
|
-
Look at the example below to see the animated icons.
|
|
341
|
-
|
|
342
|
-
```html example centered separated
|
|
343
|
-
<svg
|
|
344
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
345
|
-
class="icon icon-pulse"
|
|
346
|
-
width="24"
|
|
347
|
-
height="24"
|
|
348
|
-
viewBox="0 0 24 24"
|
|
349
|
-
stroke-width="2"
|
|
350
|
-
stroke="currentColor"
|
|
351
|
-
fill="none"
|
|
352
|
-
stroke-linecap="round"
|
|
353
|
-
stroke-linejoin="round"
|
|
354
|
-
>
|
|
355
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
356
|
-
<path d="M19.5 12.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" />
|
|
357
|
-
</svg>
|
|
358
|
-
<svg
|
|
359
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
360
|
-
class="icon icon-tada"
|
|
361
|
-
width="24"
|
|
362
|
-
height="24"
|
|
363
|
-
viewBox="0 0 24 24"
|
|
364
|
-
stroke-width="2"
|
|
365
|
-
stroke="currentColor"
|
|
366
|
-
fill="none"
|
|
367
|
-
stroke-linecap="round"
|
|
368
|
-
stroke-linejoin="round"
|
|
369
|
-
>
|
|
370
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
371
|
-
<path
|
|
372
|
-
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"
|
|
373
|
-
/>
|
|
374
|
-
<path d="M9 17v1a3 3 0 0 0 6 0v-1" />
|
|
375
|
-
</svg>
|
|
376
|
-
<svg
|
|
377
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
378
|
-
class="icon icon-rotate"
|
|
379
|
-
width="24"
|
|
380
|
-
height="24"
|
|
381
|
-
viewBox="0 0 24 24"
|
|
382
|
-
stroke-width="2"
|
|
383
|
-
stroke="currentColor"
|
|
384
|
-
fill="none"
|
|
385
|
-
stroke-linecap="round"
|
|
386
|
-
stroke-linejoin="round"
|
|
387
|
-
>
|
|
388
|
-
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
389
|
-
<path d="M4.05 11a8 8 0 1 1 .5 4m-.5 5v-5h5" />
|
|
390
|
-
</svg>
|
|
391
|
-
```
|
|
392
|
-
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Components
|
|
3
|
-
order: 4
|
|
4
|
-
description: Various components to enhance UI.
|
|
5
|
-
summary: Tabler UI includes a variety of components to help you build web applications that are both functional and visually appealing. From buttons and cards to modals and navigation, these components provide a wide range of features to enhance your site.
|
|
6
|
-
---
|