Next-js-Boilerplate icon indicating copy to clipboard operation
Next-js-Boilerplate copied to clipboard

feat(ui): added shadcn ui library

Open ali-eljerrari opened this issue 1 year ago • 5 comments

ali-eljerrari avatar Apr 29 '24 16:04 ali-eljerrari

@ali-eljerrari thank you for your PR, but I not really sure we should suggest a UI library for this boilerplate.

ixartz avatar Apr 30 '24 13:04 ixartz

I understand your concern, but incorporating Shadcn can actually streamline our UI development process and ensure consistency across our project. It's a widely-used library with proven reliability and a strong community backing. By leveraging Shadcn, we can enhance our app's aesthetics and user experience while also reducing development time and potential bugs.

ali-eljerrari avatar Apr 30 '24 13:04 ali-eljerrari

One drawback for shadcn UI compared to other library, it makes hard to switch to another library.

In your PR, it makes a lot of change in the boilerplate, which not the case when using other libraries.

In other library, you just need to do npm install xxx and import Button from 'xxx'

ixartz avatar Apr 30 '24 14:04 ixartz

yeah, shadcn on the other hand uses the CLI

ali-eljerrari avatar Apr 30 '24 19:04 ali-eljerrari

Shadcn UI CLI doesn't provide a way to uninstall the library if the developer want to change UI

ixartz avatar May 01 '24 00:05 ixartz