-
Notifications
You must be signed in to change notification settings - Fork 0
/
offcanvas.html
577 lines (527 loc) · 32.4 KB
/
offcanvas.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
<!DOCTYPE html>
<html lang="en" data-bs-theme="light">
<head>
<meta charset="utf-8">
<title>Silicon UI Kit | Offcanvas</title>
<!-- SEO Meta Tags -->
<meta name="description" content="Silicon - Multipurpose Technology Bootstrap Template">
<meta name="keywords" content="bootstrap, business, creative agency, mobile app showcase, saas, fintech, finance, online courses, software, medical, conference landing, services, e-commerce, shopping cart, multipurpose, shop, ui kit, marketing, seo, landing, blog, portfolio, html5, css3, javascript, gallery, slider, touch, creative">
<meta name="author" content="Createx Studio">
<!-- Viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Theme switcher (color modes) -->
<script src="../assets/js/theme-switcher.js"></script>
<!-- Favicon and Touch Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="../assets/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../assets/favicon/favicon-16x16.png">
<link rel="manifest" href="../assets/favicon/site.webmanifest">
<link rel="mask-icon" href="../assets/favicon/safari-pinned-tab.svg" color="#6366f1">
<link rel="shortcut icon" href="../assets/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#080032">
<meta name="msapplication-config" content="../assets/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- Vendor Styles -->
<link rel="stylesheet" media="screen" href="../assets/vendor/boxicons/css/boxicons.min.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/swiper/swiper-bundle.min.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/prismjs/themes/prism.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/prismjs/plugins/toolbar/prism-toolbar.css">
<link rel="stylesheet" media="screen" href="../assets/vendor/prismjs/plugins/line-numbers/prism-line-numbers.css">
<!-- Main Theme Styles + Bootstrap -->
<link rel="stylesheet" media="screen" href="../assets/css/theme.min.css">
</head>
<!-- Body -->
<body data-bs-spy="scroll" data-bs-target="#jumpToNav" tabindex="0">
<!-- Navbar -->
<header class="header navbar navbar-expand bg-light border-bottom border-light shadow fixed-top" data-scroll-header>
<div class="container-fluid pe-lg-4">
<div class="d-flex align-items-center">
<a href="typography.html" class="navbar-brand flex-shrink-0 py-1 py-lg-2">
<img src="../assets/img/logo.svg" width="47" alt="Silicon">
Silicon
</a>
<span class="badge bg-warning">UI Kit</span>
</div>
<div class="d-flex align-items-center w-100">
<ul class="navbar-nav d-none d-lg-flex" style="padding-left: 11.75rem;">
<li class="nav-item">
<a href="../index.html" class="nav-link">
<i class="bx bx-desktop opacity-70 fs-lg me-1"></i>
Live preview
</a>
</li>
<li class="nav-item">
<a href="../docs/getting-started.html" class="nav-link">
<i class="bx bx-file opacity-70 fs-lg me-1"></i>
Documentation
</a>
</li>
</ul>
<button type="button" class="navbar-toggler d-block d-lg-none ms-auto me-4" data-bs-toggle="offcanvas" data-bs-target="#componentsNav" aria-controls="componentsNav" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="form-check form-switch mode-switch pe-lg-1 ms-lg-auto" data-bs-toggle="mode">
<input type="checkbox" class="form-check-input" id="theme-mode">
<label class="form-check-label d-none d-sm-block d-lg-none d-xl-block" for="theme-mode">Light</label>
<label class="form-check-label d-none d-sm-block d-lg-none d-xl-block" for="theme-mode">Dark</label>
</div>
<a href="https://themes.getbootstrap.com/product/silicon-business-technology-template-ui-kit/" class="btn btn-primary btn-sm fs-sm rounded ms-4 d-none d-lg-inline-flex" target="_blank" rel="noopener">
<i class="bx bx-cart fs-5 lh-1 me-1"></i>
Buy now
</a>
</div>
</div>
</header>
<!-- Main sidebar navigation -->
<aside data-bs-theme="dark">
<div id="componentsNav" class="offcanvas-lg offcanvas-start d-flex flex-column position-fixed top-0 start-0 vh-100 bg-dark border-end-lg" style="width: 21rem; z-index: 1045;">
<div class="offcanvas-header d-none d-lg-flex justify-content-start">
<a href="typography.html" class="navbar-brand text-dark d-none d-lg-flex py-0">
<img src="../assets/img/logo.svg" width="47" alt="Silicon">
Silicon
</a>
<span class="badge bg-warning d-none d-lg-inline-block">UI Kit</span>
</div>
<div class="offcanvas-header d-block d-lg-none border-bottom">
<div class="d-flex align-items-center justify-content-between mb-3">
<h5 class="d-lg-none mb-0">Menu</h5>
<button type="button" class="btn-close d-lg-none" data-bs-dismiss="offcanvas" data-bs-target="#componentsNav" aria-label="Close"></button>
</div>
<div class="list-group list-group-flush mx-n4">
<a href="../index.html" class="list-group-item list-group-item-action d-flex align-items-center border-0 py-2 px-4">
<i class="bx bx-desktop fs-lg opacity-80 me-2"></i>
Preview
</a>
<a href="../docs/getting-started.html" class="list-group-item list-group-item-action d-flex align-items-center border-0 py-2 px-4">
<i class="bx bx-file fs-lg opacity-80 me-2"></i>
Documentation
</a>
</div>
</div>
<div class="offcanvas-body swiper scrollbar-hover overflow-hidden w-100 p-4" data-swiper-options='{
"direction": "vertical",
"slidesPerView": "auto",
"freeMode": true,
"scrollbar": {
"el": ".swiper-scrollbar"
},
"mousewheel": true
}'>
<div class="swiper-wrapper">
<div class="swiper-slide h-auto">
<h3 class="fs-lg">Content</h3>
<div class="list-group list-group-flush border-bottom pb-3 mb-4 mx-n4">
<a href="typography.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Typography</a>
<a href="https://boxicons.com/" class="list-group-item list-group-item-action border-0 py-2 px-4" target="_blank" rel="noopener">Icon font</a>
<a href="code.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Code</a>
<a href="images.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Images & figures</a>
<a href="tables.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Tables</a>
</div>
<h3 class="fs-lg">Components</h3>
<div class="list-group list-group-flush border-bottom pb-3 mb-4 mx-n4">
<a href="accordion.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Accordion</a>
<a href="alerts.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Alerts</a>
<a href="audio-player.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Audio player</a>
<a href="badges.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Badges</a>
<a href="blog-components.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Blog components</a>
<a href="breadcrumb.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Breadcrumb</a>
<a href="buttons.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Buttons</a>
<a href="button-group.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Button group</a>
<a href="cards.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Cards</a>
<a href="carousel.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Carousel (Slider)</a>
<a href="collapse.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Collapse</a>
<a href="dropdowns.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Dropdowns</a>
<a href="forms.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Forms</a>
<a href="gallery.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Gallery (Lightbox)</a>
<a href="image-comparison-slider.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Image comparison slider</a>
<a href="input-group.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Input group</a>
<a href="list-group.html" class="list-group-item list-group-item-action border-0 py-2 px-4">List group</a>
<a href="modal.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Modal</a>
<a href="navbar.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Navbar</a>
<a href="offcanvas.html" class="list-group-item list-group-item-action border-0 py-2 px-4 active">Offcanvas</a>
<a href="pagination.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Pagination</a>
<a href="parallax.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Parallax</a>
<a href="pills.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Pills</a>
<a href="placeholders.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Placeholders</a>
<a href="popovers.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Popovers</a>
<a href="portfolio-components.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Portfolio components</a>
<a href="pricing.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Pricing</a>
<a href="progress-bars.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Progress bars</a>
<a href="social-buttons.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Social buttons</a>
<a href="spinners.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Spinners</a>
<a href="steps.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Steps</a>
<a href="tabs.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Tabs</a>
<a href="team.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Team</a>
<a href="testimonials.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Testimonials / reviews</a>
<a href="toasts.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Toasts</a>
<a href="tooltips.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Tooltips</a>
<a href="video-popup.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Video popup</a>
</div>
<h3 class="fs-lg">Utilities</h3>
<div class="list-group list-group-flush mx-n4 pb-2">
<a href="https://getbootstrap.com/docs/5.3/utilities/background/" class="list-group-item list-group-item-action border-0 py-2 px-4" target="_blank" rel="noopener">Bootstrap</a>
<a href="utilities.html" class="list-group-item list-group-item-action border-0 py-2 px-4">Silicon</a>
</div>
</div>
</div>
<div class="swiper-scrollbar end-0"></div>
</div>
<div class="offcanvas-header border-top">
<a href="https://themes.getbootstrap.com/product/silicon-business-technology-template-ui-kit/" class="btn btn-primary w-100" target="_blank" rel="noopener">
<i class="bx bx-cart fs-4 lh-1 me-1"></i>
Buy now
</a>
</div>
</div>
</aside>
<!-- Page container -->
<main class="docs-container pt-5">
<div class="container-fluid px-xxl-5 px-lg-4 pt-4 pt-lg-5 pb-2 pb-lg-4">
<!-- Page title -->
<div class="d-sm-flex align-items-end justify-content-between ps-lg-2 ps-xxl-0 mt-2 mt-lg-0 pt-4 mb-n3">
<div class="me-4">
<h1 class="pb-1">Offcanvas</h1>
<p class="text-muted fs-lg mb-2">Build hidden sidebars into your project for navigation, shopping carts, widgets etc.</p>
</div>
<a href="https://getbootstrap.com/docs/5.3/components/offcanvas/" class="btn btn-link px-0" target="_blank" rel="noopener">
Bootstrap docs
<i class="bx bx-link-external fs-lg ms-2"></i>
</a>
</div>
<!-- Left offcanvas example-->
<div class="offcanvas offcanvas-start" id="offcanvasLeft" tabindex="-1">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title">Left offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body" data-simplebar>
<p>Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here.</p>
</div>
</div>
<!-- Right offcanvas example-->
<div class="offcanvas offcanvas-end" id="offcanvasRight" tabindex="-1">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title">Right offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body" data-simplebar>
<p>Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here.</p>
</div>
</div>
<!-- Top offcanvas example-->
<div class="offcanvas offcanvas-top" id="offcanvasTop" tabindex="-1">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title">Top offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body" data-simplebar>
<p>Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here.</p>
</div>
</div>
<!-- Bottom offcanvas example-->
<div class="offcanvas offcanvas-bottom" id="offcanvasBottom" tabindex="-1">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title">Bottom offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body" data-simplebar>
<p>Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here.</p>
</div>
</div>
<!-- Offcanvas components -->
<section id="offcanvas-components" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Offcanvas components</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview1" data-bs-toggle="tab" role="tab" aria-controls="preview1" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html1" data-bs-toggle="tab" role="tab" aria-controls="html1" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview1" role="tabpanel">
<div class="offcanvas offcanvas-start border border-light shadow-sm mt-2" data-offcanvas-show="true" id="offcanvas" tabindex="-1" style="position: static; transform: none; visibility: visible;">
<div class="offcanvas-header border-bottom">
<h3 class="offcanvas-title fs-lg">Menu</h3>
<button class="btn-close" type="button" aria-label="Close"></button>
</div>
<div class="offcanvas-body py-3 px-2">
<ul class="nav flex-column">
<li class="nav-item"><a class="nav-link active" href="#">Home</a></li>
<li class="nav-item"><a class="nav-link" href="#">Services</a></li>
<li class="nav-item"><a class="nav-link" href="#">Our Works</a></li>
<li class="nav-item"><a class="nav-link" href="#">About</a></li>
<li class="nav-item"><a class="nav-link" href="#">Our Team</a></li>
<li class="nav-item"><a class="nav-link" href="#">Contacts</a></li>
</ul>
</div>
<div class="offcanvas-header d-flex border-top">
<button class="btn btn-outline-primary btn-sm w-100 me-2" type="button">
<i class="bx bx-log-in fs-base me-2"></i>
Sign In
</button>
<button class="btn btn-primary btn-sm w-100" type="button">
<i class="bx bx-user fs-base me-2"></i>
Sign Up
</button>
</div>
</div>
</div>
<div class="tab-pane fade" id="html1" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Offcanvas -->
<div class="offcanvas offcanvas-start" id="offcanvas" tabindex="-1">
<!-- Header -->
<div class="offcanvas-header border-bottom">
<h3 class="offcanvas-title fs-lg">Menu</h3>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<!-- Body -->
<div class="offcanvas-body py-3 px-2">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link active" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Our Works</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Our Team</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contacts</a>
</li>
</ul>
</div>
<!-- Footer -->
<div class="offcanvas-header d-flex border-top">
<button class="btn btn-outline-primary btn-sm w-100 me-2" type="button">
<i class="bx bx-log-in fs-base me-2"></i>
Sign In
</button>
<button class="btn btn-primary btn-sm w-100" type="button">
<i class="bx bx-user fs-base me-2"></i>
Sign Up
</button>
</div>
</div></code></pre>
</div>
</div>
</section>
<!-- Placement -->
<section id="offcanvas-placement" class="border-bottom py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Placement</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview2" data-bs-toggle="tab" role="tab" aria-controls="preview2" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html2" data-bs-toggle="tab" role="tab" aria-controls="html2" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview2" role="tabpanel">
<button class="btn btn-outline-secondary me-2 my-1" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasLeft">Toggle left offcanvas</button>
<button class="btn btn-outline-secondary me-2 my-1" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasRight">Toggle right offcanvas</button>
<button class="btn btn-outline-secondary me-2 my-1" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasTop">Toggle top offcanvas</button>
<button class="btn btn-outline-secondary my-1" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasBottom">Toggle bottom offcanvas</button>
</div>
<div class="tab-pane fade" id="html2" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Offcanvas position: Left -->
<!-- Toogle button -->
<button class="btn btn-outline-secondary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasLeft">Toggle left offcanvas</button>
<!-- Offcanvas -->
<div class="offcanvas offcanvas-start" id="offcanvasLeft" tabindex="-1">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title">Left offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<p>Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here.</p>
</div>
</div>
<!-- Offcanvas position: Right -->
<!-- Toogle button -->
<button class="btn btn-outline-secondary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasRight">Toggle right offcanvas</button>
<!-- Offcanvas -->
<div class="offcanvas offcanvas-end" id="offcanvasRight" tabindex="-1">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title">Right offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<p>Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here.</p>
</div>
</div>
<!-- Offcanvas position: Top -->
<!-- Toogle button -->
<button class="btn btn-outline-secondary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasTop">Toggle top offcanvas</button>
<!-- Offcanvas -->
<div class="offcanvas offcanvas-top" id="offcanvasTop" tabindex="-1">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title">Top offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<p>Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here.</p>
</div>
</div>
<!-- Offcanvas position: Bottom -->
<!-- Toogle button -->
<button class="btn btn-outline-secondary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasBottom">Toggle bottom offcanvas</button>
<!-- Offcanvas -->
<div class="offcanvas offcanvas-bottom" id="offcanvasBottom" tabindex="-1">
<div class="offcanvas-header border-bottom">
<h5 class="offcanvas-title">Bottom offcanvas</h5>
<button class="btn-close" type="button" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<p>Content for the offcanvas goes here. You can place just about any Bootstrap component or custom elements here.</p>
</div>
</div></code></pre>
</div>
</div>
</section>
<!-- Mobile menu offcanvas (responsive) -->
<section id="offcanvas-mobile" class="py-5 ps-lg-2 ps-xxl-0">
<h2 class="h4">Mobile menu offcanvas (responsive)</h2>
<div class="d-table">
<ul class="nav nav-tabs-alt" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#preview3" data-bs-toggle="tab" role="tab" aria-controls="preview3" aria-selected="true">
<i class="bx bx-show-alt fs-base opacity-70 me-2"></i>
Preview
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#html3" data-bs-toggle="tab" role="tab" aria-controls="html3" aria-selected="false">
<i class="bx bx-code-alt fs-base opacity-70 me-2"></i>
HTML
</a>
</li>
</ul>
</div>
<div class="tab-content pt-1">
<div class="tab-pane fade show active" id="preview3" role="tabpanel">
<iframe class="w-100 shadow mt-2" src="navbar-offcanvas.html" height="500" style="max-width: 375px;" title="Navbar with offcanvas example"></iframe>
</div>
<div class="tab-pane fade" id="html3" role="tabpanel">
<pre class="line-numbers"><code class="lang-html"><!-- Navbar with offcanvas menu on mobile -->
<header class="navbar navbar-expand-lg bg-light shadow-sm">
<div class="container">
<a href="#" class="navbar-brand flex-shrink-0">
<img src="assets/img/logo.svg" width="47" alt="Silicon">
Silicon
</a>
<button type="button" class="navbar-toggler ms-auto" data-bs-toggle="offcanvas" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="offcanvas offcanvas-end" id="navbarNav">
<div class="offcanvas-header shadow-sm">
<h6 class="offcanvas-title">Menu</h6>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<ul class="navbar-nav offcanvas-body pt-3">
<li class="nav-item active">
<a href="#" class="nav-link">Home</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link">Link</a>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</a>
<ul class="dropdown-menu">
<li>
<a href="#" class="dropdown-item">Action link</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-item dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false">Dropdown</a>
<ul class="dropdown-menu">
<li>
<a href="#" class="dropdown-item">Action link</a>
</li>
<li>
<a href="#" class="dropdown-item">Another action</a>
</li>
<li>
<a href="#" class="dropdown-item">Something else here</a>
</li>
<li>
<a href="#" class="dropdown-item">Yet another link</a>
</li>
</ul>
</li>
<li>
<a href="#" class="dropdown-item">Another action</a>
</li>
<li>
<a href="#" class="dropdown-item">Something else here</a>
</li>
</ul>
</li>
<li class="nav-item">
<a href="#" class="nav-link disabled" tabindex="-1" aria-disabled="true">Disabled</a>
</li>
</ul>
</div>
</div>
</header></code></pre>
</div>
</div>
</section>
</div>
</main>
<!-- Jump to anchor navigation -->
<aside id="jumpToNav" class="side-nav side-nav-end d-none d-xxl-block position-fixed top-0 end-0 vh-100 py-5" style="width: 20rem;">
<h3 class="fs-lg mt-5 pt-5">Jump to</h3>
<ul class="nav">
<li class="nav-item">
<a href="#offcanvas-components" class="nav-link" data-scroll data-scroll-offset="-6">Offcanvas components</a>
</li>
<li class="nav-item">
<a href="#offcanvas-placement" class="nav-link" data-scroll data-scroll-offset="-6">Placement</a>
</li>
<li class="nav-item">
<a href="#offcanvas-mobile" class="nav-link" data-scroll data-scroll-offset="-6">Mobile menu offcanvas (responsive)</a>
</li>
</ul>
</aside>
<!-- Back to top button -->
<a href="#top" class="btn-scroll-top" data-scroll>
<span class="btn-scroll-top-tooltip text-muted fs-sm me-2">Top</span>
<i class="btn-scroll-top-icon bx bx-chevron-up"></i>
</a>
<!-- Vendor Scripts -->
<script src="../assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="../assets/vendor/prismjs/components/prism-core.min.js"></script>
<script src="../assets/vendor/prismjs/components/prism-markup.min.js"></script>
<script src="../assets/vendor/prismjs/components/prism-clike.min.js"></script>
<script src="../assets/vendor/prismjs/plugins/toolbar/prism-toolbar.min.js"></script>
<script src="../assets/vendor/prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.js"></script>
<script src="../assets/vendor/prismjs/plugins/line-numbers/prism-line-numbers.min.js"></script>
<!-- Main Theme Script -->
<script src="../assets/js/theme.min.js"></script>
</body>
</html>