1.0.1 • Published 7 years ago

icon-thai v1.0.1

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
7 years ago

Setup & Usage

Step 1 Install icon font

icon-thai is published in npm and yarn, so you can easily download it, using your preferred package manager:

Using npm

npm install icon-thai --save

Using yarn

yarn add icon-thai

After downloading icon-thai.css, add a stylesheet link then path to your package directory and use it for your project.

Alternatively, you can use either GitCDN or RawGit to import the icon-font from icon-thai.css. Simply add one of the following references inside your HTML page's <head> tag:

Using Rawgit

<link rel="stylesheet" href="https://cdn.rawgit.com/jukbot/iconThai/92f5c515/dist/icon-thai.css">

Using GitCDN

<link rel="stylesheet" href="https://gitcdn.link/repo/jukbot/iconThai/master/icon-thai.css">

You can also find icon-thai on cdnjs, which you can use to include it in your projects. We strongly suggest you add the following line inside your HTML page's

Using CDNJS (Recommended)

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/1.0.0/css/icon-thai.min.css">

Step 2 Use it

Just put icon-thai-icon-name into class attribute of <i> or <span> tag.

<i class="icon-thai icon-thai-bhumibol-bridge"></i>

Browser Supported

IE / EdgeFirefoxChromeSafariOpera
11+54+43+11+48+

Reference: http://caniuse.com/#search=%40font-face

Contribution

If you’ve found an error in this library, please file an issue at: https://github.com/iconthai/iconThai/issues

Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.

License

Copyright 2017 Nattanon.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.