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

错误消息组件

错误消息 使用 Tailwind CSS 的社交媒体组件,支持深色模式。

预览

HTML 代码

<div class="flex items-center justify-center h-screen bg-gray-900">
  <div class="bg-gray-800 p-8 rounded-lg shadow-lg max-w-md w-full">
    <div class="flex items-center justify-between mb-4">
      <h2 class="text-2xl font-bold text-white">Error</h2>
      <button class="text-gray-400 hover:text-white focus:outline-none">
        <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
          <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path>
        </svg>
      </button>
    </div>
    <div class="text-gray-300 mb-6">
      <p>Oops! Something went wrong. Please try again later.</p>
      <ul class="mt-4 list-disc list-inside">
        <li>Check your internet connection.</li>
        <li>Ensure you have the latest version of the app.</li>
        <li>Contact support if the issue persists.</li>
      </ul>
    </div>
    <div class="flex justify-end">
      <button class="bg-gray-700 hover:bg-gray-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline">
        Got it
      </button>
    </div>
  </div>
</div>

相关组件

错误消息组件

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

打开

错误消息组件

错误消息 用于社交媒体的组件,具有微交互、灰度配色方案、复杂界面、响应式设计和深色主题支持。

打开

错误消息组件

拟物化三色方案复杂电子商务错误消息组件,具有响应式设计和深色模式支持。

打开