Yoav Kadosh
Posted on September 2, 2021
I've recently launched gra.dient.art - an advanced online CSS gradient editor that has support for background layering, design tools, free cloud storage, and a growing list of examples. And the best part - it's totally free!
With this editor, you can create your own unique designs, from basic patterns and icons to more complex illustrations and art, all using pure CSS. You can also explore the various different projects on the site if you're looking to use some existing designs, or just learn how it's done.
The editor
The editor was designed to provide a photoshop-like experience, with a toolbar on the left, and panels on the right.
The Toolbar
In the left toolbar, you can find tools for moving, scaling and rotating a gradient background:
You can move a gradient:
Scale it:
And rotate it (only for conic/linear gradients):
The Panels
On the right of the editor you can find a few panels. Each panel is dedicated for a different aspect of the project.
The Gradients Panel
The Gradients panel is where you can see all of your gradients, and add/remove/rename/reorder them.
The Properties Panel
The Properties panel is where you can modify the selected gradient. All of the CSS properties for all the 3 gradient types are supported.
The Code Panel
The Code panel displays the generated CSS code for your project.
The Document Panel
The document panel is used for configuring project-wide things like canvas size, title, description & keywords. Good title & description will help other users find your project when they search for examples on the site. You can use special keywords if you want your project to be featured on one of the project pages. For example, use the pattern
keyword if you want your project to appear under gra.dient.art/explore/patterns
Resizing the panels
The panels are resizable, so you can change the layout to your convenience. As a side note, getting the panels to stack when they resize beyond their siblings was a bit of a challenge, but I love the result 😎. You can see how it looks below:
Examples
Below are some projects you can find on gra.dient.art. Click on any of the images to open it in the editor and inspect it. You can find many more projects here.
Roadmap
In the near future, and depending on the popularity and demand, I plan to add support for the following features:
- Variables - defining and using variables for colors and units, using CSS custom properties.
- Elements - currently, the CSS is applied to a single element, and the most you can do is stack multiple backgrounds to it. This feature will allow the user to create a tree of elements for more complex designs.
- Transformations - Once elements are fully supported, this feature will add support for CSS transforms on the elements - rotate, scale, skew, and translate.
- Open sourcing - I would like to expose some of the components as open source, so that other developers can use them and contribute back.
Technology
Under the hood, Gradient.art uses the following libraries/services, and I would like to express my gratitude to the people behind those projects:
- React
- Next.js
- NextAuth.js
- Recoil.js
- Webrix.js (disclosure - i'm the developer behind this library)
- Vercel
- MongoDB
Conclusion
I hope you find this tool useful, and i'm looking forward to seeing your designs on gra.dient.art! If you encounter any issue, or would like to request some new features, feel free to contact us or file a bug.
Posted on September 2, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.