mingle-ui is a powerful design system built with Tailwind CSS and Storybook.
It’s designed to help developers and designers create consistent, beautiful interfaces effortlessly.
Install mingle-ui into your project using NPM:
npm install mingle-uimingle-ui ships react and react-dom as peer dependencies, so it works with the React version already installed in your project. Supported versions: React 18 and React 19. Make sure they are installed:
npm install react react-domIf you use the form components (InputField, Input), also install react-hook-form (optional peer dependency):
npm install react-hook-formIf you are already using mingle-ui and want to update to the latest version, use the following command:
npm install mingle-ui@latestTo use InputField with react-hook-form, follow the example below:
import { FormProvider, useForm } from 'react-hook-form';
import { InputField, PrimaryButton } from "mingle-ui";
function LoginPage() {
const methods = useForm({
mode: 'all',
});
const onSubmit = (data) => {console.log(data)};
return (
<FormProvider {...methods}>
<form onSubmit={methods.handleSubmit(onSubmit)}>
<InputField
formMethod={methods}
name='email'
type='email'
placeholder='Email'
label='Email'
errorMessage='Email is Required'
isRequired
/>
<InputField
formMethod={methods}
name='password'
type='password'
placeholder='Password'
label='Password'
errorMessage='Password is Required'
isRequired
/>
<PrimaryButton>Login</PrimaryButton>
</form>
</FormProvider>
);
}
export default LoginPage;This ensures that all mingle-ui components render with the intended design specifications.
mingle-ui offers a wide range of components that are ready to use in your projects. To see the components available and learn how to use them, refer to the Storybook documentation provided with the package.
🔗 Mingle Design System - Storybookmingle-ui is released under the MIT License.