11import { Button } from '@shared/ui/Button/Button' ;
22import { Card } from '@shared/ui/Card/Card' ;
33import { Checkbox } from '@shared/ui/Checkbox/Checkbox' ;
4+ import { Profile } from '@shared/ui/Profile/Profile' ;
45import { RadioButton } from '@shared/ui/RadioButton/RadioButton' ;
56
67export default function Playground ( ) {
78 return (
89 < div className = "flex flex-col gap-6 p-8" >
910 < h1 className = "typo-title-2" > UI Playground</ h1 >
1011
12+ { /* Button */ }
1113 < section className = "flex flex-col gap-4" >
1214 < h2 className = "typo-body-1" > Button</ h2 >
1315 < p className = "typo-caption-2 text-gray-600" >
1416 Hover와 Focus 상태를 확인하려면 마우스를 올리거나 Tab 키로 포커스를 이동하세요.
1517 </ p >
18+
1619 < div className = "flex flex-col gap-4" >
1720 < div className = "flex items-center gap-4" >
1821 < span className = "typo-caption-1 w-24" > Fill</ span >
@@ -21,6 +24,7 @@ export default function Playground() {
2124 Disabled
2225 </ Button >
2326 </ div >
27+
2428 < div className = "flex items-center gap-4" >
2529 < span className = "typo-caption-1 w-24" > Outline</ span >
2630 < Button variant = "outline" > Default</ Button >
@@ -31,6 +35,7 @@ export default function Playground() {
3135 </ div >
3236 </ section >
3337
38+ { /* Checkbox */ }
3439 < section className = "flex flex-col gap-4" >
3540 < h2 className = "typo-body-1" > Checkbox</ h2 >
3641 < div className = "flex flex-col gap-2" >
@@ -41,6 +46,7 @@ export default function Playground() {
4146 </ div >
4247 </ section >
4348
49+ { /* Radio Button */ }
4450 < section className = "flex flex-col gap-4" >
4551 < h2 className = "typo-body-1" > Radio Button</ h2 >
4652 < div className = "flex flex-col gap-2" >
@@ -50,6 +56,38 @@ export default function Playground() {
5056 < RadioButton checked disabled label = "Selected + Disabled" />
5157 </ div >
5258 </ section >
59+
60+ { /* Profile */ }
61+ < section className = "flex flex-col gap-4" >
62+ < h2 className = "typo-body-1" > Profile</ h2 >
63+ < p className = "typo-caption-2 text-gray-600" >
64+ size variant 및 placeholder 상태를 확인합니다.
65+ </ p >
66+
67+ < div className = "flex items-center gap-10" >
68+ < div className = "flex flex-col items-center gap-2" >
69+ < Profile size = "sm" imageUrl = "/profile-sample.jpg" />
70+ < span className = "typo-caption-2" > Small Image</ span >
71+ </ div >
72+
73+ < div className = "flex flex-col items-center gap-2" >
74+ < Profile size = "lg" imageUrl = "/profile-sample.jpg" />
75+ < span className = "typo-caption-2" > Large Image</ span >
76+ </ div >
77+
78+ < div className = "flex flex-col items-center gap-2" >
79+ < Profile size = "sm" />
80+ < span className = "typo-caption-2 text-gray-500" > Small Placeholder</ span >
81+ </ div >
82+
83+ < div className = "flex flex-col items-center gap-2" >
84+ < Profile size = "lg" />
85+ < span className = "typo-caption-2 text-gray-500" > Large Placeholder</ span >
86+ </ div >
87+ </ div >
88+ </ section >
89+
90+ { /* Card */ }
5391 < section className = "flex flex-col gap-4" >
5492 < h2 className = "typo-body-1" > Card</ h2 >
5593
0 commit comments