Components
DyUI ships 36 components the model can use and 2 that only your code can produce. Every one is a pydantic model indyui.ui; the same model generates its prompt line, its JSON schema and the validator for what the model sends.
app = dyui.App(components="all") # the defaultapp = dyui.App(components=["table", "chart", "stat"]) # a subsetdyui.catalog("data", "interactive") # built-ins by groupContent
Prose, notes, code and citations.7 components
markdownRich text (Markdown) inside layouts.calloutA tinted note for tips, warnings and outcomes.codeA code snippet with syntax highlighting and a copy button.quoteA quotation with attribution.sourcesNumbered source citations.badgesA row of small labels or tags.dividerA horizontal separator, optionally labeled.
Data
Numbers, tables, charts and structured facts.8 components
tableTabular data; use for 3+ rows.statOne headline number.statsA responsive row of headline numbers.keyvalueLabeled facts as key/value pairs.chartA chart: bar/line/area for trends and comparisons, pie/donut for shares, scatter for x/y.progressProgress toward a goal.timelineEvents or steps in time order.jsonRaw structured data as a collapsible tree.
Media
Images, video, audio, files and link previews.6 components
Interactive
Inputs that send the user's answer back to your app.6 components
Layout
Containers that hold other components.6 components
Agent
Steps, reasoning and plans for agents at work.3 components
Developer-only
Rendered by your code; never offered to the model.2 components