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

社交分享按钮组件

响应式社交分享按钮,具有 Glassmorphism 风格和鲜艳的色彩,专为博客和内容消费而设计。

预览

HTML 代码

<div class="flex flex-col items-center p-5 bg-white bg-opacity-30 rounded-lg shadow-lg backdrop-blur-lg dark:bg-gray-800 dark:bg-opacity-40">
    <h2 class="text-lg font-semibold text-gray-800 dark:text-white mb-4">Share this Post</h2>
    <div class="flex space-x-4">
        <a href="#" class="flex items-center justify-center p-3 bg-red-500 rounded-full shadow-lg transform hover:scale-105 transition-transform duration-200"
           aria-label="Share on Facebook">
            <img src="https://picsum.photos/30/30" class="h-8 w-8 rounded-full" alt="Facebook">
            <span class="text-white ml-2">Facebook</span>
        </a>
        <a href="#" class="flex items-center justify-center p-3 bg-blue-500 rounded-full shadow-lg transform hover:scale-105 transition-transform duration-200"
           aria-label="Share on Twitter">
            <img src="https://picsum.photos/30/30" class="h-8 w-8 rounded-full" alt="Twitter">
            <span class="text-white ml-2">Twitter</span>
        </a>
        <a href="#" class="flex items-center justify-center p-3 bg-purple-500 rounded-full shadow-lg transform hover:scale-105 transition-transform duration-200"
           aria-label="Share on LinkedIn">
            <img src="https://picsum.photos/30/30" class="h-8 w-8 rounded-full" alt="LinkedIn">
            <span class="text-white ml-2">LinkedIn</span>
        </a>
    </div>
</div>

相关组件

社交分享按钮组件

一个响应式的社交分享按钮组件,采用拟物风格的灰阶设计,适用于博客内容消费。包括黑暗模式支持。

打开

社交分享按钮

社交分享按钮组件,具有 Glassmorphism 设计、响应式效果和深色主题支持。不使用 JavaScript。

打开

Social Share Buttons 组件

社交分享按钮组件,具有微交互、灰度配色方案、社交媒体界面的中等复杂性、支持深色主题的响应式设计。

打开