Library
Components
Every building block of a Pyzed interface, with a preview, the code that draws it, its variants and its API.
- components
- 114
- variants
- 774
- categories
- 16
Every component of pyzed.ui, plus the layout and content widgets of pyzed, with a live
preview, the code that draws it, examples and its API. Components are functions that return
widgets, so they combine freely with each other and with the base widgets.
import pyzed as pzfrom pyzed import ui
ui.button("Save", self.save, icon="save", variant="solid", keys="ctrl-s")- Theme colors. Every component reads the current theme (
App.theme, or the window’s theme in multi-window apps), and acceptstheme=to use another one. - Tokens or hex. Color parameters (
color,icon_color,tint…) take a theme token such as"accent","text_muted"or"error", or a"#rrggbb"color. - Messages or callables.
on_press,on_select,on_toggle… take a message forupdateor a callable; those that produce a value (text,bool, id) call it with that value. - Icons.
icon=takes any Lucide name (pyzed iconslists them).
To see them all running, open the gallery: python examples/gallery.py.
Looking for whole screens built from them (login, dashboard, settings, chat, kanban…)? See
Blocks.
Actions
Section titled “Actions”Buttons and small controls that run something.
6 components · 86 variants
Display
Section titled “Display”Text, badges, keys, avatars and surfaces.
9 components · 92 variants
Controlled inputs: they show your state and report every change.
12 components · 107 variants
Dates and times
Section titled “Dates and times”Calendars and fields for dates, ranges and times, in the format you choose.
4 components · 25 variants
Feedback
Section titled “Feedback”Progress, loading, notices and empty states.
7 components · 55 variants
Tables, numbers and small charts drawn with the theme colors.
8 components · 41 variants
Lists and menus
Section titled “Lists and menus”Rows, file trees, context menus and collapsible sections.
7 components · 43 variants
Navigation
Section titled “Navigation”Tabs, breadcrumbs and toolbars.
3 components · 17 variants
Overlays
Section titled “Overlays”Things drawn on top of the UI: layers, modals, palettes and notifications.
6 components · 27 variants
Dialogs
Section titled “Dialogs”Ready-made dialogs with translated buttons.
7 components · 26 variants
System
Section titled “System”Pieces that talk to the operating system: its file dialogs and files dropped from the desktop.
2 components · 14 variants
Workspace
Section titled “Workspace”The frame of an editor-style window: docks, title bar, status bar and panels.
7 components · 35 variants
Code and tools
Section titled “Code and tools”The code editor, a terminal view, a log console and help boxes.
7 components · 28 variants
AI agents
Section titled “AI agents”The pieces of an AI agent’s chat and settings: tool calls, diffs, plans, history and sign-in.
9 components · 70 variants
Layout
Section titled “Layout”The base layout widgets of pyzed (pz.*) every component is built with.
11 components · 57 variants
Content
Section titled “Content”Base widgets for text, icons, images, Markdown, QR codes and drawing.
9 components · 51 variants



































































































































































































































