Fh-FrankenUI

A FrankenUI wrapper to let you style websites quickly and beautifully with FastHTML.

This library is still in active development, however there are many great things you can do with it already.

We'd really like you try to it and tell us how it works for you - but please be aware there will improvements to the API over time.


Installation

To install this library, run:

pip install git+https://github.com/AnswerDotAI/fh-frankenui.git


Getting Started

Start by importing the modules with one of these options:

from fasthtml.common import *
from fh_frankenui.core import *

Instantiate the app with the fh-frankenui headers

app = FastHTML(hdrs=Theme.slate.headers())
app, rt = fast_app(hdrs=Theme.slate.headers())

The color option can be any of the theme options available out of the box


From here, you can explore the API Reference & examples for a full reference.

You can also check out these demo videos to as a quick start guide:

  • The AnswerAI Dev Chat where Isaac & Jeremy explore the framework
  • This video where Isaac iteratively builds a form in 5 minutes with the framework

More resources and improvements to the documentation will be added here soon!