@paradise-ui/text-field
v1.1.0-beta.3
Published
An enhanced version of common <input> component
Downloads
8
Maintainers
Readme
@paradise-ui/text-field
An enhanced version of common <input> component for React
Installation
Every Paradise UI component is designed to be able to run as a standalone component. So, you can just install them by running this command
yarn add @paradise-ui/text-field
# or
npm i @paradise-ui/text-field
# or
pnpm i @paradise-ui/text-field
Import
import { TextField } from '@paradise-ui/text-field'
import '@package-ui/text-field/style'
const ParentComponent = () => {
return <TextField>Lorem ipsum</TextField>
}
If you install the whole paradise UI package, you dont have to import the style, but you have to wrap the component inside ParadiseUIProvider
Demo
Checkout our storybook for demo and more use cases.
Licence
This project is licensed under the terms of the MIT license.