@@ -75,8 +75,9 @@ Use the simplest form of a search input component with an icon and a search butt
75
75
</script>
76
76
77
77
<form id="example-form">
78
- <Search bind:value={elementTxt} bind:elementRef={searchRef} class="my-4" />
78
+ <Search bind:value={elementTxt} bind:elementRef={searchRef} />
79
79
<Button
80
+ class="mt-2"
80
81
onclick={() => {
81
82
searchRef?.setRangeText("ALREADY", 14, 17, "select");
82
83
searchRef?.select();
@@ -136,7 +137,7 @@ Use this search component with a dropdown to let your users select a category in
136
137
{/each}
137
138
</Dropdown>
138
139
</div>
139
- <Search size="lg" class ="rounded-none py-2.5" placeholder="Search Mockups, Logos, Design Templates..." />
140
+ <Search size="lg" inputClass ="rounded-none py-2.5" placeholder="Search Mockups, Logos, Design Templates..." />
140
141
<Button class="rounded-s-none p-2!">
141
142
<SearchOutline class="h-6 w-6" />
142
143
</Button>
@@ -201,7 +202,7 @@ Use this example where you can select a country in which you want to search for
201
202
{/each}
202
203
</Dropdown>
203
204
</div>
204
- <Search size="lg" class ="rounded-none py-2.5" placeholder="Search Mockups, Logos, Design Templates..." />
205
+ <Search size="lg" inputClass ="rounded-none py-2.5" placeholder="Search Mockups, Logos, Design Templates..." />
205
206
<Button class="rounded-s-none p-2!">
206
207
<SearchOutline class="h-6 w-6" />
207
208
</Button>
@@ -222,7 +223,7 @@ Get started with this example if you would like to enable voice search for your
222
223
</script>
223
224
224
225
<form class="flex gap-2">
225
- <Search hideClear size="lg" class ="flex items-center gap-2" placeholder="Search Mockups, Logos, Design Templates...">
226
+ <Search hideClear size="lg" inputClass ="flex items-center gap-2" placeholder="Search Mockups, Logos, Design Templates...">
226
227
<button type="button" onclick={handleVoiceBtn} class="outline-hidden">
227
228
<MicrophoneSolid class="me-2 h-5 w-5" />
228
229
</button>
0 commit comments