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

社交分享按钮组件

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

预览

HTML 代码

<div class="p-5 bg-gray-200 dark:bg-gray-800 rounded-lg shadow-md flex flex-col items-center space-y-4">
    <h2 class="text-lg font-bold">Share this Post</h2>
    <div class="flex space-x-4">
        <a href="#" class="flex items-center justify-center w-12 h-12 bg-white dark:bg-gray-700 rounded-full shadow-md hover:shadow-lg transform transition-all duration-200 hover:scale-105">
            <img src="https://picsum.photos/30/30?random=1" alt="Facebook" class="rounded-full" />
        </a>
        <a href="#" class="flex items-center justify-center w-12 h-12 bg-white dark:bg-gray-700 rounded-full shadow-md hover:shadow-lg transform transition-all duration-200 hover:scale-105">
            <img src="https://picsum.photos/30/30?random=2" alt="Twitter" class="rounded-full" />
        </a>
        <a href="#" class="flex items-center justify-center w-12 h-12 bg-white dark:bg-gray-700 rounded-full shadow-md hover:shadow-lg transform transition-all duration-200 hover:scale-105">
            <img src="https://picsum.photos/30/30?random=3" alt="LinkedIn" class="rounded-full" />
        </a>
        <a href="#" class="flex items-center justify-center w-12 h-12 bg-white dark:bg-gray-700 rounded-full shadow-md hover:shadow-lg transform transition-all duration-200 hover:scale-105">
            <img src="https://picsum.photos/30/30?random=4" alt="Instagram" class="rounded-full" />
        </a>
    </div>
    <div class="text-sm text-gray-600 dark:text-gray-400">
        <p>Connect with us!</p>
    </div>
</div>

相关组件

社交分享按钮组件

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

打开

拟物化土色社交分享按钮

一组社交分享按钮,采用 Skeuomorphic 设计,使用大地色调。功能包括响应式布局和深色模式支持,以及悬停时的交互式按压效果,完全使用 HTML 和 Tailwind CSS 类构建。

打开

Social Share Buttons 组件

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

打开