@@ -26,58 +26,9 @@ export default function Page() {
26
26
< h1 className = "text-5xl font-medium" > Input</ h1 >
27
27
< p className = "mt-4 text-xl text-gray-600" > Fundamental component for inputs.</ p >
28
28
29
- < Example className = "mt-4 flex-col gap-6" >
30
- < div className = "flex gap-2" >
31
- < Select >
32
- < SelectTrigger className = "w-[180px]" >
33
- < SelectValue placeholder = "Select a fruit" />
34
- </ SelectTrigger >
35
- < SelectContent >
36
- < SelectGroup >
37
- < SelectLabel > Fruits</ SelectLabel >
38
- < SelectItem value = "apple" > Apple</ SelectItem >
39
- </ SelectGroup >
40
- </ SelectContent >
41
- </ Select >
42
- < Input placeholder = "Enter a username" />
43
- < Button priority = "muted" appearance = "outline" type = "button" >
44
- Submit
45
- </ Button >
46
- </ div >
47
- < div className = "flex gap-2" >
48
- < Select >
49
- < SelectTrigger className = "w-[180px]" >
50
- < SelectValue placeholder = "Select" />
51
- </ SelectTrigger >
52
- < SelectContent >
53
- < SelectGroup >
54
- < SelectLabel > Fruits</ SelectLabel >
55
- < SelectItem value = "apple" > Apple</ SelectItem >
56
- </ SelectGroup >
57
- </ SelectContent >
58
- </ Select >
59
- < Input placeholder = "Enter a username" state = "danger" />
60
- < Button priority = "danger" appearance = "outline" type = "button" >
61
- Submit
62
- </ Button >
63
- </ div >
64
- < div className = "flex gap-2" >
65
- < Select disabled >
66
- < SelectTrigger className = "w-[180px]" >
67
- < SelectValue placeholder = "Select" />
68
- </ SelectTrigger >
69
- < SelectContent >
70
- < SelectGroup >
71
- < SelectLabel > Fruits</ SelectLabel >
72
- < SelectItem value = "apple" > Apple</ SelectItem >
73
- </ SelectGroup >
74
- </ SelectContent >
75
- </ Select >
76
- < Input placeholder = "Enter a username" disabled />
77
- < Button priority = "muted" appearance = "outline" type = "button" disabled >
78
- Submit
79
- </ Button >
80
- </ div >
29
+ < Example className = "mt-4 flex-col gap-4" >
30
+ < Input className = "max-w-64" placeholder = "Enter a username" />
31
+ < Input className = "max-w-64" placeholder = "Enter a username" state = "danger" />
81
32
</ Example >
82
33
< CodeBlock className = "rounded-b-lg rounded-t-none" >
83
34
< CodeBlockBody >
0 commit comments