UI components library for react.
- Simple integration
- Supports react-hook-form
- Elastic textarea
- Simple styling width css variables
- Display validation error
- Full Documentation.
npm install react-just-uiAdd imports in index.tsx
import 'react-just-ui/theme/minimal.css';All the props are passed to the input inside the component, and the internal input is tipped out through the ref. So any component can be used as a regular form element.
<Input
id="text-input"
label="first_name"
hint="first_name_hint"
error={errors?.text}
value={vaue}
onChange={event => setValue(event.target.value)}
/>