Skip to content

Label


View Source 

Usage

css
@import "winduum/src/components/label/index.css" layer(components);

Variants

  • default 

Props

  • default 

Installation

Follow instructions for individual framework usage below

  • winduum 
  • winduum-vue 
  • winduum-react 

Examples

Basic

html
<div class="x-field">
    <label class="x-label" for="input">Label</label>
    <div class="x-control">
        <input type="text" id="input">
    </div>
</div>
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.