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

4.0.8 • Public • Published

<Control />

A generic element with focus/blur and arrive/leave state.

Preview

<Control tag='span' theme='primary' size='lg' gradient={true} outlined={true} focus={true} arrive={true} >
    hello world
</Control>

Rendered to:

<span class="c1 thPrimary szLg gradient outlined focused arrived">
    hello world
</span>

Features

  • Includes all features in <Indicator />.
  • focus/blur state. Visualized in outlined ring.
  • arrive/leave state. Visualized in dimmed color.
  • Customizable via @cssfn/css-config.

Installation

Using npm:

npm i @nodestrap/control

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/control

Weekly Downloads

2

Version

4.0.8

License

ISC

Unpacked Size

67.1 kB

Total Files

6

Last publish

Collaborators

  • heymarco