コンポーネント いいね/リアクションボタン Like/Reaction Buttons コンポーネント

Like/Reaction Buttons コンポーネント

Glassmorphism スタイルの Like/Reaction Buttons コンポーネントで、レスポンシブ エフェクトと Tailwind CSS を使用したダーク モードのサポートを備えています。

プレビュー

HTMLコード

<div class="flex justify-center items-center space-x-4 p-6 bg-white bg-opacity-10 backdrop-blur-lg rounded-lg shadow-lg dark:bg-gray-800 dark:bg-opacity-30">
    <div class="flex items-center space-x-2">
        <img class="w-8 h-8 rounded-full" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
        <span class="text-lg text-gray-900 dark:text-white">Like</span>
    </div>
    <button class="flex items-center p-2 text-white bg-blue-500 rounded-full transition duration-300 ease-in-out hover:bg-blue-600 focus:outline-none">
        <span class="material-icons"> thumb_up </span>
    </button>
    <button class="flex items-center p-2 text-white bg-red-500 rounded-full transition duration-300 ease-in-out hover:bg-red-600 focus:outline-none">
        <span class="material-icons"> favorite </span>
    </button>
    <button class="flex items-center p-2 text-white bg-yellow-500 rounded-full transition duration-300 ease-in-out hover:bg-yellow-600 focus:outline-none">
        <span class="material-icons"> sentiment_satisfied </span>
    </button>
</div>

<style>
    /* Add Material Icons font link */
    @import url('https://fonts.googleapis.com/icon?family=Material+Icons');
</style>

関連コンポーネント

Like/Reaction Buttons コンポーネント

ダッシュボードに適した、マイクロインタラクション、類似の配色、レスポンシブデザイン、ダークテーマのサポートを備えた複雑な「いいね/リアクションボタン」コンポーネント。Tailwind CSSを使用し、魅力的なアニメーションを備えた複数のインタラクティブ要素が含まれています。

開ける

Like/Reaction Buttons コンポーネント

マイクロインタラクションを備えた「いいね」ボタンと「リアクション」ボタンを備えたWebコンポーネントで、Tailwind CSSを使用したダークテーマのサポートがあります。

開ける

いいね/リアクションボタン

レトロ/ビンテージデザインのいいね/リアクションボタンコンポーネント

開ける