Home > Mobile >  Is there a way to get rid of css with react?
Is there a way to get rid of css with react?

Time:12-06

Helo, I am new to reactJS. I am currently doing a full stack job on a forum-like website.

I was naively wondering if there is no way to just ignore the CSS step...
For example, I want to declare a standard component, let's say a button or a form.
I just want to simply set the className so the it matches with the CSS stuff.

I did some search, and found nothing very convenient.

And of course, this "library" has to be open-source.

Don't know if I am clear.

Thank you.

CodePudding user response:

Hi from the looks of it and the comments, it looks like you want a pre-built UI library. Basically, for React these are called UI Libraries, we have React-Bootstrap, Material UI and Kendo UI as UI libraries. They have pre-made React components with all the styling already implemented and any customization can be done separately.

You can have a look at React-Bootstrap for an easy solution to your problem.

  • Related