@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,14 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Typography
|
|
3
|
-
|
|
3
|
+
summary: Typography plays an important role in creating an attractive and clear interface design. Good typography will make the content easy to follow and improve the usability of your website.
|
|
4
4
|
bootstrapLink: content/typography/
|
|
5
|
+
description: Role of typography in interface design.
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## Headings
|
|
8
9
|
|
|
9
|
-
Use HTML headings to organize content on your website and make the structure clear and user-friendly.
|
|
10
|
+
Use HTML headings to organize content on your website and make the structure clear and user-friendly. The `h1` to `h6` tags are used to define HTML headings.
|
|
11
|
+
The `h1` tag is the highest level and the `h6` tag is the lowest level.
|
|
10
12
|
|
|
11
|
-
```html
|
|
13
|
+
```html
|
|
12
14
|
<h1>H1 Heading</h1>
|
|
13
15
|
<h2>H2 Heading</h2>
|
|
14
16
|
<h3>H3 Heading</h3>
|
|
@@ -17,7 +19,9 @@ Use HTML headings to organize content on your website and make the structure cle
|
|
|
17
19
|
<h6>H6 Heading</h6>
|
|
18
20
|
```
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
There is example of headings with different levels:
|
|
23
|
+
|
|
24
|
+
```html example vertical columns={1}
|
|
21
25
|
<h1>H1 Heading</h1>
|
|
22
26
|
<h2>H2 Heading</h2>
|
|
23
27
|
<h3>H3 Heading</h3>
|
|
@@ -28,7 +32,13 @@ Use HTML headings to organize content on your website and make the structure cle
|
|
|
28
32
|
|
|
29
33
|
## Paragraphs
|
|
30
34
|
|
|
31
|
-
Organize longer pieces of text into paragraphs using the `p` tag.
|
|
35
|
+
Organize longer pieces of text into paragraphs using the `p` tag. It is the most common element for text content.
|
|
36
|
+
|
|
37
|
+
```html
|
|
38
|
+
<p>At vero eos et accusam et justo duo dolores et ea rebum.</p>
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
If you use second paragraph, it will be separated from the first one by a blank line.
|
|
32
42
|
|
|
33
43
|
```html example vertical centered columns={2}
|
|
34
44
|
<div>
|
|
@@ -37,34 +47,10 @@ Organize longer pieces of text into paragraphs using the `p` tag.
|
|
|
37
47
|
</div>
|
|
38
48
|
```
|
|
39
49
|
|
|
40
|
-
```html
|
|
41
|
-
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</p>
|
|
42
|
-
<p>At vero eos et accusam et justo duo dolores et ea rebum.</p>
|
|
43
|
-
```
|
|
44
50
|
|
|
45
51
|
## Semantic text elements
|
|
46
52
|
|
|
47
|
-
Use a variety of semantic text elements, depending of how you want to display particular fragments of content.
|
|
48
|
-
|
|
49
|
-
```html example vertical separated columns={1}
|
|
50
|
-
<div><abbr title="Internationalization">I1f8N</abbr></div>
|
|
51
|
-
<div><strong>Bold</strong></div>
|
|
52
|
-
<div><cite>Citation</cite></div>
|
|
53
|
-
<div><code>Hello World!</code></div>
|
|
54
|
-
<div><del>Deleted</del></div>
|
|
55
|
-
<div><em>Emphasis</em></div>
|
|
56
|
-
<div><i>Italic</i></div>
|
|
57
|
-
<div><ins>Inserted</ins></div>
|
|
58
|
-
<div><kbd>Ctrl + S</kbd></div>
|
|
59
|
-
<div><mark>Highlighted</mark></div>
|
|
60
|
-
<div><s>Strikethrough</s></div>
|
|
61
|
-
<div><samp>Sample</samp></div>
|
|
62
|
-
<div>Text <sub>Subscripted</sub></div>
|
|
63
|
-
<div>Text <sup>Superscripted</sup></div>
|
|
64
|
-
<div><time>20:00</time></div>
|
|
65
|
-
<div><u>Underline</u></div>
|
|
66
|
-
<div><var>x</var> = <var>y</var> + 2</div>
|
|
67
|
-
```
|
|
53
|
+
Use a variety of semantic text elements, depending of how you want to display particular fragments of content.
|
|
68
54
|
|
|
69
55
|
```html
|
|
70
56
|
<abbr title="Internationalization">I18N</abbr>
|
|
@@ -86,6 +72,60 @@ Text <sup>Superscripted</sup>
|
|
|
86
72
|
<var>x</var> = <var>y</var> + 2
|
|
87
73
|
```
|
|
88
74
|
|
|
75
|
+
Here is an example of semantic text elements:
|
|
76
|
+
|
|
77
|
+
```html example vertical separated columns={1}
|
|
78
|
+
<div>
|
|
79
|
+
<abbr title="Internationalization">I1f8N</abbr>
|
|
80
|
+
</div>
|
|
81
|
+
<div><strong>Bold</strong></div>
|
|
82
|
+
<div>
|
|
83
|
+
<cite>Citation</cite>
|
|
84
|
+
</div>
|
|
85
|
+
<div>
|
|
86
|
+
<code>Hello World!</code>
|
|
87
|
+
</div>
|
|
88
|
+
<div>
|
|
89
|
+
<del>Deleted</del>
|
|
90
|
+
</div>
|
|
91
|
+
<div>
|
|
92
|
+
<em>Emphasis</em>
|
|
93
|
+
</div>
|
|
94
|
+
<div>
|
|
95
|
+
<i>Italic</i>
|
|
96
|
+
</div>
|
|
97
|
+
<div>
|
|
98
|
+
<ins>Inserted</ins>
|
|
99
|
+
</div>
|
|
100
|
+
<div>
|
|
101
|
+
<kbd>Ctrl + S</kbd>
|
|
102
|
+
</div>
|
|
103
|
+
<div>
|
|
104
|
+
<mark>Highlighted</mark>
|
|
105
|
+
</div>
|
|
106
|
+
<div>
|
|
107
|
+
<s>Strikethrough</s>
|
|
108
|
+
</div>
|
|
109
|
+
<div>
|
|
110
|
+
<samp>Sample</samp>
|
|
111
|
+
</div>
|
|
112
|
+
<div>Text <sub>Subscripted</sub>
|
|
113
|
+
</div>
|
|
114
|
+
<div>Text <sup>Superscripted</sup>
|
|
115
|
+
</div>
|
|
116
|
+
<div>
|
|
117
|
+
<time>20:00</time>
|
|
118
|
+
</div>
|
|
119
|
+
<div>
|
|
120
|
+
<u>Underline</u>
|
|
121
|
+
</div>
|
|
122
|
+
<div>
|
|
123
|
+
<var>x</var> = <var>y</var> + 2
|
|
124
|
+
</div>
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
89
129
|
## Horizontal rules
|
|
90
130
|
|
|
91
131
|
Use the `hr` tag to represent a thematic break between paragraphs within one section.
|
|
@@ -106,7 +146,7 @@ Use the `hr` tag to represent a thematic break between paragraphs within one sec
|
|
|
106
146
|
|
|
107
147
|
You can also add a label to a horizontal rule and align it as you see fit.
|
|
108
148
|
|
|
109
|
-
```html
|
|
149
|
+
```html example vertical centered columns={2}
|
|
110
150
|
<p>
|
|
111
151
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
|
|
112
152
|
</p>
|
|
@@ -146,40 +186,11 @@ Tabler has been optimized to correctly display content in any language. It suppo
|
|
|
146
186
|
<p>อักษรไทย</p>
|
|
147
187
|
```
|
|
148
188
|
|
|
149
|
-
```html
|
|
150
|
-
<h5>Chinese</h5>
|
|
151
|
-
<p>汉字</p>
|
|
152
|
-
|
|
153
|
-
<h5>Japanese</h5>
|
|
154
|
-
<p>日本語の表記体系</p>
|
|
155
|
-
|
|
156
|
-
<h5>Cyrillic</h5>
|
|
157
|
-
<p>Кириллица</p>
|
|
158
|
-
|
|
159
|
-
<h5>Greek</h5>
|
|
160
|
-
<p>Eλληνική</p>
|
|
161
|
-
|
|
162
|
-
<h5>Georgian</h5>
|
|
163
|
-
<p>ქართული დამწერლობა</p>
|
|
164
|
-
|
|
165
|
-
<h5>Armenian</h5>
|
|
166
|
-
<p>Հայերենի այբուբեն</p>
|
|
167
|
-
|
|
168
|
-
<h5>Arabic</h5>
|
|
169
|
-
<p>الحروف العربية</p>
|
|
170
|
-
|
|
171
|
-
<h5>Hebrew</h5>
|
|
172
|
-
<p>אלפבית עברי</p>
|
|
173
|
-
|
|
174
|
-
<h5>Thai</h5>
|
|
175
|
-
<p>อักษรไทย</p>
|
|
176
|
-
```
|
|
177
|
-
|
|
178
189
|
## Text transform
|
|
179
190
|
|
|
180
191
|
Transform the content of components with text capitalization classes.
|
|
181
192
|
|
|
182
|
-
```html example vertical
|
|
193
|
+
```html example vertical centered separated columns={1}
|
|
183
194
|
<div class="text-lowercase">Lowercased text.</div>
|
|
184
195
|
<div class="text-uppercase">Uppercased text.</div>
|
|
185
196
|
<div class="text-capitalize">Capitalized text.</div>
|
|
@@ -195,7 +206,7 @@ Transform the content of components with text capitalization classes.
|
|
|
195
206
|
|
|
196
207
|
Control the tracking (letter spacing) of an element and make it tight, wide or normal.
|
|
197
208
|
|
|
198
|
-
```html example vertical
|
|
209
|
+
```html example vertical centered separated columns={1}
|
|
199
210
|
<div class="tracking-tight">Lorem ipsum dolor sit amet. Tight letter spacing.</div>
|
|
200
211
|
<div class="tracking-normal">Lorem ipsum dolor sit amet. Normal letter spacing.</div>
|
|
201
212
|
<div class="tracking-wide">Lorem ipsum dolor sit amet. Wide letter spacing.</div>
|
|
@@ -211,44 +222,28 @@ Control the tracking (letter spacing) of an element and make it tight, wide or n
|
|
|
211
222
|
|
|
212
223
|
Control the leading (line height) of an element.
|
|
213
224
|
|
|
214
|
-
```html example
|
|
215
|
-
<
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
</div>
|
|
228
|
-
</div>
|
|
229
|
-
</div>
|
|
230
|
-
<div class="col">
|
|
231
|
-
<div class="card">
|
|
232
|
-
<div class="card-body">
|
|
233
|
-
<div class="lh-base">Lorem ipsum dolor sit amet. Dolor sit amet.</div>
|
|
234
|
-
</div>
|
|
235
|
-
</div>
|
|
236
|
-
</div>
|
|
237
|
-
<div class="col">
|
|
238
|
-
<div class="card">
|
|
239
|
-
<div class="card-body">
|
|
240
|
-
<div class="lh-lg">Lorem ipsum dolor sit amet. Dolor sit amet.</div>
|
|
241
|
-
</div>
|
|
242
|
-
</div>
|
|
243
|
-
</div>
|
|
244
|
-
</div>
|
|
225
|
+
```html example vertical centered separated columns={1} height="20rem"
|
|
226
|
+
<p class="lh-1">
|
|
227
|
+
This is the long text with line height 1. Lorem ipsum dolor sit amet. Dolor sit amet.
|
|
228
|
+
</p>
|
|
229
|
+
<p class="lh-sm">
|
|
230
|
+
This is the long text with small line height. Lorem ipsum dolor sit amet. Dolor sit amet.
|
|
231
|
+
</p>
|
|
232
|
+
<p class="lh-base">
|
|
233
|
+
This is the long text with base line height. Lorem ipsum dolor sit amet. Dolor sit amet.
|
|
234
|
+
</p>
|
|
235
|
+
<p class="lh-lg">
|
|
236
|
+
This is the long text with large line height. Lorem ipsum dolor sit amet. Dolor sit amet.
|
|
237
|
+
</p>
|
|
245
238
|
```
|
|
246
239
|
|
|
240
|
+
To control the line height of an element, use the following classes:
|
|
241
|
+
|
|
247
242
|
```html
|
|
248
|
-
<p class="lh-1"
|
|
249
|
-
<p class="lh-sm"
|
|
250
|
-
<p class="lh-base"
|
|
251
|
-
<p class="lh-lg"
|
|
243
|
+
<p class="lh-1">...</p>
|
|
244
|
+
<p class="lh-sm">...</p>
|
|
245
|
+
<p class="lh-base">...</p>
|
|
246
|
+
<p class="lh-lg">...</p>
|
|
252
247
|
```
|
|
253
248
|
|
|
254
249
|
## Antialiasing
|
|
@@ -257,7 +252,7 @@ Control the font smoothing of an element.
|
|
|
257
252
|
|
|
258
253
|
Use the `.antialiased` utility to render text using subpixel antialiasing or use the `.subpixel-antialiased` utility to remove antialiasing.
|
|
259
254
|
|
|
260
|
-
```html
|
|
255
|
+
```html example vertical centered separated columns={1}
|
|
261
256
|
<div class="antialiased">Text with antialiasing</div>
|
|
262
257
|
<div class="subpixel-antialiased">Text without antialiasing</div>
|
|
263
258
|
```
|
|
@@ -266,7 +261,7 @@ Use the `.antialiased` utility to render text using subpixel antialiasing or use
|
|
|
266
261
|
|
|
267
262
|
Use the `<kbd>` to indicate input that is typically entered via keyboard.
|
|
268
263
|
|
|
269
|
-
```html example centered
|
|
264
|
+
```html example vertical centered
|
|
270
265
|
<div>
|
|
271
266
|
To edit settings, press <kbd>ctrl</kbd> + <kbd>,</kbd> or <kbd>ctrl</kbd> + <kbd>C</kbd>.
|
|
272
267
|
</div>
|
|
@@ -278,9 +273,9 @@ To edit settings, press <kbd>ctrl</kbd> + <kbd>,</kbd> or <kbd>ctrl</kbd> + <kbd
|
|
|
278
273
|
|
|
279
274
|
## Markdown elements
|
|
280
275
|
|
|
281
|
-
If you can't use the CSS classes you want or if you just want to use HTML tags, use the `.markdown` class in a container. It
|
|
276
|
+
If you can't use the CSS classes you want or if you just want to use HTML tags, use the `.markdown` class in a container. It will apply the default styles for markdown elements.
|
|
282
277
|
|
|
283
|
-
```html
|
|
278
|
+
```html example centered background="white" columns={2} height="30rem"
|
|
284
279
|
<div class="markdown">
|
|
285
280
|
<h1>Hello World</h1>
|
|
286
281
|
<p>Lorem ipsum<sup>[1]</sup> dolor sit amet, consectetur adipiscing elit. Nulla accumsan, metus ultrices eleifend gravida, nulla nunc varius lectus, nec rutrum justo nibh eu lectus. Ut vulputate semper dui. Fusce erat odio, sollicitudin vel erat vel, interdum mattis neque. Sub<sub>script</sub> works as well!</p>
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Alerts
|
|
3
|
-
|
|
3
|
+
summary: Alert messages are used to inform users of the status of their action and help them solve any problems that might have occurred. Good design of alert modals is very important for the overall user experience of a website or app.
|
|
4
4
|
bootstrapLink: components/alerts/
|
|
5
|
+
description: Alert messages for user notifications.
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
## Default markup
|
|
8
9
|
|
|
9
10
|
Depending on the information you need to convey, you can use one of the following types of alert messages - **success**, **info**, **warning** or **danger**. Using the right type of alert modal will help draw users' attention to the message and prompt them to take action.
|
|
10
11
|
|
|
11
|
-
```html example vertical
|
|
12
|
+
```html example vertical background="surface" columns={2} centered separated
|
|
12
13
|
<div class="alert alert-success" role="alert">
|
|
13
14
|
<h4 class="alert-title">Wow! Everything worked!</h4>
|
|
14
15
|
<div class="text-secondary">Your account has been saved!</div>
|
|
@@ -38,7 +39,7 @@ Depending on the information you need to convey, you can use one of the followin
|
|
|
38
39
|
|
|
39
40
|
Add a link to your alert message to redirect users to the details they need to complete or additional information they should read.
|
|
40
41
|
|
|
41
|
-
```html example vertical
|
|
42
|
+
```html example vertical background="surface" columns={2} centered
|
|
42
43
|
<div class="alert alert-danger m-0">
|
|
43
44
|
This is a danger alert — <a href="#" class="alert-link">check it out</a>!
|
|
44
45
|
</div>
|
|
@@ -48,7 +49,7 @@ Add a link to your alert message to redirect users to the details they need to c
|
|
|
48
49
|
|
|
49
50
|
Add the `x` close button to make an alert modal dismissible. Thanks to that, your alert modal will disappear only once the user closes it.
|
|
50
51
|
|
|
51
|
-
```html example
|
|
52
|
+
```html example vertical background="surface" columns={2} centered separated
|
|
52
53
|
<div class="alert alert-success alert-dismissible" role="alert">
|
|
53
54
|
<div class="d-flex">
|
|
54
55
|
<div>
|
|
@@ -120,7 +121,7 @@ Add the `x` close button to make an alert modal dismissible. Thanks to that, you
|
|
|
120
121
|
<div class="alert alert-success alert-dismissible" role="alert">
|
|
121
122
|
<div class="d-flex">
|
|
122
123
|
<div>
|
|
123
|
-
<!-- SVG icon from http://tabler
|
|
124
|
+
<!-- SVG icon from http://tabler.io/icons/icon/check -->
|
|
124
125
|
<svg>...</svg>
|
|
125
126
|
</div>
|
|
126
127
|
<div>
|
|
@@ -136,7 +137,24 @@ Add the `x` close button to make an alert modal dismissible. Thanks to that, you
|
|
|
136
137
|
|
|
137
138
|
Add an icon to your alert modal to make it more user-friendly and help users easily identify the message.
|
|
138
139
|
|
|
139
|
-
```html
|
|
140
|
+
```html
|
|
141
|
+
<div class="alert alert-success" role="alert">
|
|
142
|
+
<div class="d-flex">
|
|
143
|
+
<div>
|
|
144
|
+
<!-- SVG icon from http://tabler.io/icons/icon/check -->
|
|
145
|
+
<svg>...</svg>
|
|
146
|
+
</div>
|
|
147
|
+
<div>
|
|
148
|
+
<h4 class="alert-title">Wow! Everything worked!</h4>
|
|
149
|
+
<div class="text-secondary">Your account has been saved!</div>
|
|
150
|
+
</div>
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
To see how the icon affects the alert modal, look at the example below.
|
|
156
|
+
|
|
157
|
+
```html example vertical background="surface" columns={2} centered separated
|
|
140
158
|
<div class="alert alert-success" role="alert">
|
|
141
159
|
<div class="d-flex">
|
|
142
160
|
<div>
|
|
@@ -200,66 +218,17 @@ Add an icon to your alert modal to make it more user-friendly and help users eas
|
|
|
200
218
|
</div>
|
|
201
219
|
```
|
|
202
220
|
|
|
203
|
-
|
|
204
|
-
<div class="alert alert-success" role="alert">
|
|
205
|
-
<div class="d-flex">
|
|
206
|
-
<div>
|
|
207
|
-
<!-- SVG icon from http://tabler-icons.io/i/check -->
|
|
208
|
-
<svg>...</svg>
|
|
209
|
-
</div>
|
|
210
|
-
<div>
|
|
211
|
-
<h4 class="alert-title">Wow! Everything worked!</h4>
|
|
212
|
-
<div class="text-secondary">Your account has been saved!</div>
|
|
213
|
-
</div>
|
|
214
|
-
</div>
|
|
215
|
-
</div>
|
|
216
|
-
<div class="alert alert-info" role="alert">
|
|
217
|
-
<div class="d-flex">
|
|
218
|
-
<div>
|
|
219
|
-
<!-- SVG icon from http://tabler-icons.io/i/info-circle -->
|
|
220
|
-
<svg>...</svg>
|
|
221
|
-
</div>
|
|
222
|
-
<div>
|
|
223
|
-
<h4 class="alert-title">Did you know?</h4>
|
|
224
|
-
<div class="text-secondary">Here is something that you might like to know.</div>
|
|
225
|
-
</div>
|
|
226
|
-
</div>
|
|
227
|
-
</div>
|
|
228
|
-
<div class="alert alert-warning" role="alert">
|
|
229
|
-
<div class="d-flex">
|
|
230
|
-
<div>
|
|
231
|
-
<!-- SVG icon from http://tabler-icons.io/i/alert-triangle -->
|
|
232
|
-
<svg>...</svg>
|
|
233
|
-
</div>
|
|
234
|
-
<div>
|
|
235
|
-
<h4 class="alert-title">Uh oh, something went wrong</h4>
|
|
236
|
-
<div class="text-secondary">Sorry! There was a problem with your request.</div>
|
|
237
|
-
</div>
|
|
238
|
-
</div>
|
|
239
|
-
</div>
|
|
240
|
-
<div class="alert alert-danger" role="alert">
|
|
241
|
-
<div class="d-flex">
|
|
242
|
-
<div>
|
|
243
|
-
<!-- SVG icon from http://tabler-icons.io/i/alert-circle -->
|
|
244
|
-
<svg>...</svg>
|
|
245
|
-
</div>
|
|
246
|
-
<div>
|
|
247
|
-
<h4 class="alert-title">I'm so sorry…</h4>
|
|
248
|
-
<div class="text-secondary">Your account has been deleted and can't be restored.</div>
|
|
249
|
-
</div>
|
|
250
|
-
</div>
|
|
251
|
-
</div>
|
|
252
|
-
```
|
|
221
|
+
|
|
253
222
|
|
|
254
223
|
## Alert with avatar
|
|
255
224
|
|
|
256
225
|
Add an avatar to your alert modal to make it more personalized.
|
|
257
226
|
|
|
258
|
-
```html
|
|
227
|
+
```html example vertical background="surface" columns={2} centered separated
|
|
259
228
|
<div class="alert alert-success" role="alert">
|
|
260
229
|
<div class="d-flex">
|
|
261
230
|
<div>
|
|
262
|
-
<span class="avatar
|
|
231
|
+
<span class="avatar me-3" style="background-image: url(/static/samples/avatars/039m.jpg)"></span>
|
|
263
232
|
</div>
|
|
264
233
|
<div>
|
|
265
234
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
@@ -269,7 +238,7 @@ Add an avatar to your alert modal to make it more personalized.
|
|
|
269
238
|
<div class="alert alert-info" role="alert">
|
|
270
239
|
<div class="d-flex">
|
|
271
240
|
<div>
|
|
272
|
-
<span class="avatar
|
|
241
|
+
<span class="avatar me-3">JL</span>
|
|
273
242
|
</div>
|
|
274
243
|
<div>
|
|
275
244
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
@@ -279,7 +248,7 @@ Add an avatar to your alert modal to make it more personalized.
|
|
|
279
248
|
<div class="alert alert-warning" role="alert">
|
|
280
249
|
<div class="d-flex">
|
|
281
250
|
<div>
|
|
282
|
-
<span class="avatar
|
|
251
|
+
<span class="avatar me-3" style="background-image: url(/static/samples/avatars/035f.jpg)"></span>
|
|
283
252
|
</div>
|
|
284
253
|
<div>
|
|
285
254
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
@@ -289,7 +258,7 @@ Add an avatar to your alert modal to make it more personalized.
|
|
|
289
258
|
<div class="alert alert-danger" role="alert">
|
|
290
259
|
<div class="d-flex">
|
|
291
260
|
<div>
|
|
292
|
-
<span class="avatar
|
|
261
|
+
<span class="avatar me-3" style="background-image: url(/static/samples/avatars/056f.jpg)"></span>
|
|
293
262
|
</div>
|
|
294
263
|
<div>
|
|
295
264
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
@@ -302,7 +271,7 @@ Add an avatar to your alert modal to make it more personalized.
|
|
|
302
271
|
|
|
303
272
|
Add primary and secondary buttons to your alert modals if you want users to take a particular action based on the information included in the modal message.
|
|
304
273
|
|
|
305
|
-
```html
|
|
274
|
+
```html example vertical background="surface" columns={2} centered separated
|
|
306
275
|
<div class="alert alert-success alert-dismissible" role="alert">
|
|
307
276
|
<h3 class="mb-1">Some Title</h3>
|
|
308
277
|
<p>Lorem ipsum Minim ad pariatur eiusmod ea ut nulla aliqua est quis id dolore minim voluptate.</p>
|
|
@@ -345,18 +314,25 @@ Add primary and secondary buttons to your alert modals if you want users to take
|
|
|
345
314
|
|
|
346
315
|
If you want your alert to be really eye-catching, you can add a class `alert-important`.
|
|
347
316
|
|
|
348
|
-
```html
|
|
317
|
+
```html
|
|
318
|
+
<div class="alert alert-important alert-success alert-dismissible" role="alert">
|
|
319
|
+
...
|
|
320
|
+
</div>
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
Look at the example below to see how the important alert affects the alert modal.
|
|
324
|
+
|
|
325
|
+
```html example vertical background="surface" columns={2} centered separated
|
|
349
326
|
<div class="alert alert-important alert-success alert-dismissible" role="alert">
|
|
350
327
|
<div class="d-flex">
|
|
351
328
|
<div>
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
329
|
+
<svg xmlns="http://www.w3.org/2000/svg" class="icon alert-icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
330
|
+
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
|
331
|
+
<path d="M5 12l5 5l10 -10"></path>
|
|
332
|
+
</svg>
|
|
356
333
|
</div>
|
|
357
334
|
<div>
|
|
358
|
-
|
|
359
|
-
<div class="text-secondary">Your account has been saved!</div>
|
|
335
|
+
Wow! Everything worked!
|
|
360
336
|
</div>
|
|
361
337
|
</div>
|
|
362
338
|
<a class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="close"></a>
|
|
@@ -377,54 +353,3 @@ If you want your alert to be really eye-catching, you can add a class `alert-imp
|
|
|
377
353
|
</div>
|
|
378
354
|
```
|
|
379
355
|
|
|
380
|
-
```html
|
|
381
|
-
<div class="alert alert-important alert-success alert-dismissible" role="alert">
|
|
382
|
-
<div class="d-flex">
|
|
383
|
-
<div>
|
|
384
|
-
<!-- SVG icon from http://tabler-icons.io/i/check -->
|
|
385
|
-
<svg>...</svg>
|
|
386
|
-
</div>
|
|
387
|
-
<div>
|
|
388
|
-
Your account has been saved!
|
|
389
|
-
</div>
|
|
390
|
-
</div>
|
|
391
|
-
<a class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="close"></a>
|
|
392
|
-
</div>
|
|
393
|
-
<div class="alert alert-important alert-info alert-dismissible" role="alert">
|
|
394
|
-
<div class="d-flex">
|
|
395
|
-
<div>
|
|
396
|
-
<!-- SVG icon from http://tabler-icons.io/i/info-circle -->
|
|
397
|
-
<svg>...</svg>
|
|
398
|
-
</div>
|
|
399
|
-
<div>
|
|
400
|
-
Here is something that you might like to know.
|
|
401
|
-
</div>
|
|
402
|
-
</div>
|
|
403
|
-
<a class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="close"></a>
|
|
404
|
-
</div>
|
|
405
|
-
<div class="alert alert-important alert-warning alert-dismissible" role="alert">
|
|
406
|
-
<div class="d-flex">
|
|
407
|
-
<div>
|
|
408
|
-
<!-- SVG icon from http://tabler-icons.io/i/alert-triangle -->
|
|
409
|
-
<svg>...</svg>
|
|
410
|
-
</div>
|
|
411
|
-
<div>
|
|
412
|
-
Sorry! There was a problem with your request.
|
|
413
|
-
</div>
|
|
414
|
-
</div>
|
|
415
|
-
<a class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="close"></a>
|
|
416
|
-
</div>
|
|
417
|
-
<div class="alert alert-important alert-danger alert-dismissible" role="alert">
|
|
418
|
-
<div class="d-flex">
|
|
419
|
-
<div>
|
|
420
|
-
<!-- SVG icon from http://tabler-icons.io/i/alert-circle -->
|
|
421
|
-
<svg>...</svg>
|
|
422
|
-
</div>
|
|
423
|
-
<div>
|
|
424
|
-
Your account has been deleted and can't be restored.
|
|
425
|
-
</div>
|
|
426
|
-
</div>
|
|
427
|
-
<a class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="close"></a>
|
|
428
|
-
</div>
|
|
429
|
-
```
|
|
430
|
-
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Autosize
|
|
3
|
-
|
|
3
|
+
summary: The autosize element will automatically adjust the textarea height and make it easier for users to follow as they type.
|
|
4
4
|
libs: autosize
|
|
5
|
+
description: Auto-adjusting textarea for better usability.
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
To be able to use the autosize in your application you will need to install the autosize dependency with `npm install autosize`.
|
|
8
9
|
|
|
9
10
|
## Default markup
|
|
10
11
|
|
|
11
|
-
Add the autosize element to your input to make it automatically adjust to the length of a text as a user types it.
|
|
12
|
+
Add the autosize element to your input to make it automatically adjust to the length of a text as a user types it.
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
To create autosize textarea, add the `data-bs-toggle="autosize"` attribute to the textarea element:
|
|
15
|
+
|
|
16
|
+
```html
|
|
17
|
+
<textarea class="form-control" data-bs-toggle="autosize" placeholder="Type something…"></textarea>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Look at the example below to see how the autosize element works:
|
|
21
|
+
|
|
22
|
+
```html example centered columns={1} scrollable background="bg-light" height="20rem"
|
|
14
23
|
<label class="form-label">Autosize example</label>
|
|
15
24
|
<textarea class="form-control" data-bs-toggle="autosize" placeholder="Type something…"></textarea>
|
|
16
25
|
```
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Avatars
|
|
3
|
-
|
|
3
|
+
summary: Avatars help customise various elements of a user interface and make the product experience more personalised. They are often used in communication apps, collaboration tools and social media.
|
|
4
|
+
description: Personalize UI with user avatars.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
## Default markup
|
|
@@ -66,14 +67,14 @@ Apart from pictures and initials, you can also use icons to make the avatars mor
|
|
|
66
67
|
|
|
67
68
|
```html
|
|
68
69
|
<span class="avatar">
|
|
69
|
-
<!-- SVG icon from http://tabler
|
|
70
|
+
<!-- SVG icon from http://tabler.io/icons/icon/user -->
|
|
70
71
|
<svg>...</svg>
|
|
71
72
|
</span>
|
|
72
73
|
```
|
|
73
74
|
|
|
74
75
|
## Avatar initials color
|
|
75
76
|
|
|
76
|
-
Customize the color of the avatars' background. You can click [here](/docs/ui/colors) to see the list of available colors.
|
|
77
|
+
Customize the color of the avatars' background. You can click [here](/docs/ui/base/colors) to see the list of available colors.
|
|
77
78
|
|
|
78
79
|
```html example centered separated code
|
|
79
80
|
<span class="avatar bg-green-lt">AB</span>
|
|
@@ -108,7 +109,9 @@ Add a status indicator to your avatar to show, for instance, if a users is onlin
|
|
|
108
109
|
<span class="avatar" style="background-image: url(/samples/avatars/022m.jpg)">
|
|
109
110
|
<span class="badge bg-success"></span>
|
|
110
111
|
</span>
|
|
111
|
-
<span class="avatar"
|
|
112
|
+
<span class="avatar">
|
|
113
|
+
<span class="badge bg-warning"></span>SA
|
|
114
|
+
</span>
|
|
112
115
|
<span class="avatar" style="background-image: url(/samples/avatars/022m.jpg)">
|
|
113
116
|
<span class="badge bg-info"></span>
|
|
114
117
|
</span>
|