A modern, responsive CRUD (Create, Read, Update, Delete) application built with React.js, featuring a clean UI with Tailwind CSS and shadcn/ui components.
- User Management: Complete CRUD operations for user data
- Responsive Design: Optimized for desktop, tablet, and mobile devices
- Modern UI: Built with Tailwind CSS and shadcn/ui components
- Form Validation: Robust form handling with React Hook Form and Zod
- Toast Notifications: User-friendly feedback with Sonner
- Dialog Modals: Clean modal interfaces for user interactions
- Real-time Updates: Instant UI updates without page refresh
- Frontend Framework: React.js 19.1.0
- Build Tool: Vite 7.0.4
- Styling: Tailwind CSS 4.1.11
- UI Components: shadcn/ui
- Form Handling: React Hook Form 7.62.0
- Validation: Zod 4.0.14
- Icons: Lucide React & React Icons
- Notifications: Sonner 2.0.7
- Dialog: Radix UI Dialog
- Node.js (version 18 or higher)
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/prateek-bka/crud-react-js
-
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173
to view the application
npm run dev
- Start development server
crud-react-js/
├── public/
├── src/
│ ├── components/
│ │ ├── ui/ # shadcn/ui components
│ │ ├── AddUser.jsx # User creation/editing form
│ │ ├── Heading.jsx # Application header
│ │ └── ListUsers.jsx # User list and management
│ ├── lib/
│ │ └── utils.js # Utility functions
│ ├── App.jsx # Main application component
│ └── main.jsx # Application entry point
├── package.json
└── README.md
For creating professional screenshots like the ones above, here are popular online tools used by developers:
- Create: Add new users with form validation
- Read: Display users in a responsive table
- Update: Edit existing user information
- Delete: Remove users with confirmation dialog
- Name: User's full name
- Email: Email address
- Role: User's role (manager, developer, devops, etc.)
- Address: User's address
- Responsive Design: Adapts to different screen sizes
- Interactive Elements: Hover effects and smooth transitions
- Confirmation Dialogs: Safe deletion with user confirmation
- Toast Notifications: Success/error feedback
- Form Validation: Real-time input validation
The application uses a consistent design system with:
- Color Palette: Gray tones with blue accents
- Typography: Clean, readable fonts
- Spacing: Consistent padding and margins
- Components: Reusable UI components from shadcn/ui
- Desktop: 1024px and above
The project uses Tailwind CSS v4 with custom configuration for optimal styling.
Configured with React-specific rules for code quality and consistency.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- shadcn/ui for the beautiful UI components
- Tailwind CSS for the utility-first CSS framework
- React Hook Form for form handling
- Vite for the fast build tool
If you have any questions or need help, please open an issue in the GitHub repository.
Made with ❤️ using React.js by Prateek Agrawal