Skip to content

Commit 58460bb

Browse files
committed
✨ style: add search icon in the bar
1 parent e211ef2 commit 58460bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/features/SearchBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ interface SearchBarProps {
99
export function SearchBar({ value, onChange }: SearchBarProps) {
1010
return (
1111
<div className="relative">
12-
<Search className="absolute left-4 top-1/2 -translate-y-1/2 h-5 w-5 text-gray-400 transition-all" />
1312
<input
1413
type="text"
1514
value={value}
1615
onChange={onChange}
1716
placeholder="Search tools..."
1817
className="w-full pl-12 pr-6 py-3 bg-white/80 backdrop-blur-sm border border-gray-200 rounded-lg focus:ring-2 focus:ring-cornflower-blue focus:border-cornflower-blue outline-none transition-all duration-300 ease-in-out hover:border-gray-300 hover:bg-white/90"
1918
/>
19+
<Search className="absolute left-4 top-1/2 -translate-y-1/2 h-5 w-5 text-gray-400 transition-all" />
2020
</div>
2121
);
2222
}

0 commit comments

Comments
 (0)