Skip to content

Label

Accessible label for form controls such as inputs, selects or textareas.

View Source 

Installation

Follow instructions for individual framework usage below

  • winduum 
  • winduum-vue 
  • winduum-react 

Styles

Variants

  • default 

Props

  • default 

Examples

Default

html
<label class="x-label">Label</label>
vue
<script setup lang="ts">
    import { Label } from '@/components/label'
</script>

<template>
    <Label for="input">Label</Label>
</template>
jsx
import { Label } from '@/components/label'

export function Example() {
    return (
        <Label for="input">Label</Label>
    )
}

Released under the MIT License.