Форматтеры и код
Генератор Компонентов shadcn/ui
Compose shadcn primitives into ready-to-paste components.
shadcn primitives
Примечание редактора
Understanding · Not a library. A copy-paste project.
Эта углублённая глава пока доступна только на английском языке. Инструмент конвертации выше работает на вашем языке; развёрнутая статья ещё не переведена.
Часто задаваемые вопросы
Quick answers.
›Do I need to install shadcn/ui first?
Yes. This tool generates code that assumes you have the `shadcn-ui` CLI configured and the necessary primitives installed via `npx shadcn-ui@latest add`.
›Is the code compatible with Next.js?
Yes. The generated output uses standard React and Tailwind CSS conventions that work in Next.js, Vite, and other modern frameworks.
›Does this support TypeScript?
The generator provides TypeScript-first code by default, including the necessary types for props and component refs.
›Can I customise the styling?
The output uses Tailwind CSS utility classes. You can modify the generated classes directly in your editor to match your specific design requirements.
Люди также ищут
Связанные инструменты
More in this room.
- JSON в React Hook Form + ZodТиповая схема формы и хук useForm из JSON-структуры.
- JSON в Next.js Server ActionServer Action с разбором Zod и revalidatePath.
- JSON в модель схемы PrismaСоздайте блок модели Prisma из примера JSON.
- JSON в схему Drizzle ORMОпределение Drizzle pgTable с $inferSelect / $inferInsert.
- JSON в сущность TypeORMКласс TypeORM @Entity с декораторами и сгенерированным id.
- JSON в схему + модель MongooseСхема + модель Mongoose с временными метками и типами.