Skip to content

포매터 및 코드

shadcn/ui 컴포넌트 생성기

Compose shadcn primitives into ready-to-paste components.

Runs in your browser

shadcn primitives

UserCard.tsx
lines: 20chars: 568size: 568 B
live

편집자 노트

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.

모두 보기 포매터 및 코드