0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-30 12:24:19 +01:00
Bootstrap/site/content/docs/4.3/extend/icons.md

31 lines
864 B
Markdown
Raw Normal View History

2014-12-06 09:18:44 +01:00
---
layout: docs
2017-02-05 06:14:41 +01:00
title: Icons
2017-05-28 20:25:59 +02:00
description: Guidance and suggestions for using external icon libraries with Bootstrap.
2017-02-05 06:14:41 +01:00
group: extend
2014-12-06 09:18:44 +01:00
---
2017-02-05 06:14:41 +01:00
Bootstrap doesn't include an icon library by default, but we have a handful of recommendations for you to choose from. While most icon sets include multiple file formats, we prefer SVG implementations for their improved accessibility and vector support.
## Preferred
2017-09-26 13:50:35 +02:00
2017-02-05 06:14:41 +01:00
We've tested and used these icon sets ourselves.
2019-07-23 08:41:14 +02:00
{{< markdown >}}
{{< icons.inline >}}
{{- $type := .Get "type" | default "preferred" -}}
{{- range (index .Site.Data.icons $type) }}
- [{{ .name }}]({{ .website }})
{{- end }}
{{< /icons.inline >}}
{{< /markdown >}}
2017-02-05 06:14:41 +01:00
## More options
2017-09-26 13:50:35 +02:00
2017-02-05 06:14:41 +01:00
While we haven't tried these out, they do look promising and provide multiple formats—including SVG.
2019-07-23 08:41:14 +02:00
{{< markdown >}}
{{< icons.inline type="more" />}}
{{< /markdown >}}