Skip to main content

FontAwesome for Flask

Project description


PyPI Version CI Documentation Status

Flask extension for FontAwesome.


from flask import Flask, render_template
from flask_fontawesome import FontAwesome

app = Flask(__name__)
fa = FontAwesome(app)

def index():
    return render_template('index.html')'', port=8080)
<!DOCTYPE html>
    {{ fontawesome_html() }}
    <title>FontAwesome Example</title>
    <h1>FontAwesome Example</h1>
    <p>This is an example of a <span class="fas fa-link"></span> link.</p>


This work is dual licensed under the MIT and Apache-2.0 licenses. See LICENSE-MIT and LICENSE-APACHE for details.


The resources contained under flask_fontawesome/static are licensed to FontAwesome.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flask-FontAwesome-0.1.5.tar.gz (4.1 MB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page