Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@s-ui/react-molecule-input-field

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s-ui/react-molecule-input-field

  • 4.7.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2.2K
decreased by-0.59%
Maintainers
1
Weekly downloads
 
Created
Source

MoleculeInputField

MoleculeInputField is a component that wraps a composition of Label + Textarea + Validations Messages.

Installation

$ npm install @s-ui/react-molecule-input-field --save

Usage

After importing the component MoleculeInputField like this

import MoleculeInputField from '@s-ui/react-molecule-input-field'

Basic usage

  <MoleculeInputField
    id="second"
    placeholder="Medium Input"
    leftAddon="http://"
    rightAddon="@schibsted.com"
    label="Description"
    value="In some place of La Mancha which name..."
  />

With successText

  <MoleculeInputField
    id="description2"
    label="Description"
    value="In some place of La Mancha which name..."
    successText="Everything ok!"
  />

With errorText

  <MoleculeInputField
    id="notes"
    label="Notes"
    errorText="All wrong!"
  />

With alertText

  <MoleculeInputField
    id="notes"
    label="Notes"
    alertText="All wrong!"
  />

With helpText

  <MoleculeInputField
    id="description-inline2"
    label="Description"
    helpText="Tu descripción en Latin"
    value="Lorem ipsum dolor sit amet"
  />

Inline

  <MoleculeInputField
    id="description"
    label="Description"
    value="In some place of La Mancha which name..."
    inline
  />

Find full description and more examples in the demo page.

FAQs

Package last updated on 23 Jun 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc