mirror of
https://github.com/atisawd/boxicons.git
synced 2024-12-22 20:32:38 +01:00
66 lines
1.9 KiB
Markdown
66 lines
1.9 KiB
Markdown
# BoxIcons
|
|
[![GitHub issues](https://img.shields.io/github/issues/atisawd/boxicons.svg)](https://github.com/atisawd/boxicons/issues)
|
|
[![GitHub license](https://img.shields.io/github/license/atisawd/boxicons.svg)](https://github.com/atisawd/boxicons/blob/master/LICENSE)
|
|
|
|
[![Twitter](https://img.shields.io/twitter/url/https/github.com/atisawd/boxicons.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fatisawd%2Fboxicons)
|
|
[![Donate](https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square)](https://paypal.me/atisawd)
|
|
|
|
_High Quality web friendly icons_
|
|
|
|
'Boxicons' is a carefully designed open source iconset with 350+ icons. It's crafted to look enrich your website/app experience.
|
|
[You can check out all the icons here!](https://boxicons.com)
|
|
|
|
## Installation
|
|
|
|
To install via npm, simply do the following:
|
|
|
|
```bash
|
|
$ npm install boxicons --save
|
|
```
|
|
import the module
|
|
|
|
```javscript
|
|
import 'boxicons/css/boxicons.css';
|
|
```
|
|
## Usage
|
|
|
|
1. Include the stylesheet on your document's `<head>`
|
|
|
|
```html
|
|
<head>
|
|
<link rel="stylesheet" href="boxicons.min.css">
|
|
</head>
|
|
```
|
|
|
|
Instead of installing you may use the remote version
|
|
|
|
```html
|
|
<head>
|
|
<link rel="stylesheet"
|
|
href="https://cdn.jsdelivr.net/npm/boxicons@1.0.5/css/boxicons.min.css">
|
|
<!-- or -->
|
|
<link rel="stylesheet"
|
|
href="https://unpkg.com/boxicons@1.0.5/css/boxicons.min.css">
|
|
</head>
|
|
```
|
|
|
|
|
|
2. To use an icon on your page, add a class 'bx' and seperate class with the icons name with a prefix 'bx-':
|
|
|
|
```html
|
|
<i class="bx bx-hot"></i>
|
|
```
|
|
|
|
[Check out all the icons here!](https://boxicons.com)
|
|
|
|
|
|
## License
|
|
|
|
Boxicons is licensed under the MIT license. (http://opensource.org/licenses/MIT)
|
|
|
|
|
|
## Contributing
|
|
|
|
Pull requests are the way to go here. I apologise in advance for the slow action on pull requests and issues.
|
|
|
|
Caught a mistake or want to contribute to the documentation? [Edit this page on Github](https://github.com/atisawd/boxicons/blob/master/README.md)
|