@tabler/core 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/LICENSE +21 -0
  2. package/dist/css/tabler-flags.css +2 -2
  3. package/dist/css/tabler-flags.css.map +1 -1
  4. package/dist/css/tabler-flags.min.css +2 -2
  5. package/dist/css/tabler-flags.min.css.map +1 -1
  6. package/dist/css/tabler-flags.rtl.css +2 -2
  7. package/dist/css/tabler-flags.rtl.css.map +1 -1
  8. package/dist/css/tabler-flags.rtl.min.css +2 -2
  9. package/dist/css/tabler-flags.rtl.min.css.map +1 -1
  10. package/dist/css/tabler-marketing.css +6 -6
  11. package/dist/css/tabler-marketing.css.map +1 -1
  12. package/dist/css/tabler-marketing.min.css +2 -2
  13. package/dist/css/tabler-marketing.min.css.map +1 -1
  14. package/dist/css/tabler-marketing.rtl.css +6 -6
  15. package/dist/css/tabler-marketing.rtl.css.map +1 -1
  16. package/dist/css/tabler-marketing.rtl.min.css +2 -2
  17. package/dist/css/tabler-marketing.rtl.min.css.map +1 -1
  18. package/dist/css/tabler-payments.css +1 -1
  19. package/dist/css/tabler-payments.min.css +1 -1
  20. package/dist/css/tabler-payments.rtl.css +1 -1
  21. package/dist/css/tabler-payments.rtl.min.css +1 -1
  22. package/dist/css/tabler-props.css +448 -0
  23. package/dist/css/tabler-props.css.map +1 -0
  24. package/dist/css/tabler-props.min.css +8 -0
  25. package/dist/css/tabler-props.min.css.map +1 -0
  26. package/dist/css/tabler-props.rtl.css +447 -0
  27. package/dist/css/tabler-props.rtl.css.map +1 -0
  28. package/dist/css/tabler-props.rtl.min.css +8 -0
  29. package/dist/css/tabler-props.rtl.min.css.map +1 -0
  30. package/dist/css/tabler-socials.css +1 -1
  31. package/dist/css/tabler-socials.min.css +1 -1
  32. package/dist/css/tabler-socials.rtl.css +1 -1
  33. package/dist/css/tabler-socials.rtl.min.css +1 -1
  34. package/dist/css/tabler-themes.css +213 -0
  35. package/dist/css/tabler-themes.css.map +1 -0
  36. package/dist/css/tabler-themes.min.css +8 -0
  37. package/dist/css/tabler-themes.min.css.map +1 -0
  38. package/dist/css/tabler-themes.rtl.css +212 -0
  39. package/dist/css/tabler-themes.rtl.css.map +1 -0
  40. package/dist/css/tabler-themes.rtl.min.css +8 -0
  41. package/dist/css/tabler-themes.rtl.min.css.map +1 -0
  42. package/dist/css/tabler-vendors.css +31 -16
  43. package/dist/css/tabler-vendors.css.map +1 -1
  44. package/dist/css/tabler-vendors.min.css +2 -2
  45. package/dist/css/tabler-vendors.min.css.map +1 -1
  46. package/dist/css/tabler-vendors.rtl.css +31 -16
  47. package/dist/css/tabler-vendors.rtl.css.map +1 -1
  48. package/dist/css/tabler-vendors.rtl.min.css +2 -2
  49. package/dist/css/tabler-vendors.rtl.min.css.map +1 -1
  50. package/dist/css/tabler.css +7662 -8392
  51. package/dist/css/tabler.css.map +1 -1
  52. package/dist/css/tabler.min.css +2 -2
  53. package/dist/css/tabler.min.css.map +1 -1
  54. package/dist/css/tabler.rtl.css +7751 -8481
  55. package/dist/css/tabler.rtl.css.map +1 -1
  56. package/dist/css/tabler.rtl.min.css +2 -2
  57. package/dist/css/tabler.rtl.min.css.map +1 -1
  58. package/dist/img/flags/kr.svg +1 -1
  59. package/dist/js/tabler-theme.esm.js +38 -0
  60. package/dist/js/tabler-theme.esm.js.map +1 -0
  61. package/dist/js/tabler-theme.esm.min.js +8 -0
  62. package/dist/js/tabler-theme.esm.min.js.map +1 -0
  63. package/dist/js/tabler-theme.js +45 -0
  64. package/dist/js/tabler-theme.js.map +1 -0
  65. package/dist/js/tabler-theme.min.js +8 -0
  66. package/dist/js/tabler-theme.min.js.map +1 -0
  67. package/dist/js/tabler.esm.js +28 -21
  68. package/dist/js/tabler.esm.js.map +1 -1
  69. package/dist/js/tabler.esm.min.js +5 -5
  70. package/dist/js/tabler.esm.min.js.map +1 -1
  71. package/dist/js/tabler.js +36 -24
  72. package/dist/js/tabler.js.map +1 -1
  73. package/dist/js/tabler.min.js +5 -5
  74. package/dist/js/tabler.min.js.map +1 -1
  75. package/js/src/autosize.js +1 -4
  76. package/js/src/input-mask.js +1 -3
  77. package/js/tabler-theme.js +35 -0
  78. package/js/{tabler.esm.js → tabler.js} +16 -0
  79. package/package.json +10 -8
  80. package/scss/_bootstrap-components.scss +0 -5
  81. package/scss/_core.scss +4 -0
  82. package/scss/_props.scss +91 -0
  83. package/scss/_utilities.scss +30 -1
  84. package/scss/_variables-dark.scss +1 -1
  85. package/scss/_variables.scss +79 -60
  86. package/scss/helpers/_index.scss +143 -0
  87. package/scss/layout/_core.scss +1 -0
  88. package/scss/layout/_dark.scss +33 -38
  89. package/scss/layout/_navbar.scss +2 -1
  90. package/scss/layout/_page.scss +1 -0
  91. package/scss/layout/_root.scss +26 -34
  92. package/scss/marketing/_core.scss +1 -1
  93. package/scss/marketing/_pricing.scss +1 -1
  94. package/scss/mixins/_mixins.scss +6 -6
  95. package/scss/tabler-props.scss +1 -0
  96. package/scss/tabler-themes.scss +121 -0
  97. package/scss/tabler-vendors.scss +3 -1
  98. package/scss/tabler.scss +0 -1
  99. package/scss/ui/_accordion.scss +31 -26
  100. package/scss/ui/_alerts.scss +19 -8
  101. package/scss/ui/_avatars.scss +35 -9
  102. package/scss/ui/_badges.scss +1 -1
  103. package/scss/ui/_buttons.scss +15 -17
  104. package/scss/ui/_close.scss +55 -2
  105. package/scss/ui/_dropdowns.scss +1 -0
  106. package/scss/ui/_forms.scss +12 -2
  107. package/scss/ui/_markdown.scss +10 -1
  108. package/scss/ui/_nav.scss +11 -1
  109. package/scss/ui/_offcanvas.scss +1 -1
  110. package/scss/ui/_pagination.scss +2 -0
  111. package/scss/ui/_signature.scss +4 -2
  112. package/scss/ui/_steps.scss +4 -0
  113. package/scss/ui/_tables.scss +16 -0
  114. package/scss/ui/_tags.scss +1 -1
  115. package/scss/ui/_type.scss +69 -7
  116. package/scss/ui/forms/_form-colorinput.scss +1 -1
  117. package/scss/ui/forms/_form-imagecheck.scss +6 -5
  118. package/scss/ui/forms/_form-selectgroup.scss +1 -1
  119. package/scss/utils/_colors.scss +58 -11
  120. package/scss/utils/_scroll.scss +0 -2
  121. package/scss/vendor/_coloris.scss +6 -1
  122. package/scss/vendor/_fslightbox.scss +1 -1
  123. package/scss/vendor/_jsvectormap.scss +2 -3
  124. package/scss/vendor/_litepicker.scss +1 -0
  125. package/scss/vendor/_nouislider.scss +0 -2
  126. package/scss/vendor/_tinymce.scss +3 -3
  127. package/scss/vendor/_tom-select.scss +7 -4
  128. package/scss/vendor/_turbo.scss +3 -0
  129. package/scss/vendor/_wysiwyg.scss +34 -0
  130. package/docs/emails/index.mdx +0 -14
  131. package/docs/emails/introduction/compiled-html.mdx +0 -29
  132. package/docs/emails/introduction/contents.mdx +0 -63
  133. package/docs/emails/introduction/index.mdx +0 -9
  134. package/docs/emails/introduction/source-html.mdx +0 -26
  135. package/docs/icons/index.mdx +0 -13
  136. package/docs/icons/libraries/index.mdx +0 -5
  137. package/docs/icons/libraries/preact.mdx +0 -42
  138. package/docs/icons/libraries/react.mdx +0 -42
  139. package/docs/icons/libraries/solidjs.mdx +0 -42
  140. package/docs/icons/libraries/svelte.mdx +0 -43
  141. package/docs/icons/libraries/vue.mdx +0 -50
  142. package/docs/icons/libraries/webfont.mdx +0 -60
  143. package/docs/icons/plugins/figma.mdx +0 -15
  144. package/docs/icons/plugins/index.mdx +0 -4
  145. package/docs/icons/static-files/eps.mdx +0 -15
  146. package/docs/icons/static-files/index.mdx +0 -5
  147. package/docs/icons/static-files/pdf.mdx +0 -15
  148. package/docs/icons/static-files/png.mdx +0 -31
  149. package/docs/icons/static-files/svg.mdx +0 -85
  150. package/docs/illustrations/index.mdx +0 -8
  151. package/docs/illustrations/introduction/contents.mdx +0 -77
  152. package/docs/illustrations/introduction/customization.mdx +0 -1198
  153. package/docs/illustrations/introduction/index.mdx +0 -5
  154. package/docs/illustrations/introduction/license.mdx +0 -90
  155. package/docs/img/browsers/brave.svg +0 -1
  156. package/docs/img/browsers/chrome.svg +0 -1
  157. package/docs/img/browsers/edge.svg +0 -1
  158. package/docs/img/browsers/electron.svg +0 -1
  159. package/docs/img/browsers/firefox.svg +0 -1
  160. package/docs/img/browsers/internet-explorer.svg +0 -1
  161. package/docs/img/browsers/opera.svg +0 -1
  162. package/docs/img/browsers/safari.svg +0 -1
  163. package/docs/img/browsers/vivaldi.svg +0 -1
  164. package/docs/img/cover-illustrations-dark.png +0 -0
  165. package/docs/img/cover-illustrations.png +0 -0
  166. package/docs/img/cover-tabler-dark.png +0 -0
  167. package/docs/img/cover-tabler.png +0 -0
  168. package/docs/img/icons/figma-plugin.png +0 -0
  169. package/docs/img/icons/package-angular-dark.png +0 -0
  170. package/docs/img/icons/package-angular.png +0 -0
  171. package/docs/img/icons/package-eps-dark.png +0 -0
  172. package/docs/img/icons/package-eps.png +0 -0
  173. package/docs/img/icons/package-js-dark.png +0 -0
  174. package/docs/img/icons/package-js.png +0 -0
  175. package/docs/img/icons/package-pdf-dark.png +0 -0
  176. package/docs/img/icons/package-pdf.png +0 -0
  177. package/docs/img/icons/package-png-dark.png +0 -0
  178. package/docs/img/icons/package-png.png +0 -0
  179. package/docs/img/icons/package-preact-dark.png +0 -0
  180. package/docs/img/icons/package-preact.png +0 -0
  181. package/docs/img/icons/package-react-dark.png +0 -0
  182. package/docs/img/icons/package-react-native-dark.png +0 -0
  183. package/docs/img/icons/package-react-native.png +0 -0
  184. package/docs/img/icons/package-react.png +0 -0
  185. package/docs/img/icons/package-solidjs-dark.png +0 -0
  186. package/docs/img/icons/package-solidjs.png +0 -0
  187. package/docs/img/icons/package-sprite-dark.png +0 -0
  188. package/docs/img/icons/package-sprite.png +0 -0
  189. package/docs/img/icons/package-svelte-dark.png +0 -0
  190. package/docs/img/icons/package-svelte.png +0 -0
  191. package/docs/img/icons/package-svg-dark.png +0 -0
  192. package/docs/img/icons/package-svg.png +0 -0
  193. package/docs/img/icons/package-vue-dark.png +0 -0
  194. package/docs/img/icons/package-vue.png +0 -0
  195. package/docs/img/icons/package-webfont-dark.png +0 -0
  196. package/docs/img/icons/package-webfont.png +0 -0
  197. package/docs/index.mdx +0 -16
  198. package/docs/ui/base/colors.mdx +0 -83
  199. package/docs/ui/base/index.mdx +0 -6
  200. package/docs/ui/base/typography.mdx +0 -311
  201. package/docs/ui/components/alerts.mdx +0 -406
  202. package/docs/ui/components/autosize.mdx +0 -25
  203. package/docs/ui/components/avatars.mdx +0 -227
  204. package/docs/ui/components/badges.mdx +0 -112
  205. package/docs/ui/components/breadcrumb.mdx +0 -199
  206. package/docs/ui/components/buttons.mdx +0 -1213
  207. package/docs/ui/components/cards.mdx +0 -417
  208. package/docs/ui/components/carousel.mdx +0 -459
  209. package/docs/ui/components/charts.mdx +0 -697
  210. package/docs/ui/components/countup.mdx +0 -165
  211. package/docs/ui/components/datagrid.mdx +0 -120
  212. package/docs/ui/components/divider.mdx +0 -68
  213. package/docs/ui/components/dropdowns.mdx +0 -302
  214. package/docs/ui/components/dropzone.mdx +0 -88
  215. package/docs/ui/components/empty.mdx +0 -149
  216. package/docs/ui/components/icons.mdx +0 -392
  217. package/docs/ui/components/index.mdx +0 -6
  218. package/docs/ui/components/inline-player.mdx +0 -58
  219. package/docs/ui/components/modals.mdx +0 -297
  220. package/docs/ui/components/offcanvas.mdx +0 -70
  221. package/docs/ui/components/placeholder.mdx +0 -273
  222. package/docs/ui/components/popover.mdx +0 -142
  223. package/docs/ui/components/progress.mdx +0 -241
  224. package/docs/ui/components/range-slider.mdx +0 -32
  225. package/docs/ui/components/ribbons.mdx +0 -207
  226. package/docs/ui/components/segmented-control.mdx +0 -401
  227. package/docs/ui/components/spinners.mdx +0 -135
  228. package/docs/ui/components/statuses.mdx +0 -322
  229. package/docs/ui/components/steps.mdx +0 -174
  230. package/docs/ui/components/switch-icon.mdx +0 -386
  231. package/docs/ui/components/tables.mdx +0 -397
  232. package/docs/ui/components/tabs.mdx +0 -396
  233. package/docs/ui/components/timelines.mdx +0 -697
  234. package/docs/ui/components/tinymce.mdx +0 -46
  235. package/docs/ui/components/toasts.mdx +0 -126
  236. package/docs/ui/components/tooltips.mdx +0 -65
  237. package/docs/ui/components/tracking.mdx +0 -548
  238. package/docs/ui/components/vector-maps.mdx +0 -166
  239. package/docs/ui/forms/form-color-check.mdx +0 -220
  240. package/docs/ui/forms/form-elements.mdx +0 -632
  241. package/docs/ui/forms/form-fieldset.mdx +0 -45
  242. package/docs/ui/forms/form-helpers.mdx +0 -91
  243. package/docs/ui/forms/form-image-check.mdx +0 -213
  244. package/docs/ui/forms/form-input-mask.mdx +0 -61
  245. package/docs/ui/forms/form-selectboxes.mdx +0 -398
  246. package/docs/ui/forms/form-validation.mdx +0 -62
  247. package/docs/ui/forms/index.mdx +0 -6
  248. package/docs/ui/getting-started/browser-support.mdx +0 -28
  249. package/docs/ui/getting-started/customize.mdx +0 -28
  250. package/docs/ui/getting-started/download.mdx +0 -44
  251. package/docs/ui/getting-started/faq.mdx +0 -30
  252. package/docs/ui/getting-started/how-to-contribute.mdx +0 -84
  253. package/docs/ui/getting-started/index.mdx +0 -16
  254. package/docs/ui/getting-started/installation.mdx +0 -67
  255. package/docs/ui/getting-started/license.mdx +0 -30
  256. package/docs/ui/index.mdx +0 -8
  257. package/docs/ui/layout/index.mdx +0 -6
  258. package/docs/ui/layout/navbars.mdx +0 -164
  259. package/docs/ui/layout/navs-tabls.mdx +0 -201
  260. package/docs/ui/layout/page-headers.mdx +0 -365
  261. package/docs/ui/layout/page-layouts.mdx +0 -213
  262. package/docs/ui/plugins/flags.mdx +0 -316
  263. package/docs/ui/plugins/index.mdx +0 -6
  264. package/docs/ui/plugins/payments.mdx +0 -152
  265. package/docs/ui/plugins/social-icons.mdx +0 -135
  266. package/docs/ui/utilities/borders.mdx +0 -260
  267. package/docs/ui/utilities/cursors.mdx +0 -63
  268. package/docs/ui/utilities/index.mdx +0 -5
  269. package/docs/ui/utilities/interactions.mdx +0 -26
  270. package/docs/ui/utilities/margins.mdx +0 -234
  271. package/docs/ui/utilities/vertical-align.mdx +0 -66
  272. package/docs/ui/utilities/visually-hidden.mdx +0 -12
  273. package/js/tabler.umd.js +0 -15
