DEV Community

Cover image for 40+ Frontend UI Components
shrey vijayvargiya
shrey vijayvargiya

Posted on

40+ Frontend UI Components

iHateReading Custom Repo

For the past month, I've been making a lot of UI components that are real-world web components such as Button, Inputs, Forms, Banners, Galleries

Components made for a few purposes

  • Learn frontend and become better at what I do
  • Improve the ability to write better code in frontend development (I'll explain later what that means)

I am currently tech stack or technology is reactjs along with next.js as the framework and I use Tailwind CSS for styling and GSAP for animation

I can go with any tech stack that's not an issue, so I started with the latest framework and language is reactjs with next.js

Next, I've to choose all the components I should develop that I can personally use as well in my upcoming real-world projects such as payment form, subscribe form, image gallery, buttons, a lot of other UI components, Header components and so on.

iHateReading is a platform by a developer for a developer and for the past 2 years I have been sharing blogs as well newsletters on ihatereading.in.

This is the right time to introduce some new changes or new features that is custom repo or custom code or whatever you want to call it, to bring back what this platform is all about.

Now comes what are these components made up of, all the components are made using the following modules

  1. Reactjs
  2. Tailwind CSS
  3. GSAP for animation
  4. Mantine.dev UI library (if required)

I am trying to go for a headless UI component meaning only functionality will be added without any styling or framework dependency in this way lot of developers can easily copy-paste the code and use it directly to develop fast.

While developing these components if you see the first component I've shared on https://ihatereading.in/customrepo and compare it with the new or latest component, one can easily find the difference.

Less dependencies less javascript and more optimised and reusable code components.

All the credit goes to research and blog I did last year, Why JavaScript reduces website performance? because the browser takes a lot of time to parse JS as compared to CSS. Thereby reducing JS will improve the website performance as well.

In addition, CSS nowadays is becoming so strong that very little JS is required to bring cool animations to the website and a lot of developers are not paying much attention to it that is another motto for using more CSS > less JS.

40 components have been added so far and I am working on more, if you have any idea of what kind of components or forms or tools I can make add them in the comment section I'll certainly follow the lead.

I am actively sharing the components development news on Twitter and LinkedIn as well as pushing the code on ihatereading.in/customrepo

Feel free to check them out, and let me know what more to add and create.

Cheers
Shrey

Top comments (0)