A simple, fun project for the sake of creating some cool-looking abstract shapes with little grainy gradients crafted by @realvjy. Coolshapes is a completely open-source set of 100+ abstract shapes crafted for any design and development projects. Free for both commercial and personal use. Licensed under MIT.
This repository contains the source code for the landing page of coolshap.es Coded in Nextjs and deployed on vercel
You can directly copy from website or download figma file
Grab this figma file fromt he community
Copy or download the svg
/ png
file from website coolshap.es
npm install coolshapes-react
or
yarn add coolshapes-react
Just import the Global component Coolshape
and it will work.
import { Coolshape } from "coolshapes-react";
const App = () => {
return <Coolshape type="star" index={0} size={48} noise={true} />;
};
export default App;
You can import the component for specific category - Star
,Ellipse
... etc - and simply pass the index of the shape.
import { Star } from "coolshapes-react";
const App = () => {
return <Star index={0} size={48} />;
};
export default App;
Check this detailed Documentations for all props details
Created by @realvjy. You are always welcome to share your feedback on twitter or any social media platform.
If you want to contribute. Just create a pull request.
Coffee fuels coding ☕️