@nodestrap/label
TypeScript icon, indicating that this package has built-in type declarations

4.0.7 • Public • Published

<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]

Package Sidebar

Install

npm i @nodestrap/label

Weekly Downloads

1

Version

4.0.7

License

ISC

Unpacked Size

22.7 kB

Total Files

6

Last publish

Collaborators

  • heymarco