openpencil/packages/docs/programmable/sdk/api/components/scrub-input-field.md
2026-03-24 23:24:08 +03:00

693 B

title description
ScrubInputField Input element primitive for ScrubInputRoot editing mode.

ScrubInputField

ScrubInputField renders the editable input element for ScrubInputRoot.

It only renders while the scrub input is in editing mode.

Usage

Use it inside a ScrubInputRoot subtree.

Props and attrs

Passed through to the rendered input element.

Example

<ScrubInputRoot v-model:model-value="value">
  <ScrubInputField class="w-16" />
</ScrubInputRoot>