@tabler/core 1.1.0 → 1.1.1

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 (145) hide show
  1. package/docs/emails/index.mdx +14 -0
  2. package/docs/emails/introduction/compiled-html.mdx +29 -0
  3. package/docs/emails/introduction/contents.mdx +63 -0
  4. package/docs/emails/introduction/index.mdx +9 -0
  5. package/docs/emails/introduction/source-html.mdx +26 -0
  6. package/docs/icons/index.mdx +13 -0
  7. package/docs/icons/libraries/index.mdx +5 -0
  8. package/docs/icons/libraries/preact.mdx +42 -0
  9. package/docs/icons/libraries/react.mdx +42 -0
  10. package/docs/icons/libraries/solidjs.mdx +42 -0
  11. package/docs/icons/libraries/svelte.mdx +43 -0
  12. package/docs/icons/libraries/vue.mdx +50 -0
  13. package/docs/icons/libraries/webfont.mdx +60 -0
  14. package/docs/icons/plugins/figma.mdx +15 -0
  15. package/docs/icons/plugins/index.mdx +4 -0
  16. package/docs/icons/static-files/eps.mdx +15 -0
  17. package/docs/icons/static-files/index.mdx +5 -0
  18. package/docs/icons/static-files/pdf.mdx +15 -0
  19. package/docs/icons/static-files/png.mdx +31 -0
  20. package/docs/icons/static-files/svg.mdx +85 -0
  21. package/docs/illustrations/index.mdx +8 -0
  22. package/docs/illustrations/introduction/contents.mdx +77 -0
  23. package/docs/illustrations/introduction/customization.mdx +1198 -0
  24. package/docs/illustrations/introduction/index.mdx +5 -0
  25. package/docs/illustrations/introduction/license.mdx +90 -0
  26. package/docs/img/browsers/brave.svg +1 -0
  27. package/docs/img/browsers/chrome.svg +1 -0
  28. package/docs/img/browsers/edge.svg +1 -0
  29. package/docs/img/browsers/electron.svg +1 -0
  30. package/docs/img/browsers/firefox.svg +1 -0
  31. package/docs/img/browsers/internet-explorer.svg +1 -0
  32. package/docs/img/browsers/opera.svg +1 -0
  33. package/docs/img/browsers/safari.svg +1 -0
  34. package/docs/img/browsers/vivaldi.svg +1 -0
  35. package/docs/img/cover-illustrations-dark.png +0 -0
  36. package/docs/img/cover-illustrations.png +0 -0
  37. package/docs/img/cover-tabler-dark.png +0 -0
  38. package/docs/img/cover-tabler.png +0 -0
  39. package/docs/img/icons/figma-plugin.png +0 -0
  40. package/docs/img/icons/package-angular-dark.png +0 -0
  41. package/docs/img/icons/package-angular.png +0 -0
  42. package/docs/img/icons/package-eps-dark.png +0 -0
  43. package/docs/img/icons/package-eps.png +0 -0
  44. package/docs/img/icons/package-js-dark.png +0 -0
  45. package/docs/img/icons/package-js.png +0 -0
  46. package/docs/img/icons/package-pdf-dark.png +0 -0
  47. package/docs/img/icons/package-pdf.png +0 -0
  48. package/docs/img/icons/package-png-dark.png +0 -0
  49. package/docs/img/icons/package-png.png +0 -0
  50. package/docs/img/icons/package-preact-dark.png +0 -0
  51. package/docs/img/icons/package-preact.png +0 -0
  52. package/docs/img/icons/package-react-dark.png +0 -0
  53. package/docs/img/icons/package-react-native-dark.png +0 -0
  54. package/docs/img/icons/package-react-native.png +0 -0
  55. package/docs/img/icons/package-react.png +0 -0
  56. package/docs/img/icons/package-solidjs-dark.png +0 -0
  57. package/docs/img/icons/package-solidjs.png +0 -0
  58. package/docs/img/icons/package-sprite-dark.png +0 -0
  59. package/docs/img/icons/package-sprite.png +0 -0
  60. package/docs/img/icons/package-svelte-dark.png +0 -0
  61. package/docs/img/icons/package-svelte.png +0 -0
  62. package/docs/img/icons/package-svg-dark.png +0 -0
  63. package/docs/img/icons/package-svg.png +0 -0
  64. package/docs/img/icons/package-vue-dark.png +0 -0
  65. package/docs/img/icons/package-vue.png +0 -0
  66. package/docs/img/icons/package-webfont-dark.png +0 -0
  67. package/docs/img/icons/package-webfont.png +0 -0
  68. package/docs/index.mdx +16 -0
  69. package/docs/ui/base/colors.mdx +83 -0
  70. package/docs/ui/base/index.mdx +6 -0
  71. package/docs/ui/base/typography.mdx +311 -0
  72. package/docs/ui/components/alerts.mdx +406 -0
  73. package/docs/ui/components/autosize.mdx +25 -0
  74. package/docs/ui/components/avatars.mdx +227 -0
  75. package/docs/ui/components/badges.mdx +112 -0
  76. package/docs/ui/components/breadcrumb.mdx +199 -0
  77. package/docs/ui/components/buttons.mdx +1213 -0
  78. package/docs/ui/components/cards.mdx +417 -0
  79. package/docs/ui/components/carousel.mdx +459 -0
  80. package/docs/ui/components/charts.mdx +697 -0
  81. package/docs/ui/components/countup.mdx +165 -0
  82. package/docs/ui/components/datagrid.mdx +120 -0
  83. package/docs/ui/components/divider.mdx +68 -0
  84. package/docs/ui/components/dropdowns.mdx +302 -0
  85. package/docs/ui/components/dropzone.mdx +88 -0
  86. package/docs/ui/components/empty.mdx +149 -0
  87. package/docs/ui/components/icons.mdx +392 -0
  88. package/docs/ui/components/index.mdx +6 -0
  89. package/docs/ui/components/inline-player.mdx +58 -0
  90. package/docs/ui/components/modals.mdx +297 -0
  91. package/docs/ui/components/offcanvas.mdx +70 -0
  92. package/docs/ui/components/placeholder.mdx +273 -0
  93. package/docs/ui/components/popover.mdx +142 -0
  94. package/docs/ui/components/progress.mdx +241 -0
  95. package/docs/ui/components/range-slider.mdx +32 -0
  96. package/docs/ui/components/ribbons.mdx +207 -0
  97. package/docs/ui/components/segmented-control.mdx +401 -0
  98. package/docs/ui/components/spinners.mdx +135 -0
  99. package/docs/ui/components/statuses.mdx +322 -0
  100. package/docs/ui/components/steps.mdx +174 -0
  101. package/docs/ui/components/switch-icon.mdx +386 -0
  102. package/docs/ui/components/tables.mdx +397 -0
  103. package/docs/ui/components/tabs.mdx +396 -0
  104. package/docs/ui/components/timelines.mdx +697 -0
  105. package/docs/ui/components/tinymce.mdx +46 -0
  106. package/docs/ui/components/toasts.mdx +126 -0
  107. package/docs/ui/components/tooltips.mdx +65 -0
  108. package/docs/ui/components/tracking.mdx +548 -0
  109. package/docs/ui/components/vector-maps.mdx +166 -0
  110. package/docs/ui/forms/form-color-check.mdx +220 -0
  111. package/docs/ui/forms/form-elements.mdx +632 -0
  112. package/docs/ui/forms/form-fieldset.mdx +45 -0
  113. package/docs/ui/forms/form-helpers.mdx +91 -0
  114. package/docs/ui/forms/form-image-check.mdx +213 -0
  115. package/docs/ui/forms/form-input-mask.mdx +61 -0
  116. package/docs/ui/forms/form-selectboxes.mdx +398 -0
  117. package/docs/ui/forms/form-validation.mdx +62 -0
  118. package/docs/ui/forms/index.mdx +6 -0
  119. package/docs/ui/getting-started/browser-support.mdx +28 -0
  120. package/docs/ui/getting-started/customize.mdx +28 -0
  121. package/docs/ui/getting-started/download.mdx +44 -0
  122. package/docs/ui/getting-started/faq.mdx +30 -0
  123. package/docs/ui/getting-started/how-to-contribute.mdx +84 -0
  124. package/docs/ui/getting-started/index.mdx +16 -0
  125. package/docs/ui/getting-started/installation.mdx +67 -0
  126. package/docs/ui/getting-started/license.mdx +30 -0
  127. package/docs/ui/index.mdx +8 -0
  128. package/docs/ui/layout/index.mdx +6 -0
  129. package/docs/ui/layout/navbars.mdx +164 -0
  130. package/docs/ui/layout/navs-tabls.mdx +201 -0
  131. package/docs/ui/layout/page-headers.mdx +365 -0
  132. package/docs/ui/layout/page-layouts.mdx +213 -0
  133. package/docs/ui/plugins/flags.mdx +316 -0
  134. package/docs/ui/plugins/index.mdx +6 -0
  135. package/docs/ui/plugins/payments.mdx +152 -0
  136. package/docs/ui/plugins/social-icons.mdx +135 -0
  137. package/docs/ui/utilities/borders.mdx +260 -0
  138. package/docs/ui/utilities/cursors.mdx +63 -0
  139. package/docs/ui/utilities/index.mdx +5 -0
  140. package/docs/ui/utilities/interactions.mdx +26 -0
  141. package/docs/ui/utilities/margins.mdx +234 -0
  142. package/docs/ui/utilities/vertical-align.mdx +66 -0
  143. package/docs/ui/utilities/visually-hidden.mdx +12 -0
  144. package/package.json +6 -6
  145. package/LICENSE +0 -21
