View on GitHub

Label

A label component renders the form label element.


Usage

Import the Label component from “figBlocks”.

<script>
	import { Label } from 'figblocks';
</script>

<Label>Position</Label>

Props

for string undefined the ID of the form element associated with the label.
class string undefined Custom CSS classname for styling.