Label
View Source
Usage
css
@import "winduum/src/components/label/index.css" layer(components);
Variants
Props
Installation
Follow instructions for individual framework usage below
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>
)
}