组件 错误消息 错误消息组件

错误消息组件

一个错误消息组件,采用野性主义风格,使用类似色彩方案,适用于社交媒体界面,具有响应式设计和暗黑主题支持。

预览

HTML 代码

<div class="flex flex-col items-center justify-center p-6 bg-gray-800 dark:bg-gray-900 rounded-lg shadow-lg max-w-md mx-auto">
    <h2 class="text-2xl font-extrabold text-white mb-4">Oops! Something went wrong.</h2>
    <p class="text-lg text-gray-300 mb-6">We're sorry, but it seems there was an error processing your request. Please try again later.</p>
    <div class="flex items-center mb-4">
        <img class="w-12 h-12 rounded-full mr-3" src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar">
        <div class="flex flex-col">
            <span class="text-gray-200 font-semibold">John Doe</span>
            <span class="text-gray-500 italic">Your Friendly Bot</span>
        </div>
    </div>
    <img class="w-full rounded-lg mb-4" src="https://picsum.photos/400/200" alt="Error Illustration">
    <button class="bg-red-600 hover:bg-red-700 text-white font-bold py-2 px-4 rounded transition duration-300 ease-in-out">Retry</button>
    <button class="mt-2 bg-gray-600 hover:bg-gray-700 text-white py-2 px-4 rounded transition duration-300 ease-in-out">Contact Support</button>
</div>

相关组件

错误信息组件

一个专为社交网络接口设计的响应式错误消息组件,使用深色模式和灰度色彩方案,采用Tailwind CSS。

打开

错误消息组件

一个玻璃摩尔主义风格的错误信息组件,具有商务使用的深色主题。它使用Tailwind CSS进行样式设计,具有响应式设计和互动元素。

打开

错误消息组件

一种玻璃风格的错误消息组件,适用于仪表板,具有磨砂玻璃效果、互补色以及适合数据可视化和控制面板的复杂交互设计。

打开