Files
oa/documentation/field/v-field-label-inline-documentation.md
2025-05-24 01:49:48 +09:00

733 B

Inline label

You can set the horizontal attribute of VField so the label will be inlined.

<template>
  <VField label="Username" horizontal>
    <VControl fullwidth>
      <VInput type="text" placeholder="John" />
    </VControl>
  </VField>
  <VField label="Lastname" horizontal>
    <VControl fullwidth>
      <VInput type="text" placeholder="Doe" />
    </VControl>
  </VField>
</template>