Skip to content
New 2,140 icons, built in as <pb-i:name />

Components you take, not install.

Accessible components for PyBlade, styled with Tailwind CSS. Interactive without a JavaScript framework: native HTML where it can, Python live components where it cannot. Add one, and its template is yours.

$ pyblade ui:init --base zinc --color blue
$ pyblade ui:add card switch button
✓ 3 components copied to components/ui
Components
47
Live, in Python
4
Icons
2,140
JavaScript framework
None

The kit

Real components, live.

Every preview is rendered by PyBlade from the code you copy. Click it, type in it, pick a day: the calendar, the combobox and the chart answer from Python.

Create project

Deploy your new project in one click.

Card See the code
Alert See the code

Icons

2,140 icons, one tag.

PyBlade ships the Lucide icons. Write one with its name and it is drawn as inline SVG when the template is read: nothing to install, nothing to load.

<pb-i:rocket />
<pb-i:heart class="size-5 text-red-500" />
<pb-icon :name="item.icon" size="32" />
Browse the icons

Why PyBlade UI

Made for templates rendered on the server.

The code is yours

A component is copied into components/ui. Change it as you like: it is a template of your project.

No JavaScript framework

Dialogs, popovers, menus, tabs and accordions are the browser's own: <dialog>, popover, <details>.

Live, in Python

What needs state, a combobox, a calendar, a data table, is a PyBlade live component: Python answers each click.

Themed with Tailwind

A handful of colour variables, base-100 to error, in light and dark. Change them, and every component follows.

Accessible by default

Native elements, visible focus, ARIA roles, and fields that post with their form.

A CLI that does the rest

pyblade ui:add copies a component and what it uses; ui:diff shows what changed before you update.

How it works

Three steps.

  1. 1

    Set the theme up

    pyblade ui:init
  2. 2

    Add the components you need

    pyblade ui:add dialog button
  3. 3

    Use them in any template

    <pb-ui.button>
      Save
    </pb-ui.button>

Django, Flask, FastAPI, Starlette, Litestar, Quart, Sanic: wherever PyBlade renders.

Start in a few minutes.

Read how to install it, then add your first component.