@@ -1,396 +0,0 @@
1
- ---
2
- title: Tabs
3
- summary: Tabs allow users to alternate between equally important views within the same context. By dividing content into meaningful sections, they improve its organization and make it easy for users to navigate.
4
- bootstrapLink: components/navs/
5
- description: Organize content with interactive tabs.
6
- ---
7
-
8
- ## Default markup
9
-
10
- Use tabs to let users access different sections within one context quickly and with ease. In the default design, the current tab is highlighted, which makes the interface clear and user-friendly.
11
-
12
- ```html example centered columns={1} height="20rem"
13
- <div class="card">
14
- <div class="card-header">
15
- <ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
16
- <li class="nav-item">
17
- <a href="#tabs-home-ex1" class="nav-link active" data-bs-toggle="tab">Home</a>
18
- </li>
19
- <li class="nav-item">
20
- <a href="#tabs-profile-ex1" class="nav-link" data-bs-toggle="tab">Profile</a>
21
- </li>
22
- </ul>
23
- </div>
24
- <div class="card-body">
25
- <div class="tab-content">
26
- <div class="tab-pane active show" id="tabs-home-ex1">
27
- <h4>Home tab</h4>
28
- <div>
29
- Cursus turpis vestibulum, dui in pharetra vulputate id sed non turpis ultricies fringilla
30
- at sed facilisis lacus pellentesque purus nibh
31
- </div>
32
- </div>
33
- <div class="tab-pane" id="tabs-profile-ex1">
34
- <h4>Profile tab</h4>
35
- <div>
36
- Fringilla egestas nunc quis tellus diam rhoncus ultricies tristique enim at diam, sem nunc
37
- amet, pellentesque id egestas velit sed
38
- </div>
39
- </div>
40
- </div>
41
- </div>
42
- </div>
43
- ```
44
-
45
- ## Tabs with icons
46
-
47
- Add icons to your tab labels, if you want to use a visual element and make the tab content easier to identify.
48
-
49
- ```html example centered columns={1} height="20rem"
50
- <div class="card">
51
- <div class="card-header">
52
- <ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
53
- <li class="nav-item">
54
- <a href="#tabs-home-ex2" class="nav-link active" data-bs-toggle="tab">
55
- <svg
56
- xmlns="http://www.w3.org/2000/svg"
57
- class="icon me-2"
58
- width="24"
59
- height="24"
60
- viewBox="0 0 24 24"
61
- stroke-width="2"
62
- stroke="currentColor"
63
- fill="none"
64
- stroke-linecap="round"
65
- stroke-linejoin="round"
66
- >
67
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
68
- <polyline points="5 12 3 12 12 3 21 12 19 12" />
69
- <path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
70
- <path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
71
- </svg>
72
- Home
73
- </a>
74
- </li>
75
- <li class="nav-item">
76
- <a href="#tabs-profile-ex2" class="nav-link" data-bs-toggle="tab">
77
- <svg
78
- xmlns="http://www.w3.org/2000/svg"
79
- class="icon me-2"
80
- width="24"
81
- height="24"
82
- viewBox="0 0 24 24"
83
- stroke-width="2"
84
- stroke="currentColor"
85
- fill="none"
86
- stroke-linecap="round"
87
- stroke-linejoin="round"
88
- >
89
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
90
- <circle cx="12" cy="7" r="4" />
91
- <path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
92
- </svg>
93
- Profile
94
- </a>
95
- </li>
96
- <li class="nav-item ms-auto">
97
- <a href="#tabs-settings-ex2" class="nav-link" title="Settings" data-bs-toggle="tab">
98
- <svg
99
- xmlns="http://www.w3.org/2000/svg"
100
- class="icon"
101
- width="24"
102
- height="24"
103
- viewBox="0 0 24 24"
104
- stroke-width="2"
105
- stroke="currentColor"
106
- fill="none"
107
- stroke-linecap="round"
108
- stroke-linejoin="round"
109
- >
110
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
111
- <path
112
- d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"
113
- />
114
- <circle cx="12" cy="12" r="3" />
115
- </svg>
116
- </a>
117
- </li>
118
- </ul>
119
- </div>
120
- <div class="card-body">
121
- <div class="tab-content">
122
- <div class="tab-pane active show" id="tabs-home-ex2">
123
- <h4>Home tab</h4>
124
- <div>
125
- Cursus turpis vestibulum, dui in pharetra vulputate id sed non turpis ultricies fringilla
126
- at sed facilisis lacus pellentesque purus nibh
127
- </div>
128
- </div>
129
- <div class="tab-pane" id="tabs-profile-ex2">
130
- <h4>Profile tab</h4>
131
- <div>
132
- Fringilla egestas nunc quis tellus diam rhoncus ultricies tristique enim at diam, sem nunc
133
- amet, pellentesque id egestas velit sed
134
- </div>
135
- </div>
136
- <div class="tab-pane" id="tabs-settings-ex2">
137
- <h4>Settings tab</h4>
138
- <div>
139
- Donec ac vitae diam amet vel leo egestas consequat rhoncus in luctus amet, facilisi sit
140
- mauris accumsan nibh habitant senectus
141
- </div>
142
- </div>
143
- </div>
144
- </div>
145
- </div>
146
- ```
147
-
148
- ## Tabs only with icons
149
-
150
- Use tabs without label names to save space and make the tab content easy to recognize for international users.
151
-
152
- ```html example centered columns={1} height="20rem"
153
- <div class="card">
154
- <div class="card-header">
155
- <ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
156
- <li class="nav-item">
157
- <a href="#tabs-home-ex3" class="nav-link active" data-bs-toggle="tab">
158
- <svg
159
- xmlns="http://www.w3.org/2000/svg"
160
- class="icon"
161
- width="24"
162
- height="24"
163
- viewBox="0 0 24 24"
164
- stroke-width="2"
165
- stroke="currentColor"
166
- fill="none"
167
- stroke-linecap="round"
168
- stroke-linejoin="round"
169
- >
170
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
171
- <polyline points="5 12 3 12 12 3 21 12 19 12" />
172
- <path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
173
- <path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
174
- </svg>
175
- </a>
176
- </li>
177
- <li class="nav-item">
178
- <a href="#tabs-profile-ex3" class="nav-link" data-bs-toggle="tab">
179
- <svg
180
- xmlns="http://www.w3.org/2000/svg"
181
- class="icon"
182
- width="24"
183
- height="24"
184
- viewBox="0 0 24 24"
185
- stroke-width="2"
186
- stroke="currentColor"
187
- fill="none"
188
- stroke-linecap="round"
189
- stroke-linejoin="round"
190
- >
191
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
192
- <circle cx="12" cy="7" r="4" />
193
- <path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
194
- </svg>
195
- </a>
196
- </li>
197
- <li class="nav-item ms-auto">
198
- <a href="#tabs-settings-ex3" class="nav-link" title="Settings" data-bs-toggle="tab">
199
- <svg
200
- xmlns="http://www.w3.org/2000/svg"
201
- class="icon"
202
- width="24"
203
- height="24"
204
- viewBox="0 0 24 24"
205
- stroke-width="2"
206
- stroke="currentColor"
207
- fill="none"
208
- stroke-linecap="round"
209
- stroke-linejoin="round"
210
- >
211
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
212
- <path
213
- d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z"
214
- />
215
- <circle cx="12" cy="12" r="3" />
216
- </svg>
217
- </a>
218
- </li>
219
- </ul>
220
- </div>
221
- <div class="card-body">
222
- <div class="tab-content">
223
- <div class="tab-pane active show" id="tabs-home-ex3">
224
- <h4>Home tab</h4>
225
- <div>
226
- Cursus turpis vestibulum, dui in pharetra vulputate id sed non turpis ultricies fringilla
227
- at sed facilisis lacus pellentesque purus nibh
228
- </div>
229
- </div>
230
- <div class="tab-pane" id="tabs-profile-ex3">
231
- <h4>Profile tab</h4>
232
- <div>
233
- Fringilla egestas nunc quis tellus diam rhoncus ultricies tristique enim at diam, sem nunc
234
- amet, pellentesque id egestas velit sed
235
- </div>
236
- </div>
237
- <div class="tab-pane" id="tabs-settings-ex3">
238
- <h4>Settings tab</h4>
239
- <div>
240
- Donec ac vitae diam amet vel leo egestas consequat rhoncus in luctus amet, facilisi sit
241
- mauris accumsan nibh habitant senectus
242
- </div>
243
- </div>
244
- </div>
245
- </div>
246
- </div>
247
- ```
248
-
249
- ## Tabs with dropdown
250
-
251
- Make one or more of your tabs into a dropdown to add more options within one element.
252
-
253
- ```html example centered columns={1} height="20rem"
254
- <div class="card">
255
- <div class="card-header">
256
- <ul class="nav nav-tabs card-header-tabs" data-bs-toggle="tabs">
257
- <li class="nav-item">
258
- <a href="#tabs-home-ex4" class="nav-link active" data-bs-toggle="tab">Home</a>
259
- </li>
260
- <li class="nav-item">
261
- <a href="#tabs-profile-ex4" class="nav-link" data-bs-toggle="tab">Profile</a>
262
- </li>
263
- <li class="nav-item dropdown">
264
- <a
265
- class="nav-link dropdown-toggle"
266
- data-bs-toggle="dropdown"
267
- role="button"
268
- aria-haspopup="true"
269
- aria-expanded="false"
270
- >Dropdown</a
271
- >
272
- <div class="dropdown-menu">
273
- <a class="dropdown-item" href="#"> Action </a>
274
- <a class="dropdown-item" href="#"> Another action </a>
275
- </div>
276
- </li>
277
- </ul>
278
- </div>
279
- <div class="card-body">
280
- <div class="tab-content">
281
- <div class="tab-pane active show" id="tabs-home-ex4">
282
- <h4>Home tab</h4>
283
- <div>
284
- Cursus turpis vestibulum, dui in pharetra vulputate id sed non turpis ultricies fringilla
285
- at sed facilisis lacus pellentesque purus nibh
286
- </div>
287
- </div>
288
- <div class="tab-pane" id="tabs-profile-ex4">
289
- <h4>Profile tab</h4>
290
- <div>
291
- Fringilla egestas nunc quis tellus diam rhoncus ultricies tristique enim at diam, sem nunc
292
- amet, pellentesque id egestas velit sed
293
- </div>
294
- </div>
295
- </div>
296
- </div>
297
- </div>
298
- ```
299
-
300
- ## Full-width tabs
301
-
302
- Add the `.nav-fill` class to make the tabs take up the full space of the parent element.
303
-
304
- ```html example centered columns={1} height="20rem"
305
- <div class="card">
306
- <div class="card-header">
307
- <ul class="nav nav-tabs card-header-tabs nav-fill" data-bs-toggle="tabs">
308
- <li class="nav-item">
309
- <a href="#tabs-home-ex5" class="nav-link active" data-bs-toggle="tab">
310
- <svg
311
- xmlns="http://www.w3.org/2000/svg"
312
- class="icon"
313
- width="24"
314
- height="24"
315
- viewBox="0 0 24 24"
316
- stroke-width="2"
317
- stroke="currentColor"
318
- fill="none"
319
- stroke-linecap="round"
320
- stroke-linejoin="round"
321
- >
322
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
323
- <polyline points="5 12 3 12 12 3 21 12 19 12" />
324
- <path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
325
- <path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
326
- </svg>
327
- </a>
328
- </li>
329
- <li class="nav-item">
330
- <a href="#tabs-profile-ex5" class="nav-link" data-bs-toggle="tab">
331
- <svg
332
- xmlns="http://www.w3.org/2000/svg"
333
- class="icon"
334
- width="24"
335
- height="24"
336
- viewBox="0 0 24 24"
337
- stroke-width="2"
338
- stroke="currentColor"
339
- fill="none"
340
- stroke-linecap="round"
341
- stroke-linejoin="round"
342
- >
343
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
344
- <circle cx="12" cy="7" r="4" />
345
- <path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
346
- </svg>
347
- </a>
348
- </li>
349
- <li class="nav-item">
350
- <a href="#tabs-activity-ex5" class="nav-link" data-bs-toggle="tab">
351
- <svg
352
- xmlns="http://www.w3.org/2000/svg"
353
- class="icon"
354
- width="24"
355
- height="24"
356
- viewBox="0 0 24 24"
357
- stroke-width="2"
358
- stroke="currentColor"
359
- fill="none"
360
- stroke-linecap="round"
361
- stroke-linejoin="round"
362
- >
363
- <path stroke="none" d="M0 0h24v24H0z" fill="none" />
364
- <path d="M3 12h4l3 8l4 -16l3 8h4" />
365
- </svg>
366
- </a>
367
- </li>
368
- </ul>
369
- </div>
370
- <div class="card-body">
371
- <div class="tab-content">
372
- <div class="tab-pane active show" id="tabs-home-ex5">
373
- <h4>Home tab</h4>
374
- <div>
375
- Cursus turpis vestibulum, dui in pharetra vulputate id sed non turpis ultricies fringilla
376
- at sed facilisis lacus pellentesque purus nibh
377
- </div>
378
- </div>
379
- <div class="tab-pane" id="tabs-profile-ex5">
380
- <h4>Profile tab</h4>
381
- <div>
382
- Fringilla egestas nunc quis tellus diam rhoncus ultricies tristique enim at diam, sem nunc
383
- amet, pellentesque id egestas velit sed
384
- </div>
385
- </div>
386
- <div class="tab-pane" id="tabs-activity-ex5">
387
- <h4>Activity tab</h4>
388
- <div>
389
- Donec ac vitae diam amet vel leo egestas consequat rhoncus in luctus amet, facilisi sit
390
- mauris accumsan nibh habitant senectus
391
- </div>
392
- </div>
393
- </div>
394
- </div>
395
- </div>
396
- ```