@tabler/core 1.0.0-beta22 → 1.0.0-beta23
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/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-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 +4 -3
- package/dist/css/tabler-vendors.min.css +3 -3
- package/dist/css/tabler-vendors.rtl.css +4 -3
- package/dist/css/tabler-vendors.rtl.min.css +3 -3
- package/dist/css/tabler.css +14 -6
- package/dist/css/tabler.min.css +4 -4
- package/dist/css/tabler.rtl.css +14 -6
- 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/customization.mdx +442 -0
- package/docs/illustrations/introduction/index.mdx +5 -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 +20 -19
- package/docs/ui/components/autosize.mdx +12 -3
- package/docs/ui/components/avatars.mdx +7 -4
- package/docs/ui/components/badges.mdx +25 -16
- 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 +8 -7
- package/docs/ui/components/countup.mdx +13 -14
- 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 +5 -11
- package/docs/ui/components/empty.mdx +7 -5
- package/docs/ui/components/icons.mdx +8 -7
- package/docs/ui/components/index.mdx +6 -0
- package/docs/ui/components/inline-player.mdx +4 -3
- package/docs/ui/components/modals.mdx +14 -9
- package/docs/ui/components/placeholder.mdx +12 -11
- package/docs/ui/components/popover.mdx +8 -9
- package/docs/ui/components/progress.mdx +120 -19
- package/docs/ui/components/range-slider.mdx +18 -3
- package/docs/ui/components/ribbons.mdx +13 -12
- package/docs/ui/components/spinners.mdx +31 -10
- package/docs/ui/components/statuses.mdx +38 -13
- package/docs/ui/components/steps.mdx +8 -7
- 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 -2
- 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/forms/form-color-check.mdx +36 -11
- package/docs/ui/forms/form-elements.mdx +32 -16
- 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 +2 -0
- package/docs/ui/getting-started/customize.mdx +5 -4
- package/docs/ui/getting-started/development.mdx +32 -0
- package/docs/ui/getting-started/download.mdx +3 -5
- package/docs/ui/getting-started/faq.mdx +3 -1
- package/docs/ui/getting-started/index.mdx +4 -28
- package/docs/ui/index.mdx +8 -0
- package/docs/ui/layout/index.mdx +6 -0
- package/docs/ui/layout/page-headers.mdx +16 -9
- package/docs/ui/layout/page-layouts.mdx +4 -3
- 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 +2 -1
- package/docs/ui/utilities/cursors.mdx +2 -1
- package/docs/ui/utilities/index.mdx +5 -0
- package/docs/ui/utilities/interactions.mdx +10 -5
- package/package.json +4 -3
- 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/_variables.scss +2 -4
- package/src/scss/tabler-socials.scss +2 -0
- package/src/scss/ui/_buttons.scss +1 -0
- package/src/scss/ui/_forms.scss +4 -0
- 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/vendor/_tom-select.scss +1 -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
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Development
|
|
3
|
+
description: Learn how to install Tabler and set up the development environment.
|
|
4
|
+
summary: This guide provides step-by-step instructions for setting up the environment, including installing Node.js, Ruby, and Bundler, configuring the build system, and running Tabler locally to preview changes in real-time, along with guidance on reporting bugs or submitting feature requests through GitHub.
|
|
5
|
+
order: 11
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Set up the environment
|
|
9
|
+
|
|
10
|
+
To use our build system and run our documentation locally, you'll need a copy of Tabler's source files. Follow the steps below:
|
|
11
|
+
|
|
12
|
+
1. [Install Node.js](https://nodejs.org/download/), which we use to manage our dependencies.
|
|
13
|
+
2. Navigate to the root `/tabler` directory and run `npm install` to install our local dependencies listed in `package.json`.
|
|
14
|
+
3. [Install Ruby](https://ruby-lang.org/en/documentation/installation/) - the recommended version is [2.5.5](https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.5.tar.gz).
|
|
15
|
+
4. [Install Bundler](https://bundler.io) with `gem install bundler` and, finally, run `bundle install`. It will install all Ruby dependencies, such as [Jekyll and plugins](https://jekyllrb.com).
|
|
16
|
+
|
|
17
|
+
### Windows users
|
|
18
|
+
1. [Install Git](https://git-scm.com/download/win) in `C:\Program Files\git\bin` directory and run `npm config set script-shell "C:\Program Files\git\bin\bash.exe"` to change the default shell.
|
|
19
|
+
2. [Install Ruby+Devkit](https://rubyinstaller.org/downloads/) - recommended version is [2.5.5](https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.5.5-1/rubyinstaller-devkit-2.5.5-1-x86.exe).
|
|
20
|
+
3. [Read guide](https://jekyllrb.com/docs/installation/windows/) to get Jekyll up and running without problems.
|
|
21
|
+
|
|
22
|
+
Once you've completed the setup, you'll be able to run the various commands provided from the command line.
|
|
23
|
+
|
|
24
|
+
## Build Tabler locally
|
|
25
|
+
|
|
26
|
+
1. From the root `/tabler` directory, run `npm run start` in the command line.
|
|
27
|
+
2. Open [http://localhost:3000](http://localhost:3000) in your browser, and voilà.
|
|
28
|
+
3. Any change in `/src` directory will build the application and refresh the page.
|
|
29
|
+
|
|
30
|
+
## Bugs and feature requests
|
|
31
|
+
|
|
32
|
+
Found a bug or have a feature request? [Please open a new issue](https://github.com/tabler/tabler/issues/new).
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Download
|
|
3
|
-
|
|
3
|
+
summary: Download Tabler to get the compiled CSS and JavaScript, source code, or include it with your favorite package managers like npm, yarn and more.
|
|
4
|
+
description: Get Tabler CSS, JS, and source code.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
## CDN via jsDelivr
|
|
@@ -17,6 +18,7 @@ You can also include additional Tabler plugins:
|
|
|
17
18
|
```html
|
|
18
19
|
<link rel="stylesheet" href="$TABLER_CDN/dist/css/tabler-flags.min.css">
|
|
19
20
|
<link rel="stylesheet" href="$TABLER_CDN/dist/css/tabler-payments.min.css">
|
|
21
|
+
<link rel="stylesheet" href="$TABLER_CDN/dist/css/tabler-social.min.css">
|
|
20
22
|
<link rel="stylesheet" href="$TABLER_CDN/dist/css/tabler-vendors.min.css">
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -26,10 +28,6 @@ Install Tabler in your Node.js powered apps with the npm package:
|
|
|
26
28
|
|
|
27
29
|
<TabsPackage name="@tabler/core" />
|
|
28
30
|
|
|
29
|
-
OR install for Webfonts
|
|
30
|
-
|
|
31
|
-
<TabsPackage name="@tabler/icons-webfont" />
|
|
32
|
-
|
|
33
31
|
Tabler uses other packages to enhance the functionality for example charts and input masks. These are not automatically installed to avoid huge
|
|
34
32
|
dependency trees and need to be installed by using npm install. We support the following packages as of writing.
|
|
35
33
|
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Introduction
|
|
3
|
-
|
|
3
|
+
summary: Free and open-source HTML Dashboard UI Kit built on Bootstrap
|
|
4
|
+
order: 1
|
|
5
|
+
description: Overview of Tabler UI Kit.
|
|
4
6
|
---
|
|
5
7
|
|
|
6
8
|
## What is Tabler?
|
|
@@ -11,30 +13,4 @@ Tabler is fully responsive and compatible with all modern browsers. Thanks to it
|
|
|
11
13
|
|
|
12
14
|
Tabler is a perfect solution if you want to create an interface which is not only user-friendly but also fully responsive. Thanks to the big choice of ready-made components, you can customize your design and adapt it to the needs of even the most demanding users. On top of that, Tabler is an open source solution, continuously developed and improved by the open source community.
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## Set up the environment
|
|
17
|
-
|
|
18
|
-
To use our build system and run our documentation locally, you'll need a copy of Tabler's source files. Follow the steps below:
|
|
19
|
-
|
|
20
|
-
1. [Install Node.js](https://nodejs.org/download/), which we use to manage our dependencies.
|
|
21
|
-
2. Navigate to the root `/tabler` directory and run `npm install` to install our local dependencies listed in `package.json`.
|
|
22
|
-
3. [Install Ruby](https://ruby-lang.org/en/documentation/installation/) - the recommended version is [2.5.5](https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.5.tar.gz).
|
|
23
|
-
4. [Install Bundler](https://bundler.io) with `gem install bundler` and, finally, run `bundle install`. It will install all Ruby dependencies, such as [Jekyll and plugins](https://jekyllrb.com).
|
|
24
|
-
|
|
25
|
-
### Windows users
|
|
26
|
-
1. [Install Git](https://git-scm.com/download/win) in `C:\Program Files\git\bin` directory and run `npm config set script-shell "C:\Program Files\git\bin\bash.exe"` to change the default shell.
|
|
27
|
-
2. [Install Ruby+Devkit](https://rubyinstaller.org/downloads/) - recommended version is [2.5.5](https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.5.5-1/rubyinstaller-devkit-2.5.5-1-x86.exe).
|
|
28
|
-
3. [Read guide](https://jekyllrb.com/docs/installation/windows/) to get Jekyll up and running without problems.
|
|
29
|
-
|
|
30
|
-
Once you've completed the setup, you'll be able to run the various commands provided from the command line.
|
|
31
|
-
|
|
32
|
-
## Build Tabler locally
|
|
33
|
-
|
|
34
|
-
1. From the root `/tabler` directory, run `npm run start` in the command line.
|
|
35
|
-
2. Open [http://localhost:3000](http://localhost:3000) in your browser, and voilà.
|
|
36
|
-
3. Any change in `/src` directory will build the application and refresh the page.
|
|
37
|
-
|
|
38
|
-
## Bugs and feature requests
|
|
39
|
-
|
|
40
|
-
Found a bug or have a feature request? [Please open a new issue](https://github.com/tabler/tabler/issues/new).
|
|
16
|
+
<img src="https://raw.githubusercontent.com/tabler/tabler/dev/src/static/tabler-preview.png?2" src-dark="https://raw.githubusercontent.com/tabler/tabler/dev/src/static/tabler-preview-dark.png?2" alt="Screencap of tabler site showing global traffic and statistics" />
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Tabler UI
|
|
3
|
+
order: 1
|
|
4
|
+
description: Free and open source web application UI kit based on Bootstrap
|
|
5
|
+
summary: Tabler UI is a carefully crafted collection of modern and responsive user interface components. Built on top of Bootstrap, it helps developers create stunning and functional web applications quickly and efficiently.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+

|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Page headers
|
|
3
|
-
|
|
3
|
+
summary: Page heading examples for Tabler
|
|
4
|
+
description: Examples of Tabler page headers.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
## Simple header
|
|
7
8
|
|
|
8
|
-
```html example
|
|
9
|
+
```html example vcentered
|
|
9
10
|
<div class="page-header">
|
|
10
11
|
<div class="row align-items-center">
|
|
11
12
|
<div class="col">
|
|
@@ -46,7 +47,7 @@ description: Page heading examples for Tabler
|
|
|
46
47
|
|
|
47
48
|
## With meta, avatar and actions
|
|
48
49
|
|
|
49
|
-
```html example
|
|
50
|
+
```html example vcentered
|
|
50
51
|
<div class="page-header">
|
|
51
52
|
<div class="row align-items-center">
|
|
52
53
|
<div class="col-auto">
|
|
@@ -106,7 +107,7 @@ description: Page heading examples for Tabler
|
|
|
106
107
|
|
|
107
108
|
## With meta, search and actions
|
|
108
109
|
|
|
109
|
-
```html example
|
|
110
|
+
```html example vcentered
|
|
110
111
|
<div class="page-header">
|
|
111
112
|
<div class="row align-items-center">
|
|
112
113
|
<div class="col">
|
|
@@ -145,7 +146,7 @@ description: Page heading examples for Tabler
|
|
|
145
146
|
|
|
146
147
|
Page header with a border to separate content is an effective way to organize and present information in a clear and visually appealing way.
|
|
147
148
|
|
|
148
|
-
```html example
|
|
149
|
+
```html example fullpage
|
|
149
150
|
<div class="page-header page-header-border">
|
|
150
151
|
<div class="container-fluid">
|
|
151
152
|
<div class="row align-items-center">
|
|
@@ -189,15 +190,21 @@ A page header with breadcrumb and actions is a common design element found in ma
|
|
|
189
190
|
|
|
190
191
|
In addition to the breadcrumb, the header often includes actions or buttons that allow the user to perform common tasks related to the current page. These actions may include things like adding a new item, editing existing content, or deleting items.
|
|
191
192
|
|
|
192
|
-
```html example
|
|
193
|
+
```html example vcentered
|
|
193
194
|
<div class="page-header">
|
|
194
195
|
<div class="row align-items-center mw-100">
|
|
195
196
|
<div class="col">
|
|
196
197
|
<div class="mb-1">
|
|
197
198
|
<ol class="breadcrumb" aria-label="breadcrumbs">
|
|
198
|
-
<li class="breadcrumb-item"
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
<li class="breadcrumb-item">
|
|
200
|
+
<a href="#">Home</a>
|
|
201
|
+
</li>
|
|
202
|
+
<li class="breadcrumb-item">
|
|
203
|
+
<a href="#">Library</a>
|
|
204
|
+
</li>
|
|
205
|
+
<li class="breadcrumb-item active" aria-current="page">
|
|
206
|
+
<a href="#">Articles</a>
|
|
207
|
+
</li>
|
|
201
208
|
</ol>
|
|
202
209
|
</div>
|
|
203
210
|
<h2 class="page-title">
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Page layouts
|
|
3
|
-
|
|
3
|
+
summary: Learn how to build a sample version of the dashboard
|
|
4
|
+
description: Learn to design dashboard layouts.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
<Callout>
|
|
@@ -9,7 +10,7 @@ description: Learn how to build a sample version of the dashboard
|
|
|
9
10
|
|
|
10
11
|
## Sample layout
|
|
11
12
|
|
|
12
|
-
```html example
|
|
13
|
+
```html example fullpage resizable height="30rem"
|
|
13
14
|
<div class="page">
|
|
14
15
|
<header class="navbar navbar-expand-sm navbar-light d-print-none">
|
|
15
16
|
<div class="container-xl">
|
|
@@ -65,7 +66,7 @@ description: Learn how to build a sample version of the dashboard
|
|
|
65
66
|
|
|
66
67
|
## Sidebar layout
|
|
67
68
|
|
|
68
|
-
```html example
|
|
69
|
+
```html example fullpage resizable height="30rem"
|
|
69
70
|
<div class="page">
|
|
70
71
|
<!-- Sidebar -->
|
|
71
72
|
<aside class="navbar navbar-vertical navbar-expand-sm navbar-dark">
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Flags
|
|
3
|
-
|
|
3
|
+
summary: Thanks to the Tabler flags plugin, you can create flags to visually represent countries or languages. Flags are often used in forms, as an element of a delivery address, phone number dialling code and many more.
|
|
4
4
|
plugin: flags
|
|
5
5
|
libs: tabler-flags
|
|
6
|
+
description: Visual representation of countries/languages.
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
## Installation
|
|
@@ -17,9 +18,23 @@ You can also include plugin via CDN:
|
|
|
17
18
|
|
|
18
19
|
## Flag
|
|
19
20
|
|
|
20
|
-
To create a flag, add the `flag` class to a component and choose the country whose flag you want to use.
|
|
21
|
+
To create a flag, add the `flag` class to a component and choose the country whose flag you want to use.
|
|
21
22
|
|
|
22
|
-
```html
|
|
23
|
+
```html example centered separated plugins="flags"
|
|
24
|
+
<span class="flag flag-country-us"></span>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## Country flags
|
|
29
|
+
|
|
30
|
+
To use the flag of a particular country, add the `flag-country-(country name)` class. For example, to create a flag of Andorra should use the following class: `.flag-country-ad`. Full list of countries can be found below.
|
|
31
|
+
|
|
32
|
+
```html
|
|
33
|
+
<span class="flag flag-country-ad"></span>
|
|
34
|
+
<span class="flag flag-country-ae"></span>
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```html example centered separated plugins="flags"
|
|
23
38
|
<span class="flag flag-country-tg"></span>
|
|
24
39
|
<span class="flag flag-country-br"></span>
|
|
25
40
|
<span class="flag flag-country-pt"></span>
|
|
@@ -45,8 +60,257 @@ Using Bootstrap’s typical naming structure, you can create a standard flag, or
|
|
|
45
60
|
<span class="flag flag-xs ..."></span>
|
|
46
61
|
```
|
|
47
62
|
|
|
48
|
-
##
|
|
63
|
+
## Flags list
|
|
49
64
|
|
|
50
|
-
|
|
65
|
+
The full list of countries can be found below.
|
|
51
66
|
|
|
52
|
-
<FlagsTable
|
|
67
|
+
<FlagsTable countries={[
|
|
68
|
+
{ "name": "Andorra", "code": "ad" },
|
|
69
|
+
{ "name": "United Arab Emirates", "code": "ae" },
|
|
70
|
+
{ "name": "Afghanistan", "code": "af" },
|
|
71
|
+
{ "name": "Antigua", "code": "ag" },
|
|
72
|
+
{ "name": "Anguilla", "code": "ai" },
|
|
73
|
+
{ "name": "Armenia", "code": "am" },
|
|
74
|
+
{ "name": "Angolan", "code": "ao" },
|
|
75
|
+
{ "name": "Antarctica", "code": "aq" },
|
|
76
|
+
{ "name": "Argentina", "code": "ar" },
|
|
77
|
+
{ "name": "American Samoa", "code": "as" },
|
|
78
|
+
{ "name": "Austria", "code": "at" },
|
|
79
|
+
{ "name": "Australia", "code": "au" },
|
|
80
|
+
{ "name": "Aruba", "code": "aw" },
|
|
81
|
+
{ "name": "Aslan Islands", "code": "ax" },
|
|
82
|
+
{ "name": "Azerbaijan", "code": "az" },
|
|
83
|
+
{ "name": "Bosnian", "code": "ba" },
|
|
84
|
+
{ "name": "Barbados", "code": "bb" },
|
|
85
|
+
{ "name": "Belgium", "code": "be" },
|
|
86
|
+
{ "name": "Burkina Faso", "code": "bf" },
|
|
87
|
+
{ "name": "Bulgaria", "code": "bg" },
|
|
88
|
+
{ "name": "Bahrain", "code": "bh" },
|
|
89
|
+
{ "name": "Burundi", "code": "bi" },
|
|
90
|
+
{ "name": "Benin", "code": "bj" },
|
|
91
|
+
{ "name": "Saint-Barthélemy", "code": "bl" },
|
|
92
|
+
{ "name": "Bermuda", "code": "bm" },
|
|
93
|
+
{ "name": "Bruneian", "code": "bn" },
|
|
94
|
+
{ "name": "Bolivia", "code": "bo" },
|
|
95
|
+
{ "name": "Bonaire", "code": "bq-bo" },
|
|
96
|
+
{ "name": "Brazil", "code": "br" },
|
|
97
|
+
{ "name": "Bahamas", "code": "bs" },
|
|
98
|
+
{ "name": "Bhutan", "code": "bt" },
|
|
99
|
+
{ "name": "Bouvet Island", "code": "bv" },
|
|
100
|
+
{ "name": "Batswana", "code": "bw" },
|
|
101
|
+
{ "name": "Belarus", "code": "by" },
|
|
102
|
+
{ "name": "Belize", "code": "bz" },
|
|
103
|
+
{ "name": "Canada", "code": "ca" },
|
|
104
|
+
{ "name": "Cocos Island", "code": "cc" },
|
|
105
|
+
{ "name": "Democratic Republic of Congo", "code": "cd" },
|
|
106
|
+
{ "name": "Central African Republic", "code": "cf" },
|
|
107
|
+
{ "name": "Republic of the Congo", "code": "cg" },
|
|
108
|
+
{ "name": "Switzerland", "code": "ch" },
|
|
109
|
+
{ "name": "Ivory Coast", "code": "ci" },
|
|
110
|
+
{ "name": "Cook Island", "code": "ck" },
|
|
111
|
+
{ "name": "Chile", "code": "cl" },
|
|
112
|
+
{ "name": "Cameroon", "code": "cm" },
|
|
113
|
+
{ "name": "China", "code": "cn" },
|
|
114
|
+
{ "name": "Colombia", "code": "co" },
|
|
115
|
+
{ "name": "Costa Rica", "code": "cr" },
|
|
116
|
+
{ "name": "Cuba", "code": "cu" },
|
|
117
|
+
{ "name": "Cape Verde", "code": "cv" },
|
|
118
|
+
{ "name": "Curacao", "code": "cw" },
|
|
119
|
+
{ "name": "Christmas Island", "code": "cx" },
|
|
120
|
+
{ "name": "Cyprus", "code": "cy" },
|
|
121
|
+
{ "name": "Czech Republic", "code": "cz" },
|
|
122
|
+
{ "name": "Germany", "code": "de" },
|
|
123
|
+
{ "name": "Djibouti", "code": "dj" },
|
|
124
|
+
{ "name": "Denmark", "code": "dk" },
|
|
125
|
+
{ "name": "Dominica", "code": "dm" },
|
|
126
|
+
{ "name": "Dominican Republic", "code": "do" },
|
|
127
|
+
{ "name": "Algeria", "code": "dz" },
|
|
128
|
+
{ "name": "Ecuador", "code": "ec" },
|
|
129
|
+
{ "name": "Estonia", "code": "ee" },
|
|
130
|
+
{ "name": "Egypt", "code": "eg" },
|
|
131
|
+
{ "name": "Sahrawi", "code": "eh" },
|
|
132
|
+
{ "name": "Eritrea", "code": "er" },
|
|
133
|
+
{ "name": "Spain", "code": "es" },
|
|
134
|
+
{ "name": "Ethiopia", "code": "et" },
|
|
135
|
+
{ "name": "European Union", "code": "eu" },
|
|
136
|
+
{ "name": "Finland", "code": "fi" },
|
|
137
|
+
{ "name": "Fiji", "code": "fj" },
|
|
138
|
+
{ "name": "Falkland Islands", "code": "fk" },
|
|
139
|
+
{ "name": "Federate States of Micronesia", "code": "fm" },
|
|
140
|
+
{ "name": "Faroe Islands", "code": "fo" },
|
|
141
|
+
{ "name": "France", "code": "fr" },
|
|
142
|
+
{ "name": "Gabon", "code": "ga" },
|
|
143
|
+
{ "name": "Great Britain", "code": "gb" },
|
|
144
|
+
{ "name": "England", "code": "gb-eng" },
|
|
145
|
+
{ "name": "Northern Ireland", "code": "gb-nir" },
|
|
146
|
+
{ "name": "Scotland", "code": "gb-sct" },
|
|
147
|
+
{ "name": "Wales", "code": "gb-wls" },
|
|
148
|
+
{ "name": "Grenada", "code": "gd" },
|
|
149
|
+
{ "name": "Georgia", "code": "ge" },
|
|
150
|
+
{ "name": "Guyana", "code": "gf" },
|
|
151
|
+
{ "name": "Guernsey", "code": "gg" },
|
|
152
|
+
{ "name": "Ghana", "code": "gh" },
|
|
153
|
+
{ "name": "Gibraltar", "code": "gi" },
|
|
154
|
+
{ "name": "Greenland", "code": "gl" },
|
|
155
|
+
{ "name": "Gambia", "code": "gm" },
|
|
156
|
+
{ "name": "Guinea", "code": "gn" },
|
|
157
|
+
{ "name": "Guadeloupe", "code": "gp" },
|
|
158
|
+
{ "name": "Equatorial Guinea", "code": "gq" },
|
|
159
|
+
{ "name": "Greece", "code": "gr" },
|
|
160
|
+
{ "name": "South Georgia", "code": "gs" },
|
|
161
|
+
{ "name": "Guatemala", "code": "gt" },
|
|
162
|
+
{ "name": "Guam", "code": "gu" },
|
|
163
|
+
{ "name": "Guinea-Bissau", "code": "gw" },
|
|
164
|
+
{ "name": "Guyana", "code": "gy" },
|
|
165
|
+
{ "name": "Hong Kong", "code": "hk" },
|
|
166
|
+
{ "name": "Heard and McDonald Islands", "code": "hm" },
|
|
167
|
+
{ "name": "Honduras", "code": "hn" },
|
|
168
|
+
{ "name": "Croatia", "code": "hr" },
|
|
169
|
+
{ "name": "Haiti", "code": "ht" },
|
|
170
|
+
{ "name": "Hungary", "code": "hu" },
|
|
171
|
+
{ "name": "Indonesia", "code": "id" },
|
|
172
|
+
{ "name": "Ireland", "code": "ie" },
|
|
173
|
+
{ "name": "Israel", "code": "il" },
|
|
174
|
+
{ "name": "Isle of Man", "code": "im" },
|
|
175
|
+
{ "name": "India", "code": "in" },
|
|
176
|
+
{ "name": "British Indian Ocean Territory", "code": "io" },
|
|
177
|
+
{ "name": "Iraq", "code": "iq" },
|
|
178
|
+
{ "name": "Iran", "code": "ir" },
|
|
179
|
+
{ "name": "Iceland", "code": "is" },
|
|
180
|
+
{ "name": "Italy", "code": "it" },
|
|
181
|
+
{ "name": "Jersey", "code": "je" },
|
|
182
|
+
{ "name": "Jamaica", "code": "jm" },
|
|
183
|
+
{ "name": "Jordan", "code": "jo" },
|
|
184
|
+
{ "name": "Japan", "code": "jp" },
|
|
185
|
+
{ "name": "Kenya", "code": "ke" },
|
|
186
|
+
{ "name": "Kyrgyzstan", "code": "kg" },
|
|
187
|
+
{ "name": "Cambodia", "code": "kh" },
|
|
188
|
+
{ "name": "Kiribati", "code": "ki" },
|
|
189
|
+
{ "name": "Comoros", "code": "km" },
|
|
190
|
+
{ "name": "Saint Kitts and Nevis", "code": "kn" },
|
|
191
|
+
{ "name": "North Korea", "code": "kp" },
|
|
192
|
+
{ "name": "South Korea", "code": "kr" },
|
|
193
|
+
{ "name": "Kuwait", "code": "kw" },
|
|
194
|
+
{ "name": "Cayman Islands", "code": "ky" },
|
|
195
|
+
{ "name": "Kazakhstan", "code": "kz" },
|
|
196
|
+
{ "name": "Laos", "code": "la" },
|
|
197
|
+
{ "name": "Lebanese", "code": "lb" },
|
|
198
|
+
{ "name": "Saint Lucia", "code": "lc" },
|
|
199
|
+
{ "name": "Liechtenstein", "code": "li" },
|
|
200
|
+
{ "name": "Sri Lanka", "code": "lk" },
|
|
201
|
+
{ "name": "Liberia", "code": "lr" },
|
|
202
|
+
{ "name": "Lesotho", "code": "ls" },
|
|
203
|
+
{ "name": "Lithuania", "code": "lt" },
|
|
204
|
+
{ "name": "Luxembourg", "code": "lu" },
|
|
205
|
+
{ "name": "Latvia", "code": "lv" },
|
|
206
|
+
{ "name": "Libya", "code": "ly" },
|
|
207
|
+
{ "name": "Morocco", "code": "ma" },
|
|
208
|
+
{ "name": "Monaco", "code": "mc" },
|
|
209
|
+
{ "name": "Moldova", "code": "md" },
|
|
210
|
+
{ "name": "Montenegro", "code": "me" },
|
|
211
|
+
{ "name": "Saint Martin", "code": "mf" },
|
|
212
|
+
{ "name": "Madagascar", "code": "mg" },
|
|
213
|
+
{ "name": "Marshall Islands", "code": "mh" },
|
|
214
|
+
{ "name": "Macedonia", "code": "mk" },
|
|
215
|
+
{ "name": "Mali", "code": "ml" },
|
|
216
|
+
{ "name": "Myanmar", "code": "mm" },
|
|
217
|
+
{ "name": "Mongolia", "code": "mn" },
|
|
218
|
+
{ "name": "Macao", "code": "mo" },
|
|
219
|
+
{ "name": "Northern Mariana Islands", "code": "mp" },
|
|
220
|
+
{ "name": "Martinique", "code": "mq" },
|
|
221
|
+
{ "name": "Mauritania", "code": "mr" },
|
|
222
|
+
{ "name": "Montserrat", "code": "ms" },
|
|
223
|
+
{ "name": "Malta", "code": "mt" },
|
|
224
|
+
{ "name": "Mauritius", "code": "mu" },
|
|
225
|
+
{ "name": "Maldives", "code": "mv" },
|
|
226
|
+
{ "name": "Malawi", "code": "mw" },
|
|
227
|
+
{ "name": "Mexico", "code": "mx" },
|
|
228
|
+
{ "name": "Malaysia", "code": "my" },
|
|
229
|
+
{ "name": "Mozambique", "code": "mz" },
|
|
230
|
+
{ "name": "Namibia", "code": "na" },
|
|
231
|
+
{ "name": "New Caledonia", "code": "nc" },
|
|
232
|
+
{ "name": "Niger", "code": "ne" },
|
|
233
|
+
{ "name": "Norfolk Island", "code": "nf" },
|
|
234
|
+
{ "name": "Nigeria", "code": "ng" },
|
|
235
|
+
{ "name": "Nicaragua", "code": "ni" },
|
|
236
|
+
{ "name": "Norway", "code": "no" },
|
|
237
|
+
{ "name": "Nepal", "code": "np" },
|
|
238
|
+
{ "name": "Nauruan", "code": "nr" },
|
|
239
|
+
{ "name": "New Zealand", "code": "nz" },
|
|
240
|
+
{ "name": "Oman", "code": "om" },
|
|
241
|
+
{ "name": "Panama", "code": "pa" },
|
|
242
|
+
{ "name": "Peru", "code": "pe" },
|
|
243
|
+
{ "name": "French Polynesia", "code": "pf" },
|
|
244
|
+
{ "name": "Papua New Guinea", "code": "pg" },
|
|
245
|
+
{ "name": "Philippines", "code": "ph" },
|
|
246
|
+
{ "name": "Pakistan", "code": "pk" },
|
|
247
|
+
{ "name": "Poland", "code": "pl" },
|
|
248
|
+
{ "name": "Saint Pierre", "code": "pm" },
|
|
249
|
+
{ "name": "Pitcairn Islands", "code": "pn" },
|
|
250
|
+
{ "name": "Puerto Rico", "code": "pr" },
|
|
251
|
+
{ "name": "Palestine", "code": "ps" },
|
|
252
|
+
{ "name": "Portugal", "code": "pt" },
|
|
253
|
+
{ "name": "Palau", "code": "pw" },
|
|
254
|
+
{ "name": "Paraguay", "code": "py" },
|
|
255
|
+
{ "name": "Qatar", "code": "qa" },
|
|
256
|
+
{ "name": "Reunion Island", "code": "re" },
|
|
257
|
+
{ "name": "Romania", "code": "ro" },
|
|
258
|
+
{ "name": "Serbia", "code": "rs" },
|
|
259
|
+
{ "name": "Russia", "code": "ru" },
|
|
260
|
+
{ "name": "Rwanda", "code": "rw" },
|
|
261
|
+
{ "name": "Saudi Arabia", "code": "sa" },
|
|
262
|
+
{ "name": "Solomon Islands", "code": "sb" },
|
|
263
|
+
{ "name": "Seychelles", "code": "sc" },
|
|
264
|
+
{ "name": "Sudan", "code": "sd" },
|
|
265
|
+
{ "name": "Sweden", "code": "se" },
|
|
266
|
+
{ "name": "Singapore", "code": "sg" },
|
|
267
|
+
{ "name": "Saint Helena", "code": "sh" },
|
|
268
|
+
{ "name": "Slovenia", "code": "si" },
|
|
269
|
+
{ "name": "Svalbard Island", "code": "sj" },
|
|
270
|
+
{ "name": "Slovakia", "code": "sk" },
|
|
271
|
+
{ "name": "Sierra Leone", "code": "sl" },
|
|
272
|
+
{ "name": "San Marino", "code": "sm" },
|
|
273
|
+
{ "name": "Senegal", "code": "sn" },
|
|
274
|
+
{ "name": "Somalia", "code": "so" },
|
|
275
|
+
{ "name": "Suriname", "code": "sr" },
|
|
276
|
+
{ "name": "South Sudan", "code": "ss" },
|
|
277
|
+
{ "name": "Sao Tome", "code": "st" },
|
|
278
|
+
{ "name": "El Salvador", "code": "sv" },
|
|
279
|
+
{ "name": "Sint Maarten", "code": "sx" },
|
|
280
|
+
{ "name": "Syria", "code": "sy" },
|
|
281
|
+
{ "name": "Swaziland", "code": "sz" },
|
|
282
|
+
{ "name": "Turks and Caicos", "code": "tc" },
|
|
283
|
+
{ "name": "Chad", "code": "td" },
|
|
284
|
+
{ "name": "French Southern and Antarctic Lands", "code": "tf" },
|
|
285
|
+
{ "name": "Togo", "code": "tg" },
|
|
286
|
+
{ "name": "Thailand", "code": "th" },
|
|
287
|
+
{ "name": "Tajikistan", "code": "tj" },
|
|
288
|
+
{ "name": "Tokelau", "code": "tk" },
|
|
289
|
+
{ "name": "Timor Leste", "code": "tl" },
|
|
290
|
+
{ "name": "Turkmenistan", "code": "tm" },
|
|
291
|
+
{ "name": "Tunisia", "code": "tn" },
|
|
292
|
+
{ "name": "Tonga", "code": "to" },
|
|
293
|
+
{ "name": "Turkey", "code": "tr" },
|
|
294
|
+
{ "name": "Trinidad and Tobago", "code": "tt" },
|
|
295
|
+
{ "name": "Tuvalu", "code": "tv" },
|
|
296
|
+
{ "name": "Tanzania", "code": "tz" },
|
|
297
|
+
{ "name": "Ukraine", "code": "ua" },
|
|
298
|
+
{ "name": "Uganda", "code": "ug" },
|
|
299
|
+
{ "name": "United States Minor Islands", "code": "um" },
|
|
300
|
+
{ "name": "United States of America", "code": "us" },
|
|
301
|
+
{ "name": "Uruguay", "code": "uy" },
|
|
302
|
+
{ "name": "Uzbekistan", "code": "uz" },
|
|
303
|
+
{ "name": "Vatican City", "code": "va" },
|
|
304
|
+
{ "name": "Saint Vincent", "code": "vc" },
|
|
305
|
+
{ "name": "Venezuela", "code": "ve" },
|
|
306
|
+
{ "name": "British Virgin Islands", "code": "vg" },
|
|
307
|
+
{ "name": "Virgin Islands", "code": "vi" },
|
|
308
|
+
{ "name": "Vietnam", "code": "vn" },
|
|
309
|
+
{ "name": "Vanuatu", "code": "vu" },
|
|
310
|
+
{ "name": "Wallis and Futuna", "code": "wf" },
|
|
311
|
+
{ "name": "Samoa", "code": "ws" },
|
|
312
|
+
{ "name": "Yemen", "code": "ye" },
|
|
313
|
+
{ "name": "South Africa", "code": "za" },
|
|
314
|
+
{ "name": "Zambia", "code": "zm" },
|
|
315
|
+
{ "name": "Zimbabwe", "code": "zw" }
|
|
316
|
+
]}/>
|