组件 社交分享按钮 Social Share Buttons 组件

Social Share Buttons 组件

一个响应式社交分享按钮组件,采用玻璃形态风格设计,具有用于电子商务网站的单色配色方案。它具有磨砂玻璃般的半透明元素,包括多个用于在社交媒体上分享的交互式按钮,并具有使用 Tailwind CSS 的暗模式支持。

预览

HTML 代码

<div class="flex justify-center items-center p-6 bg-white dark:bg-gray-800 bg-opacity-40 backdrop-filter backdrop-blur-lg rounded-lg shadow-lg space-x-4">
    <div class="flex flex-col items-center">
        <img src="https://picsum.photos/200/200" alt="Product Image" class="w-24 h-24 rounded-lg mb-2">
        <h2 class="text-lg text-gray-800 dark:text-gray-200">Share this product</h2>
    </div>
    <div class="flex space-x-4">
        <a href="#" class="flex items-center justify-center w-12 h-12 rounded-full bg-blue-500 text-white hover:bg-blue-700 transition-all duration-300 shadow-lg dark:bg-blue-600 dark:hover:bg-blue-800">
            <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-12 h-12 rounded-full bg-blue-400 text-white hover:bg-blue-600 transition-all duration-300 shadow-lg dark:bg-blue-500 dark:hover:bg-blue-700">
            <img src="https://img.icons8.com/ios-filled/50/ffffff/twitter.png" alt="Twitter" class="w-6 h-6">
        </a>
        <a href="#" class="flex items-center justify-center w-12 h-12 rounded-full bg-pink-500 text-white hover:bg-pink-700 transition-all duration-300 shadow-lg dark:bg-pink-600 dark:hover:bg-pink-800">
            <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-12 h-12 rounded-full bg-red-500 text-white hover:bg-red-700 transition-all duration-300 shadow-lg dark:bg-red-600 dark:hover:bg-red-800">
            <img src="https://img.icons8.com/ios-filled/50/ffffff/pinterest.png" alt="Pinterest" class="w-6 h-6">
        </a>
    </div>
</div>

相关组件

社交分享按钮组件

一个具有复古/怀旧设计的社交分享按钮组件,采用土色调配色方案,简单复杂度,响应式设计,并支持黑暗主题,用于社交媒体目的,使用Tailwind CSS。

打开

社交分享按钮组件

一个具有拟物化设计风格的响应式社交分享按钮组件,模仿现实世界中的对应物,支持暗主题。

打开

社交分享按钮组件

社交分享按钮组件,具有粗野主义设计、充满活力的配色方案和复杂的电子商务复杂性级别,具有响应式设计和使用 Tailwind CSS 的深色主题支持。无 JavaScript。

打开