@nodestrap/label

A complementary element represents a caption for a user interface.

Usage no npm install needed!

<script type="module">
  import nodestrapLabel from 'https://cdn.skypack.dev/@nodestrap/label';
</script>

README

<Label></Label>

A complementary element represents a caption for a user interface.

Combined with <Group></Group> you can create a nicely caption beside the UI.

Preview

<Group theme='primary' size='lg'>
    <Label>Your name</Label>
    <TextInput required={true} name='name' />
</Group>

Rendered to:

<div role="group" class="c1 thPrimary szLg">
    <span class="c2">Your name</span>
    // ...
</div>

Features

Installation

Using npm:

npm i @nodestrap/label

Support Us

If you feel our lib is useful for your projects,
please make a donation to avoid our project from extinction.

We always maintain our projects as long as we're still alive.

[Make a donation]