Label
Overview
Section titled “Overview”Label renders NaviusLabel, the headless primitive that owns For/htmlFor wiring and
the double-click guard, and layers a fixed Tailwind class set on top (text size, weight,
and a peer-disabled state for when it labels a disabled peer control).
Install
Section titled “Install”navius add label --to ./src/MyApp --namespace MyApp.Ui@using Zits.Ui.Components
<ZitsLabel For="terms">Accept terms and conditions</ZitsLabel>Parts and props
Section titled “Parts and props”Label is a single element with no part tree. For and every other NaviusLabel
parameter pass through unchanged via Attributes. The styled wrapper adds no props of
its own, only the base Tailwind class set.
Styling surface
Section titled “Styling surface”Attributes on ZitsLabel merges with the base class set via Cn.Merge and forwards to
NaviusLabel.
Data attribute hooks
Section titled “Data attribute hooks”None beyond what NaviusLabel itself emits (documented in its own manifest); the styled
class set targets no data-* attributes of its own beyond the standard peer-disabled
CSS pseudo-state.