Reusable, encapsulated, and testable.
Write server-side components as single Jinja template files.
Use them as HTML tags without doing any importing.


Say goodbye to spaghetti templates.
We want our Python code to be easy to understand and test.
Template code, however, often fails even basic code standards: long methods, deep conditional nesting, and mystery variables everywhere.
But when it's built with components, you see where everything is, understand what are the possible states of every piece of UI, and know exactly what data need to have.
You can replace all your templates with components.
Using {% extend %}
with a base layout?
Create a Page
component instead!
Quick to write, amazing to use.
This is how a component looks like:
