组件 社交分享按钮 社交分享按钮组件

社交分享按钮组件

一个使用 Tailwind CSS 设计的极简社交分享按钮组件,具有响应式布局和深色主题支持。该组件包括用于在流行社交媒体平台上分享的按钮,采用干净简单的设计元素。

预览

HTML 代码

<div class="flex flex-col md:flex-row justify-center items-center space-x-4 p-4 bg-white dark:bg-gray-800 rounded-lg shadow">
    <div class="flex items-center space-x-2">
        <img src="https://picsum.photos/30" alt="Avatar" class="w-8 h-8 rounded-full" />
        <span class="text-gray-800 dark:text-gray-200">Share with:</span>
    </div>
    <a href="#" class="flex items-center justify-center w-10 h-10 rounded-full bg-blue-500 hover:bg-blue-600 text-white transition duration-200 ease-in-out">
        <img src="https://img.icons8.com/ios-filled/50/ffffff/facebook-new.png" alt="Facebook" class="w-6 h-6" />
    </a>
    <a href="#" class="flex items-center justify-center w-10 h-10 rounded-full bg-blue-400 hover:bg-blue-500 text-white transition duration-200 ease-in-out">
        <img src="https://img.icons8.com/ios-filled/50/ffffff/twitter-squared.png" alt="Twitter" class="w-6 h-6" />
    </a>
    <a href="#" class="flex items-center justify-center w-10 h-10 rounded-full bg-red-500 hover:bg-red-600 text-white transition duration-200 ease-in-out">
        <img src="https://img.icons8.com/ios-filled/50/ffffff/instagram-new.png" alt="Instagram" class="w-6 h-6" />
    </a>
    <a href="#" class="flex items-center justify-center w-10 h-10 rounded-full bg-gray-800 hover:bg-gray-600 text-white transition duration-200 ease-in-out">
        <img src="https://img.icons8.com/ios-filled/50/ffffff/linkedin.png" alt="LinkedIn" class="w-6 h-6" />
    </a>
</div>

相关组件

社交分享按钮组件

用于深色模式 UI 的社交分享按钮组件,使用 Tailwind CSS、灰度配色方案、简单复杂性,用于投资组合目的,具有深色主题的响应式设计。

打开

Social Share Buttons 组件

具有单色配色方案的 retro/vintage social share buttons 组件。它是一个复杂的响应式设计,支持深色主题,适用于投资组合。使用不带 JavaScript 的 Tailwind CSS。

打开

社交分享按钮组件

一个以80年代/90年代复古/经典美学风格设计的响应式社交分享按钮组件,具备深色主题支持,使用 Tailwind CSS 和占位符图像。

打开