Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@_nu/css-input

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@_nu/css-input

CSS Input

Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
18
-21.74%
Maintainers
2
Weekly downloads
 
Created
Source

@_nu/css-input

npm packagenpm downloadsjsdelivrgithub
npm packagenpm downloadsjsdelivrgithub

English | 简体中文

Install

$ yarn add @_nu/css-input

Tree

@_nu/css-input/
lib
├── index.css                // base style
└── skins
    └── default
        ├── block.css        // block input
        ├── capsule.css      // capsule input 💊
        ├── disabeld.css     // disabeld
        ├── focus.css        // on focus
        ├── large.css        // large input
        ├── line.css         // line input
        └── small.css        // small input

Core API

SelectorFunction
input.nu_inputbase selector
.nu_input inputstatus of disabled
<input class="nu_input" type="text" placeholder="Enter" />
<label class="nu_input">
  <input type="text" placeholder="Enter" />
</label>

For the sake of flexibility these two ways are equivalent.

Skins API

SelectorFunctionskin
input:disableddisabled inputdisabled.css
input:focusfocus inputfocus.css
._llarge inputlarge.css
._ssmall inputsmall.css
._capsulevariant of inputcapsule.css
._blockblock inputblock.css
._lineline of disabledline.css

All the skin api is base on the core api.

More

  • @_nu/react-input

Keywords

!ui

FAQs

Package last updated on 16 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts