社交组件

一个网络组件,具有玻璃形态设计,带有磨砂玻璃般的半透明元素和模糊效果,响应式效果,以及黑暗主题支持。

预览

HTML 代码

<div class="flex justify-center items-center min-h-screen bg-gray-100 dark:bg-gray-900 transition-colors duration-500">
    <div class="bg-white dark:bg-gray-800 bg-opacity-60 dark:bg-opacity-80 backdrop-blur-md rounded-lg shadow-lg p-6 max-w-lg w-full">
        <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-4 text-center">Connect with Us</h2>
        <div class="flex items-center justify-around flex-wrap mb-4">
            <div class="flex flex-col items-center">
                <img src="https://picsum.photos/80/80?random=1" alt="User Avatar" class="rounded-full mb-2">
                <p class="text-gray-800 dark:text-white">User 1</p>
                <a href="#" class="text-blue-500 hover:underline">Follow</a>
            </div>
            <div class="flex flex-col items-center">
                <img src="https://picsum.photos/80/80?random=2" alt="User Avatar" class="rounded-full mb-2">
                <p class="text-gray-800 dark:text-white">User 2</p>
                <a href="#" class="text-blue-500 hover:underline">Follow</a>
            </div>
            <div class="flex flex-col items-center">
                <img src="https://picsum.photos/80/80?random=3" alt="User Avatar" class="rounded-full mb-2">
                <p class="text-gray-800 dark:text-white">User 3</p>
                <a href="#" class="text-blue-500 hover:underline">Follow</a>
            </div>
        </div>
        <div class="text-center">
            <button class="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600 transition duration-300">View More</button>
        </div>
    </div>
</div>

相关组件

社交组件

一个简单的社交媒体组件,使用 Skeuomorphism 和博客内容的单色配色方案设计。它具有使用 Tailwind CSS 的响应式布局和深色主题支持。

打开

社交组件

具有粗野派和柔和设计的仪表板的社交组件。它显示带有姓名、头衔和头像的用户配置文件,并包含用于社交作(如关注、消息和共享)的按钮。该组件响应迅速,并支持深色模式。

打开

社交组件

具有野兽派设计的社交组件,具有响应效果和黑暗主题支持。

打开