Interactive, server-rendered components written in Python. HTML over the wire, no API, no build step, minimal JavaScript.
A whole component, state, logic and template, in one Python class. Live, with no custom JavaScript.
Drag list items and lace:sort syncs the new order to the server for you. Built in, no sortable.js wiring. More →
Drag steps to reorder. Changes sync to server automatically.
Add 200g flour, Mix in 2 eggs, Whisk until smooth
Declare each field's rules with Django form fields, then validate as the user types by calling validate_only() from the updated() hook. More →
No required wrapper element. Return as many top-level nodes as you like and Interlace still morphs them, something single-root frameworks like django-unicorn can't do. More →
Clicked 0 times
Compose components by nesting them; each child is an isolated instance. Children talk back to a parent with emit_to, addressing it by name. More →
Point lace:poll at a method and the component refreshes itself on an interval - live prices, no websockets. Every poll on the page shares one synchronized timer. More →
Bind a search box with a debounced lace:model, derive the filtered results in a @property, and render them with a loop. The same code runs over a queryset. More →
Bind an input to a property with lace:model; the template updates as you type, no fetch calls. More →
Hello, Ada
Drive a component and assert on its state and rendered HTML in a plain Django test, no Selenium, no running server. More →
State, logic and markup in one Python class, return the HTML from inline_template() instead of a separate .html file. More →
Components are class-based views. Full ORM, forms, auth and templates, no new runtime to learn.
A tiny client that morphs the DOM in place, preserving focus and scroll. Drop into any `@click` for local interactivity.