@lieinapril/utente-input

0.7.8 • Public • Published

@lieinapril/utente-input

Neumorphism - A basic widget for getting the user input is a text field. Keyboard and mouse can be used for providing or changing data.

Documentation

Refer to the following storybook.

Installation

Install guide

npm install @lieinapril/utente-input

Usage

import { Input } from '@lieinapril/utente-input';

const Example = () => {
  const args = {
    theme: "light",
    size: "medium"
  };

  return (
    <div style={{ backgroundColor: "#eee" }}>
      <Input
        {...args}
        placeholder="Type to search..."
        style={{ width: 200 }}
        size="small"
        prefix={<i className="fas fa-search"></i>}
      />
    </div>
  );
}

Readme

Keywords

none

Package Sidebar

Install

npm i @lieinapril/utente-input

Weekly Downloads

3

Version

0.7.8

License

ISC

Unpacked Size

38.8 kB

Total Files

7

Last publish

Collaborators

  • lordono