ixartz / Next-js-Boilerplate

🚀🎉📚 Boilerplate and Starter for Next.js 14+ with App Router and Page Router support, Tailwind CSS 3.4 and TypeScript ⚡️ Made with developer experience first: Next.js + TypeScript + ESLint + Prettier + Drizzle ORM + Husky + Lint-Staged + Vitest + Testing Library + Playwright + Storybook + Commitlint + VSCode + Netlify + PostCSS + Tailwind CSS ✨
https://nextjs-boilerplate.com
MIT License
8.7k stars 1.67k forks source link

feat(ui): added shadcn ui library #273

Closed ali-eljerrari closed 4 months ago

ixartz commented 4 months ago

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

ali-eljerrari commented 4 months ago

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.

ixartz commented 4 months ago

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'

ali-eljerrari commented 4 months ago

yeah, shadcn on the other hand uses the CLI

ixartz commented 4 months ago

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