Add component library initialization option to create-next-app #82999
Sudhanshu062
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
shadcn
,tremor
, or none) during thecreate-next-app
setup.Non-Goals
Background
When starting a new project with
create-next-app
, developers often follow up with manual setup steps to add a UI/component library. Libraries likeshadcn/ui
andtremor
are increasingly popular in the Next.js community, and scaffolding support could significantly streamline the initial developer experience.Proposal
Introduce an additional prompt during the
create-next-app
initialization flow:Based on the selection, the CLI would:
shadcn/ui
or@tremor/react
)npx shadcn-ui@latest init
)This would be an opt-in feature, preserving the zero-config behavior for users who select "none."
Are you interested in contributing?
Yes, I would be interested in contributing to this feature.
Beta Was this translation helpful? Give feedback.
All reactions