The NEUMORPHISM UI Generator is an interactive web tool that allows users to create and customize neomorphic user interface elements in real-time. This project provides a visual interface for designers and developers to experiment with neomorphic designs and generate the corresponding CSS code.
- Real-time preview of neomorphic elements
- Customizable color picker with hex code input
- Adjustable size, border radius, shadow distance, and intensity
- Four shape options: flat, concave, convex, and pressed
- Light direction control for shadow positioning
- Custom shadow color options
- Predefined color combinations for quick styling
- Responsive design for various screen sizes
- Copy-to-clipboard functionality for generated CSS code
- Smooth animations and transitions for enhanced user experience
- HTML5
- CSS3
- Vanilla JavaScript (ES6+)
No external frameworks or libraries were used in the development of this project, making it lightweight and easily integrable into various web environments.
- Clone the repository or download the source files.
- Open the
index.html
file in a modern web browser. - No additional setup or installation is required.
- Use the color picker or enter a hex code to choose the base color.
- Adjust the sliders to modify size, border radius, shadow distance, and intensity.
- Select a shape option (flat, concave, convex, or pressed).
- Choose a light direction to adjust shadow positioning.
- Optionally, select custom shadow colors or use predefined color combinations.
- The preview updates in real-time as you make changes.
- Copy the generated CSS code using the "Copy CSS" button.
index.html
: The main HTML file containing the structure of the UI generator.styles.css
: Contains all the CSS styles for the project, including neomorphic designs.script.js
: The JavaScript file that handles all the interactive functionality and real-time updates.
This project is compatible with modern web browsers that support ES6+ JavaScript features and current CSS standards. It has been tested on:
- Google Chrome (latest version)
- Mozilla Firefox (latest version)
- Microsoft Edge (latest version)
- Safari (latest version)
The NEUMORPHISM UI Generator is designed to be lightweight and performant. All calculations and updates are done client-side, ensuring quick response times and smooth interactions.
Developers can easily extend the functionality of this tool by:
- Adding new shape options in the HTML and JavaScript files.
- Implementing additional color schemes or design patterns.
- Expanding the generated CSS output to include vendor prefixes or additional properties.
Contributions to improve the NEUMORPHISM UI Generator are welcome. Please follow these steps:
- Fork the repository.
- Create a new branch for your feature.
- Commit your changes.
- Push to the branch.
- Create a new Pull Request.
This project is open-source and available under the MIT License.
- Inspired by the NEUMORPHISM design trend in UI/UX.
- Color manipulation algorithms adapted from various open-source projects.
Instagram: @patel_divyanshu_ LinkedIn: Divyanshu Patel GitHub: divyanshupatel17 Email: [email protected]
For any queries or suggestions, please open an issue in the GitHub repository.
We hope you enjoy using the NEUMORPHISM UI Generator for your design projects! Live : https://make-your-own-neumorphism.vercel.app/