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

错误消息组件

使用 Material Design 原则的响应式错误消息组件,具有三元配色方案和深色模式支持,专为产品组合量身定制。

预览

HTML 代码

<div class="flex flex-col items-center justify-center p-5 bg-white rounded-lg shadow-md dark:bg-gray-800">
    <img src="https://picsum.photos/200/100" alt="Error Image" class="rounded-lg shadow-sm mb-4">
    <div class="text-center">
        <h2 class="text-lg font-bold text-red-600 dark:text-red-400">Error Occurred!</h2>
        <p class="mt-2 text-sm text-gray-600 dark:text-gray-300">Oops! Something went wrong while trying to display the content.</p>
        <p class="mt-2 text-sm text-gray-600 dark:text-gray-300">Please try again later or contact support.</p>
        <button class="mt-4 px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600 dark:bg-blue-700 dark:hover:bg-blue-800">Retry</button>
    </div>
</div>

相关组件

错误消息组件

一种使用Tailwind CSS设计的简约错误消息组件,特色是响应式效果和黑暗主题支持。

打开

错误消息组件

具有3D设计的错误消息组件,单色配色方案,适中复杂度用于仪表板目的,响应式设计并支持深色主题。

打开

错误消息组件

一个响应式错误消息组件,采用3D风格和单色配色方案设计。适合用于作品集,具有互动元素以增加用户参与度。

打开