Welcome to AestheticHub, a modern frontend library designed to provide prebuilt UI components for React applications. This project aims to help developers speed up UI development by offering ready-to-use, customizable components built with the latest frontend technologies, including Tailwind CSS, Material-UI (MUI), Radix UI, and more.
With AestheticHub, you no longer need to start from scratch or spend hours designing and coding UI elements. Instead, you can focus on building amazing applications with a seamless user experience.
- π 100+ Prebuilt Components β Ready-to-use components for various use cases.
- π¨ Supports Multiple UI Libraries β Tailwind CSS, MUI, ShadCN, Radix UI, and more.
- β‘ Optimized for Performance β Efficient, lightweight, and production-ready.
- π Dark Mode Support β Built-in dark mode compatibility.
- π Plug & Play β Import, customize, and integrate with ease.
- π Developer-Friendly β Well-structured codebase, easy to extend and modify.
- React 18 β Modern React with hooks and functional components.
- Tailwind CSS β A utility-first CSS framework for rapid UI development.
- Material-UI (MUI) / ShadCN β A powerful UI component library.
- Framer Motion β Smooth animations and transitions.
- React Icons / Lucide Icons β A collection of high-quality icons.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend using TypeScript and enable type-aware lint rules. Check out the TS template to integrate TypeScript and typescript-eslint
in your project.
Make sure you have the following installed:
Clone the repository and install the dependencies:
git clone https://github.com/your-username/your-repo-name.git
cd your-repo-name
npm install
# or
yarn install
Start the development server with hot module replacement:
npm run dev
# or
yarn dev
Build the application for production:
npm run build
# or
yarn build
Preview the production build locally:
npm run serve
# or
yarn serve
your-repo-name/
βββ public/ # Static assets
βββ src/ # Source code
β βββ assets/ # Assets like images, fonts, etc.
β βββ components/ # React components
β βββ pages/ # Page components
β βββ App.jsx # Main App component
β βββ main.jsx # Entry point
β βββ ... # Other files
βββ .eslintrc.js # ESLint configuration
βββ vite.config.js # Vite configuration
βββ package.json # Project metadata and scripts
βββ README.md # Project documentation
In the project directory, you can run:
npm run dev
oryarn dev
: Runs the app in the development mode.npm run build
oryarn build
: Builds the app for production.npm run serve
oryarn serve
: Serves the production build locally.npm run lint
oryarn lint
: Lints the codebase using ESLint.
- Fast Refresh: Instant feedback on edits with hot module replacement.
- ESLint: Linting for maintaining code quality.
- Production Build: Optimized build for production deployment.
- Static Assets: Easy management of static assets like images and fonts.
- React: A JavaScript library for building user interfaces.
- Vite: A build tool that provides a fast development environment.
- ESLint: A tool for identifying and fixing problems in JavaScript code.
- Babel/SWC: JavaScript compilers for transforming code.
-
Port Already in Use: If the development server fails to start because the port is already in use, you can specify a different port by running:
npm run dev -- --port 3001 # or yarn dev --port 3001
-
Module Not Found: If you encounter a "module not found" error, make sure all dependencies are installed correctly by running:
npm install # or yarn install
To learn more about React and Vite, check out the following resources:
If you have suggestions for improving this project, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the https://github.com/NhanPhamThanh-IT/UI-UX-Template?tab=MIT-1-ov-file file for details.