Skip to content

AnswerDotAI/fh-frankenui

Repository files navigation

Fh-FrankenUI

Warning

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, uses

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

Getting Started

To get started, check out:

  1. Start by importing the modules as follows:
from fasthtml.common import *
from fh_frankenui.core import *
  1. Instantiate the app with the fh-frankenui headers
app = FastHTML(hdrs=Theme.slate.headers())

# Alternatively, using the fast_app method
app, rt = fast_app(pico=False, 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 to see how to implement the components. 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!