blob: b6848f89e836151e99cde78321e8beb8292fc265 (
plain) (
blame)
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
|
<div class="hero py-5 text-center text-lg-start">
<div class="container-xxl bd-gutter">
<div class="row flex-lg-row-reverse">
<div class="col-6 mx-auto col-lg-5 mx-lg-0">
<img srcset="/assets/img/icons-hero.png, /assets/img/icons-hero@2x.png 2x"
src="/assets/img/icons-hero.png"
class="img-fluid my-3 mx-auto"
alt="Bootstrap Icons" width="450" height="340">
</div>
<div class="col-lg-7">
<a class="d-block d-sm-inline-block py-1 px-3 mb-4 text-decoration-none rounded-3 hero-notice" href="{{ .Site.Params.blog }}/2023/09/12/bootstrap-icons-1-11-0/">
<strong>New in v1.11.0:</strong> 100 new icons!
</a>
<h1 class="f0">Bootstrap Icons</h1>
<p class="mb-4 f3 font-weight-normal">Free, high quality, open source icon library with over 2,000 icons. Include them anyway you like—SVGs, SVG sprite, or web fonts. Use them with or without <a href="{{ .Site.Params.main }}/">Bootstrap</a> in any project.</p>
<div class="d-flex flex-column flex-md-row align-items-stretch justify-content-center justify-content-md-start mb-5 fs-5">
<div class="fs-5 d-inline-block mb-3 me-md-3 mb-md-0">
{{ highlight "npm i bootstrap-icons" "sh" "" }}
</div>
<a class="btn btn-lg btn-figma d-flex align-items-center justify-content-center" href="{{ .Site.Params.icons_figma }}" target="_blank" rel="noopener">
{{ partial "icons/figma.svg" (dict "class" "me-2" "width" "18" "height" "24") }}
Open in Figma
</a>
</div>
{{ partialCached "ads" . }}
<hr class="mx-auto mx-lg-0 my-5">
<p class="text-muted">
Currently <a href="{{ .Site.Params.icons_repo }}/releases/tag/v{{ .Site.Params.version }}">v{{ .Site.Params.version }}</a>
<span class="px-1">•</span>
<a href="#icons">Icons</a>
<span class="px-1">•</span>
<a href="/sprite/">Icon Sprite</a>
<span class="px-1">•</span>
<a href="#install">Install</a>
<span class="px-1">•</span>
<a href="#usage">Usage</a>
<span class="px-1">•</span>
<a href="#styling">Styling</a>
<span class="px-1">•</span>
<a href="#accessibility">Accessibility</a>
<span class="px-1">•</span>
<a href="{{ .Site.Params.icons_repo }}">GitHub repo</a>
</p>
</div>
</div>
</div>
</div>
|