3Dデザイン、レスポンシブエフェクト、ダークテーマをサポートする検索ボックスコンポーネント。
<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900"> <div class="relative w-full max-w-md"> <input type="text" class="w-full px-5 py-3 text-gray-800 placeholder-gray-500 bg-white border border-gray-300 rounded-full shadow-lg dark:bg-gray-700 dark:text-gray-200 dark:placeholder-gray-400 dark:border-gray-600 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-600 transition transform duration-300 ease-in-out hover:scale-105 focus:scale-105" placeholder="Search..." /> <button class="absolute inset-y-0 right-0 flex items-center px-4 text-white bg-blue-600 rounded-r-full hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 dark:focus:ring-blue-600 transition transform duration-300 ease-in-out hover:scale-105" > <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" > <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" ></path> </svg> </button> </div> </div>
ダークテーマのサポート、アースカラーの配色、最小限のデザインを備えたレスポンシブ検索ボックスコンポーネント。
現実世界の要素を模倣したスキューモーフィックなデザインの検索ボックスコンポーネントで、応答性とダークテーマのサポートが特徴です。
Tailwind CSSを使用したBrutalismスタイルでデザインされた検索ボックスコンポーネント。ハイコントラストデザイン、レスポンシブエフェクトが特徴で、ダークテーマをサポートします。