Skip to content

WidgetCheckbox

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

The outer row aligns the checkbox control with its label chrome.

Vue component: WidgetCheckbox

SlotDefault classesDescription
rootml-2 flex flex-row grow items-baselineThe outer row aligns the checkbox control with its label chrome.
innerflex flex-row grow items-baselineThe inner row lets the control and label share the available width.
inputmin-w-min grow-0 shrink-0The checkbox input keeps its intrinsic width instead of stretching.
themeOverrideLocal label overrides make WidgetLabel read as a toggle row.

root

The outer row aligns the checkbox control with its label chrome.

Default classes:

ml-2 flex flex-row grow items-baseline

Source: client/lib/theme/vueda-tailwind/widgets/WidgetCheckbox.theme.js:17

inner

The inner row lets the control and label share the available width.

Default classes:

flex flex-row grow items-baseline

Source: client/lib/theme/vueda-tailwind/widgets/WidgetCheckbox.theme.js:21

input

The checkbox input keeps its intrinsic width instead of stretching.

Default classes:

min-w-min grow-0 shrink-0

Source: client/lib/theme/vueda-tailwind/widgets/WidgetCheckbox.theme.js:25

themeOverride

Local label overrides make WidgetLabel read as a toggle row.

Source: client/lib/theme/vueda-tailwind/widgets/WidgetCheckbox.theme.js:29

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2