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 resources:
- View the Fh-FrankenUI Tutorial App to understand how to use the library
- 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!
LLM context files for Fh_FrankenUI
Using LLMs for development is a best practice way to get started and explore. While LLMs cannot code for you, they can be helpful assistants. You must check, refactor, test, and vet any code any LLM generates for you - but they are helpful productivity tools.
- llms.txt: Links to the neccesary reference documents to use the fh_frankenui library effectively. Contains very little information directly in the document.
- llms-ctx.txt: Fh_FrankenUI specific context only (does not include FastHTML specific context)
- llm-ctx-full.txt: All inclusive FastHTML + FH_Frankenui context