From an empty folder to a working app
No project yet? These five steps make a new app that is ready for Uilora. It takes about five minutes.
$ npx create-next-app@latest my-appcd my-appnpm install framer-motion clsx tailwind-merge
Pick your setup
Which kind of app?
Not sure? Choose Next.js. It is what most people use with Uilora.
Step 1 of 5
Create a new app
This makes a fresh Next.js app. When it asks questions, say yes to TypeScript, Tailwind CSS and the App Router.
$ npx create-next-app@latest my-appGo into the folder
Move into your new app so the next commands run in the right place.
cd my-appInstall the basics
These three packages power the animations and keep class names tidy. Some fancy components need one or two more, and their page tells you which.
$ npm install framer-motion clsx tailwind-mergeAdd one helper file
Create lib/utils.ts and paste this in. Many components use this small helper to combine class names.
import { clsx, type ClassValue } from "clsx";import { twMerge } from "tailwind-merge";export function cn(...inputs: ClassValue[]) {return twMerge(clsx(inputs));}
Start the app
Open the link it prints in your browser. Your app is ready for its first Uilora component.
$ npm run devWhat you get
Ready for everything
550+ components
Buttons, heroes, backgrounds, full landing pages and more. Search them all with Ctrl + K.
Real code
You copy the actual file into your app. Change colours, timing or text however you like.
TypeScript or JavaScript
Every component comes in both, so it fits the project you already have.
Where to next
