Introducing AlienX extension – The next evolution of UI development.Check it out on VS Code
Enjoy AlienUI React? Give it a star on Github ⭐
A customizable search bar.
A default search bar for searching the galaxy.
import React from "react";
import { GoSearch } from "react-icons/go";
const SearchBar = () => {
return (
<div className="w-[400px] flex items-center bg-gray-100 rounded-full px-4 py-3">
<GoSearch size={20} color="gray" />
<input
placeholder="Search the galaxy..."
className="flex-1 ml-2 text-base border-none outline-none bg-transparent"
/>
</div>
);
};
export default SearchBar;
import React from "react";
import SearchBar from "./components/comp/SearchBar/GalaxySearchBar";
const App = () => {
return (
<div>
<SearchBar />
</div>
);
};
export default App;