structtkinter

A CSS-like, HTML-inspired UI framework built on top of Tkinter.
Features
- Canvas-based rendering for full control over shapes, shadows, and transforms
- CSS-style styling with classes, IDs, and tag selectors
- External "CSS" & "JS" separation via Python modules
- Flexbox-like layout (vertical stacking by default)
- Support for
%
, fit-content
, and fixed dimensions
- Pseudo-states & transitions (coming soon!)
Prerequisites
- Python 3.7 or newer
- Tkinter (typically included with standard Python installs)
Installation
git clone https://github.com/YOUR_USERNAME/structtkinter.git
cd structtkinter
python -m venv .venv
source .venv/bin/activate
.\.venv\Scripts\activate
python examples/example1/stk/index.py