To install this library, uses
pip install MonsterUI
To get started, check out:
- Start by importing the modules as follows:
from fasthtml.common import *
from monsterui.all import *
- Instantiate the app with the MonsterUI headers
app = FastHTML(hdrs=Theme.blue.headers())
# Alternatively, using the fast_app method
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 to see how to implement the components. You can also check out these demo videos to as a quick start guide:
- MonsterUI documentation page and Tutorial app
- 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!
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 MonsterUI library effectively. Contains very little information directly in the document.
- llms-ctx.txt: MonsterUI specific context only (does not include FastHTML specific context)
- llm-ctx-full.txt: All inclusive FastHTML + MonsterUI context