View entry
Introduction
Section titled “Introduction”ViewEntry is the escape hatch for custom HTML inside an infolist. Supply markup with .view(...) or .content(...) (aliases). Content is not auto-escaped — sanitize untrusted data yourself.
Reach for ViewEntry when no typed entry fits — counters, custom badges, or small composed HTML blocks that still need an accessible label. Shared Entry chrome (label, helper, hidden label) still wraps the custom markup in the usual stacked entry shell.
Basic view entry
Section titled “Basic view entry”from almasix.orbit.infolists import ViewEntry
ViewEntry.make("summary") .label("Summary") .content("<strong>3</strong> modules ready")

Callable content
Section titled “Callable content”Build markup from state / record at render time.
ViewEntry.make("title") .label("Headline") .content( lambda state=None, **_: f'<span class="or-badge or-color-success">{state}</span>' )

Hidden label
Section titled “Hidden label”ViewEntry.make("custom").view("<i>static</i>").hidden_label()

API cheat sheet
Section titled “API cheat sheet”| Method | Notes |
|---|---|
.view / .content |
HTML string or callable |
.hidden_label |
Screen-reader-only label |
| Shared chrome | Helper, hint, tooltip — see overview |