Add Uilora to your project in a minute
Already have a React or Next.js app? Pick one of two ways. Both give you the real code, so nothing is hidden and you can change everything.
Terminal
$ npx uilora@latest initnpx uilora@latest add magnetic-button
Choose how
Two ways to get components
Use the command line if you like speed. Copy and paste if you want to see every line before it goes in.
01
Step 1 of 3
1
Set it up once
Run this in your project folder. It asks where your components should live and checks you have what Uilora needs.
Terminal
$ npx uilora@latest init2
Add a component
Pick any component on the site and copy its name from the page. This command puts the file in your project and installs anything it needs.
Terminal
$ npx uilora@latest add <component-name>Example: npx uilora@latest add magnetic-button
3
Use it
Import it like any other component in your app. That's it. The file is yours now, so you can change anything inside it.
page.tsx
import MagneticButton from "@/components/ui/MagneticButton";Good to know
Quick answers
Yes. Uilora components are styled with Tailwind CSS, so your project needs it set up. New Next.js apps can include it when you create them.
Where to next