@@ -0,0 +1,365 @@
1
+ ---
2
+ title: Page headers
3
+ summary: Page heading examples for Tabler
4
+ description: Examples of Tabler page headers.
5
+ ---
6
+
7
+ ## Simple header
8
+
9
+ ```html example vcentered
10
+ <div class="page-header">
11
+ <div class="row align-items-center">
12
+ <div class="col">
13
+ <div class="page-pretitle">Overview</div>
14
+ <h2 class="page-title">Dashboard</h2>
15
+ </div>
16
+ <div class="col-auto ms-auto">
17
+ <div class="btn-list">
18
+ <span class="d-none d-sm-inline">
19
+ <a href="#" class="btn"> New view </a>
20
+ </span>
21
+ <a
22
+ href="#"
23
+ class="btn btn-primary d-none d-sm-inline-block"
24
+ data-bs-toggle="modal"
25
+ data-bs-target="#modal-report"
26
+ >
27
+ <svg
28
+ xmlns="http://www.w3.org/2000/svg"
29
+ class="icon"
30
+ width="24"
31
+ height="24"
32
+ viewBox="0 0 24 24"
33
+ stroke-width="2"
34
+ stroke="currentColor"
35
+ fill="none"
36
+ stroke-linecap="round"
37
+ stroke-linejoin="round"
38
+ >
39
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
40
+ <line x1="12" y1="5" x2="12" y2="19" />
41
+ <line x1="5" y1="12" x2="19" y2="12" />
42
+ </svg>
43
+ Create new report
44
+ </a>
45
+ <a
46
+ href="#"
47
+ class="btn btn-primary d-sm-none btn-icon"
48
+ data-bs-toggle="modal"
49
+ data-bs-target="#modal-report"
50
+ aria-label="Create new report"
51
+ >
52
+ <svg
53
+ xmlns="http://www.w3.org/2000/svg"
54
+ class="icon"
55
+ width="24"
56
+ height="24"
57
+ viewBox="0 0 24 24"
58
+ stroke-width="2"
59
+ stroke="currentColor"
60
+ fill="none"
61
+ stroke-linecap="round"
62
+ stroke-linejoin="round"
63
+ >
64
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
65
+ <line x1="12" y1="5" x2="12" y2="19" />
66
+ <line x1="5" y1="12" x2="19" y2="12" />
67
+ </svg>
68
+ </a>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ ```
74
+
75
+ ## With meta, avatar and actions
76
+
77
+ ```html example vcentered
78
+ <div class="page-header">
79
+ <div class="row align-items-center">
80
+ <div class="col-auto">
81
+ <span
82
+ class="avatar avatar-md"
83
+ style="background-image: url(/samples/avatars/023m.jpg)"
84
+ ></span>
85
+ </div>
86
+ <div class="col">
87
+ <h2 class="page-title">Paweł Kuna</h2>
88
+ <div class="page-subtitle">
89
+ <div class="row">
90
+ <div class="col-auto">
91
+ <svg
92
+ xmlns="http://www.w3.org/2000/svg"
93
+ class="icon"
94
+ width="24"
95
+ height="24"
96
+ viewBox="0 0 24 24"
97
+ stroke-width="2"
98
+ stroke="currentColor"
99
+ fill="none"
100
+ stroke-linecap="round"
101
+ stroke-linejoin="round"
102
+ >
103
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
104
+ <line x1="3" y1="21" x2="21" y2="21" />
105
+ <path d="M5 21v-14l8 -4v18" />
106
+ <path d="M19 21v-10l-6 -4" />
107
+ <line x1="9" y1="9" x2="9" y2="9.01" />
108
+ <line x1="9" y1="12" x2="9" y2="12.01" />
109
+ <line x1="9" y1="15" x2="9" y2="15.01" />
110
+ <line x1="9" y1="18" x2="9" y2="18.01" />
111
+ </svg>
112
+ <a href="#" class="text-reset">UI Designer at Tabler</a>
113
+ </div>
114
+ <div class="col-auto">
115
+ <svg
116
+ xmlns="http://www.w3.org/2000/svg"
117
+ class="icon"
118
+ width="24"
119
+ height="24"
120
+ viewBox="0 0 24 24"
121
+ stroke-width="2"
122
+ stroke="currentColor"
123
+ fill="none"
124
+ stroke-linecap="round"
125
+ stroke-linejoin="round"
126
+ >
127
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
128
+ <circle cx="9" cy="7" r="4" />
129
+ <path d="M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
130
+ <path d="M16 3.13a4 4 0 0 1 0 7.75" />
131
+ <path d="M21 21v-2a4 4 0 0 0 -3 -3.85" />
132
+ </svg>
133
+ <a href="#" class="text-reset">194 friends</a>
134
+ </div>
135
+ <div class="col-auto text-success">
136
+ <svg
137
+ xmlns="http://www.w3.org/2000/svg"
138
+ class="icon icon-tabler icon-tabler-check"
139
+ width="24"
140
+ height="24"
141
+ viewBox="0 0 24 24"
142
+ stroke-width="2"
143
+ stroke="currentColor"
144
+ fill="none"
145
+ stroke-linecap="round"
146
+ stroke-linejoin="round"
147
+ >
148
+ <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
149
+ <path d="M5 12l5 5l10 -10"></path>
150
+ </svg>
151
+ Verified
152
+ </div>
153
+ </div>
154
+ </div>
155
+ </div>
156
+ <div class="col-auto d-none d-md-flex">
157
+ <a href="#" class="btn btn-primary">
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
+ <path d="M4 21v-13a3 3 0 0 1 3 -3h10a3 3 0 0 1 3 3v6a3 3 0 0 1 -3 3h-9l-4 4" />
172
+ <line x1="8" y1="9" x2="16" y2="9" />
173
+ <line x1="8" y1="13" x2="14" y2="13" />
174
+ </svg>
175
+ Send message
176
+ </a>
177
+ </div>
178
+ </div>
179
+ </div>
180
+ ```
181
+
182
+ ## With meta, search and actions
183
+
184
+ ```html example vcentered
185
+ <div class="page-header">
186
+ <div class="row align-items-center">
187
+ <div class="col">
188
+ <h2 class="page-title">Gallery</h2>
189
+ <div class="text-secondary mt-1">1-12 of 241 photos</div>
190
+ </div>
191
+ <div class="col-auto ms-auto d-print-none">
192
+ <div class="d-flex">
193
+ <div class="me-3 d-none d-md-block">
194
+ <div class="input-icon">
195
+ <input type="text" class="form-control" placeholder="Search…" />
196
+ <span class="input-icon-addon">
197
+ <svg
198
+ xmlns="http://www.w3.org/2000/svg"
199
+ class="icon icon-tabler icon-tabler-search"
200
+ width="24"
201
+ height="24"
202
+ viewBox="0 0 24 24"
203
+ stroke-width="2"
204
+ stroke="currentColor"
205
+ fill="none"
206
+ stroke-linecap="round"
207
+ stroke-linejoin="round"
208
+ >
209
+ <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
210
+ <path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0"></path>
211
+ <path d="M21 21l-6 -6"></path>
212
+ </svg>
213
+ </span>
214
+ </div>
215
+ </div>
216
+ <a href="#" class="btn btn-primary">
217
+ <svg
218
+ xmlns="http://www.w3.org/2000/svg"
219
+ class="icon icon-tabler icon-tabler-plus"
220
+ width="24"
221
+ height="24"
222
+ viewBox="0 0 24 24"
223
+ stroke-width="2"
224
+ stroke="currentColor"
225
+ fill="none"
226
+ stroke-linecap="round"
227
+ stroke-linejoin="round"
228
+ >
229
+ <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
230
+ <path d="M12 5l0 14"></path>
231
+ <path d="M5 12l14 0"></path>
232
+ </svg>
233
+ Add photo
234
+ </a>
235
+ </div>
236
+ </div>
237
+ </div>
238
+ </div>
239
+ ```
240
+
241
+ ## Bordered header
242
+
243
+ A page header with a border to separate content is an effective way to organize and present information in a clear and visually appealing way.
244
+
245
+ ```html example fullpage
246
+ <div class="page-header page-header-border">
247
+ <div class="container-fluid">
248
+ <div class="row align-items-center">
249
+ <div class="col">
250
+ <h2 class="page-title">Improve cards with no border</h2>
251
+ <div class="text-secondary mt-1">
252
+ <a href="#" class="text-reset">#693</a>
253
+ opened by <a href="#" class="text-body">Jeffie Lewzey</a> in
254
+ <a href="#" class="text-body">Calendar Page</a>
255
+ </div>
256
+ </div>
257
+ <div class="col-auto">
258
+ <div class="btn-list">
259
+ <a href="#" class="btn">
260
+ <svg
261
+ xmlns="http://www.w3.org/2000/svg"
262
+ class="icon"
263
+ width="24"
264
+ height="24"
265
+ viewBox="0 0 24 24"
266
+ stroke-width="2"
267
+ stroke="currentColor"
268
+ fill="none"
269
+ stroke-linecap="round"
270
+ stroke-linejoin="round"
271
+ >
272
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
273
+ <path d="M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1" />
274
+ <path d="M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z" />
275
+ <path d="M16 5l3 3" />
276
+ </svg>
277
+ Edit
278
+ </a>
279
+ <a href="#" class="btn d-none d-md-inline-flex">
280
+ <svg
281
+ xmlns="http://www.w3.org/2000/svg"
282
+ class="icon"
283
+ width="24"
284
+ height="24"
285
+ viewBox="0 0 24 24"
286
+ stroke-width="2"
287
+ stroke="currentColor"
288
+ fill="none"
289
+ stroke-linecap="round"
290
+ stroke-linejoin="round"
291
+ >
292
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
293
+ <path
294
+ d="M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6"
295
+ />
296
+ <path d="M9 17v1a3 3 0 0 0 6 0v-1" />
297
+ </svg>
298
+ Subscribe
299
+ </a>
300
+ </div>
301
+ </div>
302
+ </div>
303
+ </div>
304
+ </div>
305
+ ```
306
+
307
+ ## Header with breadcrumb and actions
308
+
309
+ A page header with breadcrumb and actions is a common design element found in many websites and applications. The header typically appears at the top of the page and includes a breadcrumb trail, which shows the user the path they have taken to reach the current page. The breadcrumb can be clickable, allowing the user to navigate back to previous pages.
310
+
311
+ 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.
312
+
313
+ ```html example vcentered
314
+ <div class="page-header">
315
+ <div class="row align-items-center mw-100">
316
+ <div class="col">
317
+ <div class="mb-1">
318
+ <ol class="breadcrumb" aria-label="breadcrumbs">
319
+ <li class="breadcrumb-item">
320
+ <a href="#">Home</a>
321
+ </li>
322
+ <li class="breadcrumb-item">
323
+ <a href="#">Library</a>
324
+ </li>
325
+ <li class="breadcrumb-item active" aria-current="page">
326
+ <a href="#">Articles</a>
327
+ </li>
328
+ </ol>
329
+ </div>
330
+ <h2 class="page-title">
331
+ <span class="text-truncate"
332
+ >Knights of Ni, we are but simple travelers who seek the enchanter who lives beyond these
333
+ woods.</span
334
+ >
335
+ </h2>
336
+ </div>
337
+ <div class="col-auto">
338
+ <div class="btn-list">
339
+ <a href="#" class="btn d-none d-md-inline-flex">
340
+ <svg
341
+ xmlns="http://www.w3.org/2000/svg"
342
+ class="icon"
343
+ width="24"
344
+ height="24"
345
+ viewBox="0 0 24 24"
346
+ stroke-width="2"
347
+ stroke="currentColor"
348
+ fill="none"
349
+ stroke-linecap="round"
350
+ stroke-linejoin="round"
351
+ >
352
+ <path stroke="none" d="M0 0h24v24H0z" fill="none" />
353
+ <path d="M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1" />
354
+ <path d="M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z" />
355
+ <path d="M16 5l3 3" />
356
+ </svg>
357
+ Edit
358
+ </a>
359
+ <a href="#" class="btn btn-primary"> Publish </a>
360
+ </div>
361
+ </div>
362
+ </div>
363
+ </div>
364
+ ```
365
+
@@ -0,0 +1,213 @@
1
+ ---
2
+ title: Page layouts
3
+ summary: Learn how to build a sample version of the dashboard
4
+ description: Learn to design dashboard layouts.
5
+ ---
6
+
7
+ <Callout>
8
+ Before you start with this section, make sure you have followed the [installation guideline](/docs/ui/getting-started/installation).
9
+ </Callout>
10
+
11
+ ## Sample layout
12
+
13
+ To create a sample version of the dashboard, you can use the following code snippet. This code snippet will help you to create a dashboard layout with a header.
14
+
15
+ ```html example fullpage resizable height="30rem"
16
+ <div class="page">
17
+ <header class="navbar navbar-expand-sm navbar-light d-print-none">
18
+ <div class="container-xl">
19
+ <h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
20
+ <a href="#">
21
+ <img
22
+ src="https://preview.tabler.io/static/logo.svg"
23
+ width="110"
24
+ height="32"
25
+ alt="Tabler"
26
+ class="navbar-brand-image"
27
+ />
28
+ </a>
29
+ </h1>
30
+ <div class="navbar-nav flex-row order-md-last">
31
+ <div class="nav-item">
32
+ <a href="#" class="nav-link d-flex lh-1 text-reset p-0">
33
+ <span
34
+ class="avatar avatar-sm"
35
+ style="background-image: url(/samples/avatars/002m.jpg)"
36
+ ></span>
37
+ <div class="d-none d-xl-block ps-2">
38
+ <div>Paweł Kuna</div>
39
+ <div class="mt-1 small text-secondary">UI Designer</div>
40
+ </div>
41
+ </a>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ </header>
46
+ <div class="page-wrapper">
47
+ <div class="page-body">
48
+ <div class="container-xl">
49
+ <div class="row row-deck row-cards">
50
+ <div class="col-4">
51
+ <div class="card">
52
+ <div class="card-body" style="height: 10rem"></div>
53
+ </div>
54
+ </div>
55
+ <div class="col-4">
56
+ <div class="card">
57
+ <div class="card-body" style="height: 10rem"></div>
58
+ </div>
59
+ </div>
60
+ <div class="col-4">
61
+ <div class="card">
62
+ <div class="card-body" style="height: 10rem"></div>
63
+ </div>
64
+ </div>
65
+ <div class="col-12">
66
+ <div class="card">
67
+ <div class="card-body" style="height: 10rem"></div>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </div>
74
+ </div>
75
+ ```
76
+
77
+ ## Sidebar layout
78
+
79
+ To create a sidebar layout, you can use the following code snippet. This code snippet will help you to create a sidebar layout with a header.
80
+
81
+ ```html example fullpage resizable height="30rem"
82
+ <div class="page">
83
+ <!-- Sidebar -->
84
+ <aside class="navbar navbar-vertical navbar-expand-sm" data-bs-theme="dark">
85
+ <div class="container-fluid">
86
+ <button class="navbar-toggler" type="button">
87
+ <span class="navbar-toggler-icon"></span>
88
+ </button>
89
+ <h1 class="navbar-brand navbar-brand-autodark">
90
+ <a href="#">
91
+ <img
92
+ src="https://preview.tabler.io/static/logo-white.svg"
93
+ width="110"
94
+ height="32"
95
+ alt="Tabler"
96
+ class="navbar-brand-image"
97
+ />
98
+ </a>
99
+ </h1>
100
+ <div class="collapse navbar-collapse" id="sidebar-menu">
101
+ <ul class="navbar-nav pt-lg-3">
102
+ <li class="nav-item">
103
+ <a class="nav-link" href="./">
104
+ <span class="nav-link-title"> Home </span>
105
+ </a>
106
+ </li>
107
+ <li class="nav-item">
108
+ <a class="nav-link" href="#">
109
+ <span class="nav-link-title"> Link 1 </span>
110
+ </a>
111
+ </li>
112
+ <li class="nav-item">
113
+ <a class="nav-link" href="#">
114
+ <span class="nav-link-title"> Link 2 </span>
115
+ </a>
116
+ </li>
117
+ <li class="nav-item">
118
+ <a class="nav-link" href="#">
119
+ <span class="nav-link-title"> Link 3 </span>
120
+ </a>
121
+ </li>
122
+ </ul>
123
+ </div>
124
+ </div>
125
+ </aside>
126
+ <div class="page-wrapper">
127
+ <div class="page-header d-print-none">
128
+ <div class="container-xl">
129
+ <div class="row g-2 align-items-center">
130
+ <div class="col">
131
+ <h2 class="page-title">Vertical layout</h2>
132
+ </div>
133
+ </div>
134
+ </div>
135
+ </div>
136
+ <div class="page-body">
137
+ <div class="container-xl">
138
+ <div class="row row-deck row-cards">
139
+ <div class="col-sm-6 col-lg-3">
140
+ <div class="card">
141
+ <div class="card-body" style="height: 10rem"></div>
142
+ </div>
143
+ </div>
144
+ <div class="col-sm-6 col-lg-3">
145
+ <div class="card">
146
+ <div class="card-body" style="height: 10rem"></div>
147
+ </div>
148
+ </div>
149
+ <div class="col-sm-6 col-lg-3">
150
+ <div class="card">
151
+ <div class="card-body" style="height: 10rem"></div>
152
+ </div>
153
+ </div>
154
+ <div class="col-sm-6 col-lg-3">
155
+ <div class="card">
156
+ <div class="card-body" style="height: 10rem"></div>
157
+ </div>
158
+ </div>
159
+ <div class="col-lg-6">
160
+ <div class="row row-cards">
161
+ <div class="col-12">
162
+ <div class="card">
163
+ <div class="card-body" style="height: 10rem"></div>
164
+ </div>
165
+ </div>
166
+ <div class="col-12">
167
+ <div class="card">
168
+ <div class="card-body" style="height: 10rem"></div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ <div class="col-lg-6">
174
+ <div class="card">
175
+ <div class="card-body" style="height: 10rem"></div>
176
+ </div>
177
+ </div>
178
+ <div class="col-12">
179
+ <div class="card">
180
+ <div class="card-body" style="height: 10rem"></div>
181
+ </div>
182
+ </div>
183
+ <div class="col-md-12 col-lg-8">
184
+ <div class="card">
185
+ <div class="card-body" style="height: 10rem"></div>
186
+ </div>
187
+ </div>
188
+ <div class="col-md-6 col-lg-4">
189
+ <div class="card">
190
+ <div class="card-body" style="height: 10rem"></div>
191
+ </div>
192
+ </div>
193
+ <div class="col-md-6 col-lg-4">
194
+ <div class="card">
195
+ <div class="card-body" style="height: 10rem"></div>
196
+ </div>
197
+ </div>
198
+ <div class="col-md-12 col-lg-8">
199
+ <div class="card">
200
+ <div class="card-body" style="height: 10rem"></div>
201
+ </div>
202
+ </div>
203
+ <div class="col-12">
204
+ <div class="card">
205
+ <div class="card-body" style="height: 10rem"></div>
206
+ </div>
207
+ </div>
208
+ </div>
209
+ </div>
210
+ </div>
211
+ </div>
212
+ </div>
213
+ ```