Skip to content

Blaster-Creative/FeatherIcons-iconfont-lib

Repository files navigation

FeatherIcons iconfont lib

Feather iconfont wrapped in a library for convenience.
Font sourced from https://github.com/AT-UI/feather-font
List of icons and their names can be found here: https://at-ui.github.io/feather-font/

 

Dependency

Add this in your project level build.gradle file (not your module build.gradle file):

allprojects {
	repositories {
        maven { url "https://jitpack.io" }
    }
}

Add library dependency to your module (usually app) build.gradle

dependencies {
    implementation 'com.github.blastercoil:FeatherIcons-iconfont-lib:<current version, e.g. 1.0.0>'
}

Usage

In XML:

<TextView
  style="@style/feather_font"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:text="@string/feather_help_circle"
/>

In code:

text_view?.text = FeatherIcons.feather_shopping_cart.glyph

About

Feather iconfont wrapped in a library for convenience. Font sourced from https://github.com/AT-UI/feather-font

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages