A curated library of beautiful, copy-paste ready React UI components.
Browse components, preview them live in the browser, copy the code, and use them in your projects instantly.
Frontend: https://veltrix-ui.vercel.app
Backend API: https://veltrix-ui-backend.onrender.com
| Technology | Purpose |
|---|---|
| React 18 | UI framework |
| Vite | Build tool & dev server |
| Tailwind CSS | Styling |
| Framer Motion | Animations & micro-interactions |
| GSAP | Advanced scroll animations |
| Babel Standalone | In-browser JSX compilation |
| ESM.sh | Native ES module resolution |
| Monaco Editor | VS Code-like code editor in the browser |
| React Router v6 | Client-side routing |
| Axios | HTTP requests |
| Material UI Icons | Icon library |
| Technology | Purpose |
|---|---|
| Node.js + Express | REST API server |
| MongoDB + Mongoose | NoSQL database |
| MongoDB Atlas | Cloud database hosting |
| JWT (jsonwebtoken) | Authentication tokens |
| bcryptjs | Password hashing |
| CORS | Cross-origin resource sharing |
Veltrix-UI/
├── src/ # Frontend (React)
│ ├── components/
│ │ ├── CardComponent.jsx # Component card with live preview
│ │ ├── LivePreview.jsx # Custom Babel + ESM iframe compiler
│ │ ├── Sidebar.jsx # Navigation sidebar
│ │ ├── MobileSideBar.jsx # Mobile navigation
│ │ ├── DependenciesDropdown.jsx
│ │ └── Footer.jsx
│ ├── context/
│ │ ├── AuthContext.jsx # JWT auth state management
│ │ └── ComponentsContext.jsx # Global components state
│ ├── pages/
│ │ ├── HomePage.jsx # Landing page
│ │ ├── ComponentsPage.jsx # Browse all components
│ │ ├── ComponentDetailPage.jsx # Single component view
│ │ ├── AdminPage.jsx # Secret admin panel (/veltrix-admin)
│ │ └── NotFound.jsx # 404 page
│ └── utils/
│ ├── api.js # Axios instance
│ ├── cn.js # classnames utility
│ └── constants.js # Routes & social links
│
└── server/ # Backend (Node.js)
└── src/
├── config/db.js # MongoDB connection
├── controller/
│ ├── auth.controller.js
│ └── component.controller.js
├── middleware/
│ └── auth.middleware.js # JWT protect middleware
├── models/
│ ├── User.models.js
│ └── Component.models.js
├── routes/
│ ├── auth.routes.js
│ └── component.routes.js
└── index.js # Express app entry point
git clone https://github.com/AwadhDhoot23/Veltrix-UI.git
cd Veltrix-UI
npm install
cd server
npm install
Create a .env file inside the server/ folder:
MONGO_URI=mongodb://127.0.0.1:27017/veltrix-ui
JWT_SECRET=your_secret_key_here
PORT=5000
CLIENT_URL=http://localhost:5173
In one terminal (backend):
cd server
node src/index.js
In another terminal (frontend):
npm run dev
Open http://localhost:5173 in your browser.
The admin panel is hidden at a secret URL. It is not linked anywhere in the public UI.
/veltrix-admin| Method | Endpoint | Description |
|---|---|---|
GET | /api/components | Get all components |
GET | /api/components/:slug | Get component by slug (also increments view count) |
| Method | Endpoint | Description |
|---|---|---|
POST | /api/auth/register | Register a new user |
POST | /api/auth/login | Login and receive JWT token |
GET | /api/auth/me | Get current logged-in user |
| Method | Endpoint | Description |
|---|---|---|
POST | /api/components | Create a new component |
PUT | /api/components/:id | Update a component |
DELETE | /api/components/:id | Delete a component |
| Service | Purpose | Link |
|---|---|---|
| Vercel | Frontend hosting | Auto-deploys from main branch |
| Render | Backend API hosting | Free tier with auto-sleep |
| MongoDB Atlas | Cloud database | Free M0 cluster |
Vercel (Frontend):
VITE_API_URL=https://your-render-backend.onrender.com/api
Render (Backend):
MONGO_URI=mongodb+srv://...your atlas connection string...
JWT_SECRET=your_production_secret_key
CLIENT_URL=https://your-vercel-app.vercel.app
PORT=5000
This is a curated library — components are reviewed and uploaded by the admin to maintain quality. If you'd like to suggest a component, open an issue!
MIT License — feel free to use components in your own projects.
Built with ❤️ by Awadh
A curated library of beautiful, copy-paste ready React UI components.
Browse components, preview them live in the browser, copy the code, and use them in your projects instantly.
Frontend: https://veltrix-ui.vercel.app
Backend API: https://veltrix-ui-backend.onrender.com
| Technology | Purpose |
|---|---|
| React 18 | UI framework |
| Vite | Build tool & dev server |
| Tailwind CSS | Styling |
| Framer Motion | Animations & micro-interactions |
| GSAP | Advanced scroll animations |
| Babel Standalone | In-browser JSX compilation |
| ESM.sh | Native ES module resolution |
| Monaco Editor | VS Code-like code editor in the browser |
| React Router v6 | Client-side routing |
| Axios | HTTP requests |
| Material UI Icons | Icon library |
| Technology | Purpose |
|---|---|
| Node.js + Express | REST API server |
| MongoDB + Mongoose | NoSQL database |
| MongoDB Atlas | Cloud database hosting |
| JWT (jsonwebtoken) | Authentication tokens |
| bcryptjs | Password hashing |
| CORS | Cross-origin resource sharing |
Veltrix-UI/
├── src/ # Frontend (React)
│ ├── components/
│ │ ├── CardComponent.jsx # Component card with live preview
│ │ ├── LivePreview.jsx # Custom Babel + ESM iframe compiler
│ │ ├── Sidebar.jsx # Navigation sidebar
│ │ ├── MobileSideBar.jsx # Mobile navigation
│ │ ├── DependenciesDropdown.jsx
│ │ └── Footer.jsx
│ ├── context/
│ │ ├── AuthContext.jsx # JWT auth state management
│ │ └── ComponentsContext.jsx # Global components state
│ ├── pages/
│ │ ├── HomePage.jsx # Landing page
│ │ ├── ComponentsPage.jsx # Browse all components
│ │ ├── ComponentDetailPage.jsx # Single component view
│ │ ├── AdminPage.jsx # Secret admin panel (/veltrix-admin)
│ │ └── NotFound.jsx # 404 page
│ └── utils/
│ ├── api.js # Axios instance
│ ├── cn.js # classnames utility
│ └── constants.js # Routes & social links
│
└── server/ # Backend (Node.js)
└── src/
├── config/db.js # MongoDB connection
├── controller/
│ ├── auth.controller.js
│ └── component.controller.js
├── middleware/
│ └── auth.middleware.js # JWT protect middleware
├── models/
│ ├── User.models.js
│ └── Component.models.js
├── routes/
│ ├── auth.routes.js
│ └── component.routes.js
└── index.js # Express app entry point
git clone https://github.com/AwadhDhoot23/Veltrix-UI.git
cd Veltrix-UI
npm install
cd server
npm install
Create a .env file inside the server/ folder:
MONGO_URI=mongodb://127.0.0.1:27017/veltrix-ui
JWT_SECRET=your_secret_key_here
PORT=5000
CLIENT_URL=http://localhost:5173
In one terminal (backend):
cd server
node src/index.js
In another terminal (frontend):
npm run dev
Open http://localhost:5173 in your browser.
The admin panel is hidden at a secret URL. It is not linked anywhere in the public UI.
/veltrix-admin| Method | Endpoint | Description |
|---|---|---|
GET | /api/components | Get all components |
GET | /api/components/:slug | Get component by slug (also increments view count) |
| Method | Endpoint | Description |
|---|---|---|
POST | /api/auth/register | Register a new user |
POST | /api/auth/login | Login and receive JWT token |
GET | /api/auth/me | Get current logged-in user |
| Method | Endpoint | Description |
|---|---|---|
POST | /api/components | Create a new component |
PUT | /api/components/:id | Update a component |
DELETE | /api/components/:id | Delete a component |
| Service | Purpose | Link |
|---|---|---|
| Vercel | Frontend hosting | Auto-deploys from main branch |
| Render | Backend API hosting | Free tier with auto-sleep |
| MongoDB Atlas | Cloud database | Free M0 cluster |
Vercel (Frontend):
VITE_API_URL=https://your-render-backend.onrender.com/api
Render (Backend):
MONGO_URI=mongodb+srv://...your atlas connection string...
JWT_SECRET=your_production_secret_key
CLIENT_URL=https://your-vercel-app.vercel.app
PORT=5000
This is a curated library — components are reviewed and uploaded by the admin to maintain quality. If you'd like to suggest a component, open an issue!
MIT License — feel free to use components in your own projects.
Built with ❤️ by Awadh