Skip to content
This repository was archived by the owner on Sep 20, 2021. It is now read-only.

React component that renders a HTMLInputElement with no styling

License

Notifications You must be signed in to change notification settings

snowcoders/react-unstyled-input

Repository files navigation

Deprecation

The majority of what this package did is remove the styling of the default html input. However now that IE 11 is deprecated, the css property all: unset works across enough browsers that it doesn't make sense to maintain this project.

input[type="text"] {
  all: unset;
}

npm (scoped) CircleCI branch

Use it

npm install --save @snowcoders/react-unstyled-input save-prefix ~

Parent Library

This component is part of a larger components library, react-ui-base. The goal is to keep all the core logic and base css styles in a single location, that way building out new UI component libraries cheaper and faster (and less buggy).

We highly recommend visiting the react-ui-base repository to understand how to customize the css along with see examples.

You can also view all the components on our demo site https://snowcoders.github.io/react-ui-base/

This component

This component takes the normal HTMLInputElement and removes all styling from it. Default browser functionality (ex. using the arrow keys to increase and decrease the number if the type="number") along with width is maintained.

About

React component that renders a HTMLInputElement with no styling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published