diff --git a/docs/pages/kcheckbox.vue b/docs/pages/kcheckbox.vue index 8ba043185..d4c7256a5 100644 --- a/docs/pages/kcheckbox.vue +++ b/docs/pages/kcheckbox.vue @@ -46,6 +46,54 @@ A user cannot enter the indeterminate state by interacting directly with the checkbox; it only occurs due to external interactions.

+ + + Label content can be passed via the label property: + + + + + <KCheckbox label="First lesson" /> + + + + + + + In more complex situations, for example when another component is responsible for rendering the label, the default slot can be used: + + + + + <KCheckbox> + <KLabeledIcon icon="lesson" label="First lesson" /> + </KCheckbox> + + + + + + + + + + + +