You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
하지만 Shadcn ui는 MUI와 같이 직접적인 UI 공유이기 때문에 필요성에 모호함을 느끼고 있다. 자율성을 추구하는 디자이너들 입장에선 정해져있는 UI들을 재활용한다면 관연 디자인이란 정체성과 앞으로 작업, 브렌딩을 함에 있어서 좋은 결과를 만들어 낼 수 있는가? 이는 디자이너와 소통을 통해 해결해야하는 부분이라고 생각한다. 단, Shadcn ui Dcomunet를 보면 Figma 디자인을 지원한다.
각 설치한 툴과 라이브러리의 차이점
특징
Tailwind CSS
Shadcn UI
CVA
역할
유틸리티 클래스로 스타일 정의
Tailwind 기반의 UI 컴포넌트 제공
Tailwind 클래스 조합 및 변형 관리 도구
직접적인 UI 제공
❌ 직접 구현해야 함
✅ 프로덕션 레디 컴포넌트 제공
❌ UI 제공 없음, Tailwind 관리 도구
커스터마이징
완전히 자유로움
Tailwind를 활용한 커스터마이징 가능
Tailwind 클래스를 기반으로 상태 관리
사용 목적
CSS 작성 단순화
빠르고 일관된 UI 구성
복잡한 클래스 조합 및 상태 관리 간소화
대상 사용자
CSS를 직접 다루려는 개발자
빠르게 UI를 구축하려는 개발자
Tailwind로 UI 상태를 동적으로 관리하려는 개발자
Error Code
~\trendgarage\front>pnpm list shadcn-ui
Legend: production dependency, optional only, dev only
front@0.1.0 D:\myclass\0_Programming-content\trendgarage\front (PRIVATE)
devDependencies:
shadcn-ui 0.9.3
D:\myclass\0_Programming-content\trendgarage\front>pnpm exec shadcn-ui init
'shadcn-ui' is not recognized as an internal or external command,
operable program or batch file.
ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "shadcn-ui" not found
🔗유요한 TailwindCSS만들기
각 설치한 툴과 라이브러리의 차이점
Error Code
위의 경험으로 더 나은 환경 만들기(ref 참조)