Manual Installation
This guide provides instructions for using Mijn-UI components by copying and pasting source code snippets.
Beta Notice
Currently, we provide only one installation option: Next.js integration.
Requirements
- NextJS 15 or later
- React 19 or later
- Tailwind Css 3.4 or later
Starter Template
Manual setups can be time-consuming, so I created a nextjs-starter template to help you get started quickly you can either use this or follow the steps below to integrate Mijn-UI components manually.
Setting Up Manually
Install Next.js and Required Dependencies
Start by creating a new Next.js application:
Make sure to use Tailwind CSS when setting up your Next.js project.
Next, add the Mijn-UI packages:
Configure TypeScript Path Aliases
Recommended Folder Structure
I recommend using this folder structure for manual integration, similar to the packages folder structure. This way, you won't need to update any component paths, as the source codes are from the mijn-ui packages folder.
Note: This folder structure is a suggestion. You can customize it according to your project requirements.
Configure Tailwind Theme Plugin:
@mijn-ui/react-theme
is a Tailwind CSS plugin that provides the default theme for Mijn-UI components. Currently, only one theme is available, but you can customize it by following the override guide.
That's it
You can now start adding components to your project. Check out the components section to learn more about the available components.