Skip to content

widgets keys ​

Source file: client/lib/theme/vueda-tailwind/widgets/index.js

Selection widgets ​

ComponentKindSlotsDescription
WidgetCheckboxkey4The outer row aligns the checkbox control with its label chrome.
WidgetComboboxkey1The trigger uses the input-shell recipe for searchable pickers.
WidgetDurationkey6The root intentionally carries no chrome so form layout owns spacing.

Date and time widgets ​

ComponentKindSlotsDescription
WidgetDateFieldkey5Pass-through hook for the segment shell. The shell recipe lives on DateField.root.
WidgetDateRangeFieldkey6Pass-through hook for the segment shell. The shell recipe lives on DateRangeField.root.
WidgetTimeRangeFieldkey4The row holding both bounds and the separator. Without it the two shells are block-level and stack, so a time range reads as two unrelated fields.

Fallback ​

ComponentKindSlotsDescription
WidgetUnmappedkey1The diagnostic block. Reads as a destructive notice at supporting-text size so it sits inside a field's content column without impersonating a control. The edge is a hairline, matching Alert.root, because a saturated 1px border fringes at integer DPR.

File and media widgets ​

ComponentKindSlotsDescription
WidgetFilekey5The root stays transparent so the field shell provides the surface.

Autocomplete widgets ​

ComponentKindSlotsDescription
WidgetGenericAutoCompletekey4The root remains unstyled so the widget can sit inside any form shell.

Rich content widgets ​

ComponentKindSlotsDescription
WidgetHtmlkey6The root adds no spacing so form composition controls the editor block.
WidgetImagekey3The root is transparent so image widgets inherit the surrounding field rhythm.
WidgetJsonkey2Bordered control surface that mirrors textarea invalid and disabled states.

Read-only and labels ​

ComponentKindSlotsDescription
WidgetReadOnlykey10The root has no chrome because read-mode rows are owned by the field shell.
WidgetLabelkey5The root grid pairs label text with feedback actions above the control.

Template widgets ​

ComponentKindSlotsDescription
WidgetPreviewableTemplatekey7The root adds no chrome so the surrounding form section owns spacing.
WidgetTemplateLegendkey3The root stays unstyled so the legend can be embedded beside any template widget.