1.1.1 • Published 1 year ago

@architecturex/components.input v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@architecturex/components.input

Input

This is a versatile Input component suitable for various form input scenarios.

Installation

npm install @architecturex/components.input

Features

  • Customizable appearance with fullWidth and error props.
  • Supports all native input props.
  • Built-in focus state handling.

Props

  • label (optional): Displayed above the input.
  • fullWidth (optional): Makes the input take the full width of its container.
  • error (optional): Indicates if the input has an error, which changes its border color to red.
  • and supports all other native input attributes.

Usage

import Input from '@architecturex/components.input'

function App() {
  return (
    <div>
      <Input label="Username" />
      <Input label="Password" type="password" error={true} />
    </div>
  )
}

Contribution

Feel free to suggest improvements, report issues, or contribute to enhancing these utilities. Your feedback and contributions are welcome!

1.1.1

1 year ago

1.1.0

1 year ago

1.0.26

1 year ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.2

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago