# gwt-fontawesome
**Repository Path**: mirrors_levigo/gwt-fontawesome
## Basic Information
- **Project Name**: gwt-fontawesome
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-25
- **Last Updated**: 2026-05-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README

# gwt-fontawesome
`gwt-fontawesome` is a library providing [Font Awesome](http://fortawesome.github.io/Font-Awesome) 4.3.0 within gwt projects.
## Usage
Using this library is straight-forward. Inherit `gwt-fontawesome` in your gwt module:
```xml
```
This will ensure that the CSS files will be injected into the running application.
Once inhertied, the Font Awesome CSS classes can be used anywhere required. For a full reference of existing icons and their use, refer to the offical Font Awesome documentation: http://fortawesome.github.io/Font-Awesome
## Code-Usage
In addition to writing plain markup, this library provides a enum containing all class names of Font Awesome 4.3.0. The enum values even allow generating the appropriate icon markup as a SafeHtml string.
Example:
```java
import org.jadice.web.gwt.fontawesome.client.FontAwesome;
import com.google.gwt.core.client.EntryPoint;
public class MyEntryPoint implements EntryPoint {
@Override
public void onModuleLoad() {
SafeHtml chevron = FontAwesome.CHEVRON_RIGHT.toSafeHtml();
}
}
```
The `SafeHtml` string `chevron` will contain the markup: ``.
Using the enum ensures that there are no typos, which will only become visible at runtime.