@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,13 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Timelines
|
|
3
|
-
|
|
3
|
+
summary: A timeline is a perfect way to visualize processes and projects, as it's easy to read and attractive for users. You can use it to give an overview of events, present an agenda or point out important points in time.
|
|
4
|
+
description: Visualize events and processes clearly.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
## Timeline
|
|
7
8
|
|
|
8
9
|
The available timeline design is comprised of many components that will help you visualize a process or show an outline of events. Thanks to the possibility of adding icons, avatars and links and the way of presenting the elements of content, your timeline will be clear for users and will make yor website or app more attractive.
|
|
9
10
|
|
|
10
|
-
```html example height="400px" scrollable
|
|
11
|
+
```html example height="400px" scrollable background="base"
|
|
11
12
|
<ul class="timeline">
|
|
12
13
|
<li class="timeline-event">
|
|
13
14
|
<div class="timeline-event-icon bg-twitter-lt">
|
|
@@ -86,9 +87,15 @@ The available timeline design is comprised of many components that will help you
|
|
|
86
87
|
<div class="text-secondary float-end">2 days ago</div>
|
|
87
88
|
<h4>+3 Friend Requests</h4>
|
|
88
89
|
<div class="avatar-list mt-3">
|
|
89
|
-
<span class="avatar" style="background-image: url(...)"
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
<span class="avatar" style="background-image: url(...)">
|
|
91
|
+
<span class="badge bg-success"></span>
|
|
92
|
+
</span>
|
|
93
|
+
<span class="avatar">
|
|
94
|
+
<span class="badge bg-success"></span>JL
|
|
95
|
+
</span>
|
|
96
|
+
<span class="avatar" style="background-image: url(...)">
|
|
97
|
+
<span class="badge bg-success"></span>
|
|
98
|
+
</span>
|
|
92
99
|
</div>
|
|
93
100
|
</div>
|
|
94
101
|
</div>
|
|
@@ -147,7 +154,7 @@ The available timeline design is comprised of many components that will help you
|
|
|
147
154
|
```html
|
|
148
155
|
<ul class="timeline">
|
|
149
156
|
<li class="timeline-event">
|
|
150
|
-
<div class="timeline-event-icon bg-twitter-lt"><!-- SVG icon from http://tabler
|
|
157
|
+
<div class="timeline-event-icon bg-twitter-lt"><!-- SVG icon from http://tabler.io/icons/icon/brand-twitter -->
|
|
151
158
|
<svg>...</svg>
|
|
152
159
|
</div>
|
|
153
160
|
<div class="card timeline-event-card">
|
|
@@ -159,7 +166,7 @@ The available timeline design is comprised of many components that will help you
|
|
|
159
166
|
</div>
|
|
160
167
|
</li>
|
|
161
168
|
<li class="timeline-event">
|
|
162
|
-
<div class="timeline-event-icon"><!-- SVG icon from http://tabler
|
|
169
|
+
<div class="timeline-event-icon"><!-- SVG icon from http://tabler.io/icons/icon/briefcase -->
|
|
163
170
|
<svg>...</svg>
|
|
164
171
|
</div>
|
|
165
172
|
<div class="card timeline-event-card">
|
|
@@ -171,7 +178,7 @@ The available timeline design is comprised of many components that will help you
|
|
|
171
178
|
</div>
|
|
172
179
|
</li>
|
|
173
180
|
<li class="timeline-event">
|
|
174
|
-
<div class="timeline-event-icon"><!-- SVG icon from http://tabler
|
|
181
|
+
<div class="timeline-event-icon"><!-- SVG icon from http://tabler.io/icons/icon/check -->
|
|
175
182
|
<svg>...</svg>
|
|
176
183
|
</div>
|
|
177
184
|
<div class="card timeline-event-card">
|
|
@@ -183,7 +190,7 @@ The available timeline design is comprised of many components that will help you
|
|
|
183
190
|
</div>
|
|
184
191
|
</li>
|
|
185
192
|
<li class="timeline-event">
|
|
186
|
-
<div class="timeline-event-icon bg-facebook-lt"><!-- SVG icon from http://tabler
|
|
193
|
+
<div class="timeline-event-icon bg-facebook-lt"><!-- SVG icon from http://tabler.io/icons/icon/brand-facebook -->
|
|
187
194
|
<svg>...</svg>
|
|
188
195
|
</div>
|
|
189
196
|
<div class="card timeline-event-card">
|
|
@@ -195,7 +202,7 @@ The available timeline design is comprised of many components that will help you
|
|
|
195
202
|
</div>
|
|
196
203
|
</li>
|
|
197
204
|
<li class="timeline-event">
|
|
198
|
-
<div class="timeline-event-icon"><!-- SVG icon from http://tabler
|
|
205
|
+
<div class="timeline-event-icon"><!-- SVG icon from http://tabler.io/icons/icon/user-plus -->
|
|
199
206
|
<svg>...</svg>
|
|
200
207
|
</div>
|
|
201
208
|
<div class="card timeline-event-card">
|
|
@@ -204,17 +211,20 @@ The available timeline design is comprised of many components that will help you
|
|
|
204
211
|
<h4>+3 Friend Requests</h4>
|
|
205
212
|
<div class="avatar-list mt-3">
|
|
206
213
|
<span class="avatar" style="background-image: url(...)">
|
|
207
|
-
<span class="badge bg-success"></span
|
|
214
|
+
<span class="badge bg-success"></span>
|
|
215
|
+
</span>
|
|
208
216
|
<span class="avatar">
|
|
209
|
-
<span class="badge bg-success"></span>JL
|
|
217
|
+
<span class="badge bg-success"></span>JL
|
|
218
|
+
</span>
|
|
210
219
|
<span class="avatar" style="background-image: url(...)">
|
|
211
|
-
<span class="badge bg-success"></span
|
|
220
|
+
<span class="badge bg-success"></span>
|
|
221
|
+
</span>
|
|
212
222
|
</div>
|
|
213
223
|
</div>
|
|
214
224
|
</div>
|
|
215
225
|
</li>
|
|
216
226
|
<li class="timeline-event">
|
|
217
|
-
<div class="timeline-event-icon"><!-- SVG icon from http://tabler
|
|
227
|
+
<div class="timeline-event-icon"><!-- SVG icon from http://tabler.io/icons/icon/photo -->
|
|
218
228
|
<svg>...</svg>
|
|
219
229
|
</div>
|
|
220
230
|
<div class="card timeline-event-card">
|
|
@@ -239,7 +249,7 @@ The available timeline design is comprised of many components that will help you
|
|
|
239
249
|
</div>
|
|
240
250
|
</li>
|
|
241
251
|
<li class="timeline-event">
|
|
242
|
-
<div class="timeline-event-icon"><!-- SVG icon from http://tabler
|
|
252
|
+
<div class="timeline-event-icon"><!-- SVG icon from http://tabler.io/icons/icon/settings -->
|
|
243
253
|
<svg>...</svg>
|
|
244
254
|
</div>
|
|
245
255
|
<div class="card timeline-event-card">
|
|
@@ -258,7 +268,7 @@ The available timeline design is comprised of many components that will help you
|
|
|
258
268
|
|
|
259
269
|
Use a simplified version of the timeline, if it suits your design better. You can still make use of all the available timeline components.
|
|
260
270
|
|
|
261
|
-
```html example height="400px" scrollable
|
|
271
|
+
```html example height="400px" scrollable background="base"
|
|
262
272
|
<ul class="timeline timeline-simple">
|
|
263
273
|
<li class="timeline-event">
|
|
264
274
|
<div class="timeline-event-icon bg-twitter-lt">
|
|
@@ -337,9 +347,15 @@ Use a simplified version of the timeline, if it suits your design better. You ca
|
|
|
337
347
|
<div class="text-secondary float-end">2 days ago</div>
|
|
338
348
|
<h4>+3 Friend Requests</h4>
|
|
339
349
|
<div class="avatar-list mt-3">
|
|
340
|
-
<span class="avatar" style="background-image: url(...)"
|
|
341
|
-
|
|
342
|
-
|
|
350
|
+
<span class="avatar" style="background-image: url(...)">
|
|
351
|
+
<span class="badge bg-success"></span>
|
|
352
|
+
</span>
|
|
353
|
+
<span class="avatar">
|
|
354
|
+
<span class="badge bg-success"></span>JL
|
|
355
|
+
</span>
|
|
356
|
+
<span class="avatar" style="background-image: url(...)">
|
|
357
|
+
<span class="badge bg-success"></span>
|
|
358
|
+
</span>
|
|
343
359
|
</div>
|
|
344
360
|
</div>
|
|
345
361
|
</div>
|
|
@@ -398,7 +414,7 @@ Use a simplified version of the timeline, if it suits your design better. You ca
|
|
|
398
414
|
```html
|
|
399
415
|
<ul class="timeline timeline-simple">
|
|
400
416
|
<li class="timeline-event">
|
|
401
|
-
<div class="timeline-event-icon bg-twitter-lt"><!-- SVG icon from http://tabler
|
|
417
|
+
<div class="timeline-event-icon bg-twitter-lt"><!-- SVG icon from http://tabler.io/icons/icon/brand-twitter -->
|
|
402
418
|
<svg>...</svg>
|
|
403
419
|
</div>
|
|
404
420
|
<div class="card timeline-event-card">
|
|
@@ -410,7 +426,7 @@ Use a simplified version of the timeline, if it suits your design better. You ca
|
|
|
410
426
|
</div>
|
|
411
427
|
</li>
|
|
412
428
|
<li class="timeline-event">
|
|
413
|
-
<div class="timeline-event-icon"><!-- SVG icon from http://tabler
|
|
429
|
+
<div class="timeline-event-icon"><!-- SVG icon from http://tabler.io/icons/icon/briefcase -->
|
|
414
430
|
<svg>...</svg>
|
|
415
431
|
</div>
|
|
416
432
|
<div class="card timeline-event-card">
|
|
@@ -422,7 +438,7 @@ Use a simplified version of the timeline, if it suits your design better. You ca
|
|
|
422
438
|
</div>
|
|
423
439
|
</li>
|
|
424
440
|
<li class="timeline-event">
|
|
425
|
-
<div class="timeline-event-icon"><!-- SVG icon from http://tabler
|
|
441
|
+
<div class="timeline-event-icon"><!-- SVG icon from http://tabler.io/icons/icon/check -->
|
|
426
442
|
<svg>...</svg>
|
|
427
443
|
</div>
|
|
428
444
|
<div class="card timeline-event-card">
|
|
@@ -434,7 +450,7 @@ Use a simplified version of the timeline, if it suits your design better. You ca
|
|
|
434
450
|
</div>
|
|
435
451
|
</li>
|
|
436
452
|
<li class="timeline-event">
|
|
437
|
-
<div class="timeline-event-icon bg-facebook-lt"><!-- SVG icon from http://tabler
|
|
453
|
+
<div class="timeline-event-icon bg-facebook-lt"><!-- SVG icon from http://tabler.io/icons/icon/brand-facebook -->
|
|
438
454
|
<svg>...</svg>
|
|
439
455
|
</div>
|
|
440
456
|
<div class="card timeline-event-card">
|
|
@@ -446,7 +462,7 @@ Use a simplified version of the timeline, if it suits your design better. You ca
|
|
|
446
462
|
</div>
|
|
447
463
|
</li>
|
|
448
464
|
<li class="timeline-event">
|
|
449
|
-
<div class="timeline-event-icon"><!-- SVG icon from http://tabler
|
|
465
|
+
<div class="timeline-event-icon"><!-- SVG icon from http://tabler.io/icons/icon/user-plus -->
|
|
450
466
|
<svg>...</svg>
|
|
451
467
|
</div>
|
|
452
468
|
<div class="card timeline-event-card">
|
|
@@ -455,17 +471,20 @@ Use a simplified version of the timeline, if it suits your design better. You ca
|
|
|
455
471
|
<h4>+3 Friend Requests</h4>
|
|
456
472
|
<div class="avatar-list mt-3">
|
|
457
473
|
<span class="avatar" style="background-image: url(...)">
|
|
458
|
-
<span class="badge bg-success"></span
|
|
474
|
+
<span class="badge bg-success"></span>
|
|
475
|
+
</span>
|
|
459
476
|
<span class="avatar">
|
|
460
|
-
<span class="badge bg-success"></span>JL
|
|
477
|
+
<span class="badge bg-success"></span>JL
|
|
478
|
+
</span>
|
|
461
479
|
<span class="avatar" style="background-image: url(...)">
|
|
462
|
-
<span class="badge bg-success"></span
|
|
480
|
+
<span class="badge bg-success"></span>
|
|
481
|
+
</span>
|
|
463
482
|
</div>
|
|
464
483
|
</div>
|
|
465
484
|
</div>
|
|
466
485
|
</li>
|
|
467
486
|
<li class="timeline-event">
|
|
468
|
-
<div class="timeline-event-icon"><!-- SVG icon from http://tabler
|
|
487
|
+
<div class="timeline-event-icon"><!-- SVG icon from http://tabler.io/icons/icon/photo -->
|
|
469
488
|
<svg>...</svg>
|
|
470
489
|
</div>
|
|
471
490
|
<div class="card timeline-event-card">
|
|
@@ -490,7 +509,7 @@ Use a simplified version of the timeline, if it suits your design better. You ca
|
|
|
490
509
|
</div>
|
|
491
510
|
</li>
|
|
492
511
|
<li class="timeline-event">
|
|
493
|
-
<div class="timeline-event-icon"><!-- SVG icon from http://tabler
|
|
512
|
+
<div class="timeline-event-icon"><!-- SVG icon from http://tabler.io/icons/icon/settings -->
|
|
494
513
|
<svg>...</svg>
|
|
495
514
|
</div>
|
|
496
515
|
<div class="card timeline-event-card">
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: TinyMCE
|
|
3
3
|
libs: tinymce
|
|
4
|
-
|
|
4
|
+
summary: The WYSIWYG editor that is flexible, customizable, and designed with the user in mind. TinyMCE can handle any challenge, from the most simple implementation through to the most complex use case.
|
|
5
|
+
description: Flexible WYSIWYG editor for content.
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
[TinyMCE](https://www.tiny.cloud/docs/) documentation.
|
|
@@ -10,11 +11,10 @@ description: The WYSIWYG editor that is flexible, customizable, and designed wit
|
|
|
10
11
|
|
|
11
12
|
Initialize TinyMCE 6 on any element (or elements) on the web page by passing an object containing a selector value to `tinymce.init()`. The selector value can be any valid CSS selector.
|
|
12
13
|
|
|
13
|
-
```html example
|
|
14
|
+
```html example centered columns={2} height="25rem"
|
|
14
15
|
<form method="post">
|
|
15
16
|
<textarea id="tinymce-default">Hello, <b>Tabler</b>!</textarea>
|
|
16
17
|
</form>
|
|
17
|
-
|
|
18
18
|
<script src="$TABLER_CDN/dist/libs/tinymce/tinymce.min.js" defer></script>
|
|
19
19
|
<script>
|
|
20
20
|
document.addEventListener("DOMContentLoaded", function() {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Toasts
|
|
3
|
-
|
|
3
|
+
summary: Toasts are lightweight alert boxes which display for a few seconds after a user has taken an action, to inform them of the state or outcome. They can be used when a user clicks a button or submits a form and their aim is to provide feedback, rather than encourage to take action.
|
|
4
4
|
bootstrapLink: components/toasts/
|
|
5
|
+
description: Display lightweight alert notifications.
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## Default markup
|
|
@@ -44,7 +45,7 @@ Toasts blend over the elements they appear over. If a browser supports the `back
|
|
|
44
45
|
|
|
45
46
|
Stack multiple toasts together by putting them within one `.toast-container`.
|
|
46
47
|
|
|
47
|
-
```html example
|
|
48
|
+
```html example height="260px"
|
|
48
49
|
<div class="toast-container">
|
|
49
50
|
<div class="toast show" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="false" data-bs-toggle="toast">
|
|
50
51
|
<div class="toast-header">
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Tooltips
|
|
3
|
-
|
|
3
|
+
summary: Tooltips are text labels which appear when a user hovers over an interface element. They explain the interface elements that may be unclear for users and guide them when they need help. If used properly, tooltips can significantly enhance user experience and add value to your website or software.
|
|
4
4
|
bootstrapLink: components/tooltips/
|
|
5
|
+
description: Guide users with informative tooltips.
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## Default markup
|
|
8
9
|
|
|
9
10
|
Use the default markup to create tooltips that will help users understand particular elements of your interface. You can decide where the text label is to be displayed - at the top, bottom or on either side of the element.
|
|
10
11
|
|
|
11
|
-
```html
|
|
12
|
+
```html example centered separated
|
|
12
13
|
<button type="button" class="btn" data-bs-toggle="tooltip" data-bs-placement="top" title="Tooltip on top">
|
|
13
14
|
Tooltip on top
|
|
14
15
|
</button>
|
|
@@ -27,7 +28,7 @@ Use the default markup to create tooltips that will help users understand partic
|
|
|
27
28
|
|
|
28
29
|
If the default tooltip is not enough, you can add the option to use HTML code in the text to highlight particular bits of information and make the content more attractive.
|
|
29
30
|
|
|
30
|
-
```html
|
|
31
|
+
```html example height="7rem"
|
|
31
32
|
<button type="button" class="btn" data-bs-toggle="tooltip" data-bs-html="true" title="<em>Tooltip</em> <u>with</u> <b>HTML</b>">
|
|
32
33
|
Tooltip with HTML
|
|
33
34
|
</button>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Tracking
|
|
3
|
-
|
|
3
|
+
summary: Component for visualising activity logs or other monitoring-related data. With its ability to show data in a visually appealing and easily understandable way, the tracking component is an essential tool for any organization that relies on data monitoring and analysis to optimize performance and user experience.
|
|
4
|
+
description: Monitor data activity visually.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
## Basic example
|
|
@@ -124,39 +125,43 @@ You can add a tracking component inside the cards to give your reports a fresh l
|
|
|
124
125
|
```html
|
|
125
126
|
<div class="card">
|
|
126
127
|
<div class="card-body">
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
128
|
+
<div class="d-flex align-items-center">
|
|
129
|
+
<div class="subheader">Status monitoring</div>
|
|
130
|
+
<div class="ms-auto lh-1">
|
|
131
|
+
<div class="dropdown">
|
|
132
|
+
<a class="dropdown-toggle text-secondary" href="#" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Current month</a>
|
|
133
|
+
<div class="dropdown-menu dropdown-menu-end">
|
|
134
|
+
<a class="dropdown-item active" href="#">Current month</a>
|
|
135
|
+
<a class="dropdown-item" href="#">Last month</a>
|
|
136
|
+
<a class="dropdown-item" href="#">Last 3 months</a>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
<div class="d-flex align-items-baseline">
|
|
142
|
+
<div class="h1 mb-3 me-2">99.5%</div>
|
|
143
|
+
<div class="me-auto">
|
|
144
|
+
<span class="text-green d-inline-flex align-items-center lh-1">
|
|
145
|
+
2%
|
|
146
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="icon ms-1" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
147
|
+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
148
|
+
<polyline points="3 17 9 11 13 15 21 7" />
|
|
149
|
+
<polyline points="14 7 21 7 21 14" />
|
|
150
|
+
</svg>
|
|
151
|
+
</span>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
<div class="mt-2">
|
|
155
|
+
<div class="tracking">
|
|
156
|
+
<div class="tracking-block bg-success" data-bs-toggle="tooltip" data-bs-placement="top" title="Operational"></div>
|
|
157
|
+
<div class="tracking-block bg-danger" data-bs-toggle="tooltip" data-bs-placement="top" title="Downtime"></div>
|
|
158
|
+
<div class="tracking-block bg-success" data-bs-toggle="tooltip" data-bs-placement="top" title="Operational"></div>
|
|
159
|
+
<div class="tracking-block bg-warning" data-bs-toggle="tooltip" data-bs-placement="top" title="Big load"></div>
|
|
160
|
+
<div class="tracking-block" data-bs-toggle="tooltip" data-bs-placement="top" title="No data"></div>
|
|
161
|
+
<div class="tracking-block" data-bs-toggle="tooltip" data-bs-placement="top" title="No data"></div>
|
|
162
|
+
...
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
160
165
|
</div>
|
|
161
166
|
</div>
|
|
162
167
|
```
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Vector Maps
|
|
3
|
+
description: Interactive guide to creating vector maps with jsVectorMap.
|
|
4
|
+
summary: Vector maps are a great way to display geographical data in an interactive and visually appealing way. Learn how to create vector maps with jsVectorMap.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
To use vector maps in your project, you need to include the jsVectorMap library in your project. You can install it via npm or include it directly from a CDN. The following example demonstrates how to include the jsVectorMap library from a CDN:
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<script src="$TABLER_CDN/dist/libs/jsvectormap/dist/js/jsvectormap.min.js"></script>
|
|
13
|
+
<script src="$TABLER_CDN/dist/libs/jsvectormap/dist/maps/js/jsvectormap-world.js"></script>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Sample demo
|
|
17
|
+
|
|
18
|
+
Integrating the vector map into your website is straightforward. Below is a sample implementation for a world map:
|
|
19
|
+
|
|
20
|
+
```html
|
|
21
|
+
<div id="map-world" class="w-100 h-100"></div>
|
|
22
|
+
<script>
|
|
23
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
24
|
+
const map = new jsVectorMap({
|
|
25
|
+
selector: '#map-world',
|
|
26
|
+
map: 'world',
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
</script>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Look at the example below to see how the vector map works with a world map.
|
|
33
|
+
|
|
34
|
+
```html example vendors height="30rem" libs="jsvectormap,jsvectormap-world" background="surface" columns={2} centered
|
|
35
|
+
<div class="card">
|
|
36
|
+
<div class="card-body">
|
|
37
|
+
<div class="ratio ratio-16x9">
|
|
38
|
+
<div>
|
|
39
|
+
<div id="map-world" class="w-100 h-100"></div>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<script>
|
|
46
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
47
|
+
const map = new jsVectorMap({
|
|
48
|
+
selector: '#map-world',
|
|
49
|
+
map: 'world',
|
|
50
|
+
backgroundColor: 'transparent',
|
|
51
|
+
regionStyle: {
|
|
52
|
+
initial: {
|
|
53
|
+
fill: tabler.getColor('body-bg'),
|
|
54
|
+
stroke: tabler.getColor('border-color'),
|
|
55
|
+
strokeWidth: 2,
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
zoomOnScroll: false,
|
|
59
|
+
zoomButtons: false,
|
|
60
|
+
});
|
|
61
|
+
window.addEventListener("resize", () => {
|
|
62
|
+
map.updateSize();
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
</script>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Markers
|
|
69
|
+
|
|
70
|
+
You can add markers to the map to highlight specific locations. Below is a sample implementation for a world map with markers:
|
|
71
|
+
|
|
72
|
+
```html example vendors height="30rem" libs="jsvectormap,jsvectormap-world-merc" background="surface" columns={2} centered
|
|
73
|
+
<div class="card">
|
|
74
|
+
<div class="card-body">
|
|
75
|
+
<div class="ratio ratio-16x9">
|
|
76
|
+
<div>
|
|
77
|
+
<div id="map-world-markers" class="w-100 h-100"></div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
|
|
83
|
+
<script>
|
|
84
|
+
// @formatter:on
|
|
85
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
86
|
+
const map = new jsVectorMap({
|
|
87
|
+
selector: '#map-world-markers',
|
|
88
|
+
map: 'world_merc',
|
|
89
|
+
backgroundColor: 'transparent',
|
|
90
|
+
regionStyle: {
|
|
91
|
+
initial: {
|
|
92
|
+
fill: tabler.getColor('body-bg'),
|
|
93
|
+
stroke: tabler.getColor('border-color'),
|
|
94
|
+
strokeWidth: 2,
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
zoomOnScroll: false,
|
|
98
|
+
zoomButtons: false,
|
|
99
|
+
markers: [
|
|
100
|
+
{
|
|
101
|
+
coords: [61.524, 105.3188],
|
|
102
|
+
name: "Russia",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
coords: [56.1304, -106.3468],
|
|
106
|
+
name: "Canada",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
coords: [71.7069, -42.6043],
|
|
110
|
+
name: "Greenland",
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
coords: [26.8206, 30.8025],
|
|
114
|
+
name: "Egypt",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
coords: [-14.235, -51.9253],
|
|
118
|
+
name: "Brazil",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
coords: [35.8617, 104.1954],
|
|
122
|
+
name: "China",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
coords: [37.0902, -95.7129],
|
|
126
|
+
name: "United States",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
coords: [60.472024, 8.468946],
|
|
130
|
+
name: "Norway",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
coords: [48.379433, 31.16558],
|
|
134
|
+
name: "Ukraine",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
markerStyle: {
|
|
138
|
+
initial: {
|
|
139
|
+
r: 4,
|
|
140
|
+
stroke: '#fff',
|
|
141
|
+
opacity: 1,
|
|
142
|
+
strokeWidth: 3,
|
|
143
|
+
stokeOpacity: .5,
|
|
144
|
+
fill: tabler.getColor('blue')
|
|
145
|
+
},
|
|
146
|
+
hover: {
|
|
147
|
+
fill: tabler.getColor('blue'),
|
|
148
|
+
stroke: tabler.getColor('blue')
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
markerLabelStyle: {
|
|
152
|
+
initial: {
|
|
153
|
+
fontSize: 10
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
labels: {
|
|
157
|
+
markers: {
|
|
158
|
+
render: function(marker) {
|
|
159
|
+
return marker.name
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
});
|
|
164
|
+
window.addEventListener("resize", () => {
|
|
165
|
+
map.updateSize();
|
|
166
|
+
});
|
|
167
|
+
});
|
|
168
|
+
// @formatter:off
|
|
169
|
+
</script>
|
|
170
|
+
```
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Color check
|
|
3
|
+
summary: The color check is a great way to make your form more user-friendly and engaging. You can use the color check to create a visually appealing form that will help users make decisions quickly and easily.
|
|
4
|
+
description: Enhance forms with color checks.
|
|
3
5
|
---
|
|
4
6
|
|
|
5
|
-
Your input controls can come in a variety of colors, depending on your preferences. Click [here](/docs/
|
|
7
|
+
Your input controls can come in a variety of colors, depending on your preferences. Click [here](/docs/ui/base/colors) to see the list of available colors.
|
|
6
8
|
|
|
7
|
-
```html
|
|
9
|
+
```html
|
|
10
|
+
<label class="form-colorinput">
|
|
11
|
+
<input name="..." type="radio" value="..." class="form-colorinput-input" />
|
|
12
|
+
<span class="form-colorinput-color bg-lime"></span>
|
|
13
|
+
</label>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
There is also an example of a color input:
|
|
17
|
+
|
|
18
|
+
```html example centered background="bg-light"
|
|
8
19
|
<div class="mb-3">
|
|
9
20
|
<label class="form-label">Color Input</label>
|
|
10
21
|
<div class="row g-2">
|
|
@@ -74,18 +85,20 @@ Your input controls can come in a variety of colors, depending on your preferenc
|
|
|
74
85
|
<span class="form-colorinput-color bg-lime"></span>
|
|
75
86
|
</label>
|
|
76
87
|
</div>
|
|
88
|
+
<div class="col-auto">
|
|
89
|
+
<label class="form-colorinput">
|
|
90
|
+
<input name="color" type="radio" value="green" class="form-colorinput-input" />
|
|
91
|
+
<span class="form-colorinput-color bg-green"></span>
|
|
92
|
+
</label>
|
|
93
|
+
</div>
|
|
77
94
|
</div>
|
|
78
95
|
</div>
|
|
79
96
|
```
|
|
80
97
|
|
|
81
|
-
|
|
82
|
-
<label class="form-colorinput">
|
|
83
|
-
<input name="color" type="radio" value="lime" class="form-colorinput-input" />
|
|
84
|
-
<span class="form-colorinput-color bg-lime"></span>
|
|
85
|
-
</label>
|
|
86
|
-
```
|
|
98
|
+
If you need to select only one color, you can use the radio input type:
|
|
87
99
|
|
|
88
|
-
|
|
100
|
+
|
|
101
|
+
```html example centered background="bg-light"
|
|
89
102
|
<div class="mb-3">
|
|
90
103
|
<label class="form-label">Color Input</label>
|
|
91
104
|
<div class="row g-2">
|
|
@@ -155,13 +168,19 @@ Your input controls can come in a variety of colors, depending on your preferenc
|
|
|
155
168
|
<span class="form-colorinput-color bg-lime rounded-circle"></span>
|
|
156
169
|
</label>
|
|
157
170
|
</div>
|
|
171
|
+
<div class="col-auto">
|
|
172
|
+
<label class="form-colorinput">
|
|
173
|
+
<input name="color-rounded" type="radio" value="green" class="form-colorinput-input" />
|
|
174
|
+
<span class="form-colorinput-color bg-green rounded-circle"></span>
|
|
175
|
+
</label>
|
|
176
|
+
</div>
|
|
158
177
|
</div>
|
|
159
178
|
</div>
|
|
160
179
|
```
|
|
161
180
|
|
|
162
181
|
```html
|
|
163
182
|
<label class="form-colorinput">
|
|
164
|
-
<input name="
|
|
183
|
+
<input name="..." type="radio" value="..." class="form-colorinput-input" />
|
|
165
184
|
<span class="form-colorinput-color bg-dark rounded-circle"></span>
|
|
166
185
|
</label>
|
|
167
186
|
```
|
|
@@ -170,7 +189,13 @@ Your input controls can come in a variety of colors, depending on your preferenc
|
|
|
170
189
|
|
|
171
190
|
Add an color picker to your form to let users customise it according to their preferences.
|
|
172
191
|
|
|
173
|
-
```html
|
|
192
|
+
```html
|
|
193
|
+
<input type="color" class="form-control form-control-color" value="#066fd1" title="Choose your color">
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
There is also an example of a color picker input:
|
|
197
|
+
|
|
198
|
+
```html example centered
|
|
174
199
|
<div class="mb-3">
|
|
175
200
|
<label class="form-label">Color picker</label>
|
|
176
201
|
<input type="color" class="form-control form-control-color" value="#066fd1" title="Choose your color">
|