25 lines
967 B
TypeScript
25 lines
967 B
TypeScript
|
|
import { Input } from '@/components/ui/input';
|
||
|
|
import { Search } from 'lucide-react';
|
||
|
|
|
||
|
|
export default function SearchBar() {
|
||
|
|
return (
|
||
|
|
<div className="flex justify-center w-full my-6">
|
||
|
|
<div
|
||
|
|
className="flex items-center bg-white rounded-xl shadow-md px-4"
|
||
|
|
style={{ width: 613, height: 50 }}
|
||
|
|
>
|
||
|
|
<select className="bg-transparent outline-none text-gray-700 font-medium pr-2 h-full">
|
||
|
|
<option className="text-[14px] font-400">All</option>
|
||
|
|
</select>
|
||
|
|
<span className="mx-2 text-gray-300">|</span>
|
||
|
|
<Search className="w-5 h-5 text-gray-400 mr-2" />
|
||
|
|
<Input
|
||
|
|
type="text"
|
||
|
|
className="flex-1 bg-transparent outline-none text-gray-700 placeholder-gray-400 border-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 h-full"
|
||
|
|
placeholder="Search images, videos, fonts, graphics and more"
|
||
|
|
style={{ height: 48 }}
|
||
|
|
/>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|