@paradise-ui/text-field
Version:
An enhanced version of common <input> component
38 lines (25 loc) • 1.07 kB
Markdown
An enhanced version of common <input> component for React
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
```sh
yarn add @paradise-ui/text-field
npm i @paradise-ui/text-field
pnpm i @paradise-ui/text-field
```
```jsx
import { TextField } from '@paradise-ui/text-field'
import '@package-ui/text-field/style'
const ParentComponent = () => {
return <TextField>Lorem ipsum</TextField>
}
```
If you install the <a href="https://npmjs.com/package/@paradise-ui/react">whole paradise UI package</a>, you dont have to import the style, but you have to wrap the component inside `ParadiseUIProvider`
Checkout <a href="https://storybook.paradise-ui.com/?path=/docs/component-form-text-field--docs" target="_blank">our storybook</a> for demo and more use cases.
This project is licensed under the terms of the
[](https://github.com/devaradise/paradise-ui/blob/main/LICENSE).