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

错误消息组件

使用 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风格和单色配色方案设计。适合用于作品集,具有互动元素以增加用户参与度。

打开

Real estate 错误消息

专为房地产平台设计的专业干净的错误消息组件,具有单色配色方案、完全响应能力和深色模式支持。

打开