StaticMania / keep-react

Keep React is an open-source component library built on Tailwind CSS and React.js. It provides a versatile set of pre-designed UI components to build modern web applications.
https://react.keepdesign.io
MIT License
1.34k stars 113 forks source link

[Feature] : Add ClassName In Every Component #18

Closed Arifulislam5577 closed 12 months ago

Arifulislam5577 commented 1 year ago

ClassName props add in every component so that tailwind class can be apply in component

Nasirahamad88 commented 1 year ago

Do you want dynamically apply Tailwind CSS classes to a React component based on the className prop

devaoto commented 1 year ago

Yes, custom styles, especially on components like the Navbar, are often necessary for optimal design.

Arifulislam5577 commented 1 year ago

@Nasirahamad88 yes, We want developers to be able to design our components however they want. And they can apply their classes on top of our defined classes via className props. This will cover our two sides.

  1. Component based library
  2. Utility class based library.

We think if this feature can be added then the developer experience will be better. And they're not just stuck inside our rules.