组件 地图 Maps 组件

Maps 组件

一个简单的 Maps 组件,具有 Glassmorphism 设计、Grayscale 配色方案和简单的布局。它响应迅速并支持深色模式。

预览

HTML 代码

<div class="relative flex items-center justify-center w-full h-96 bg-gray-300 dark:bg-gray-700 overflow-hidden" style="backdrop-filter: blur(10px); background-color: rgba(209, 213, 219, 0.3); dark:background-color: rgba(55, 65, 81, 0.3);">
  <div class="absolute inset-0 z-0">
    <img src="https://picsum.photos/seed/maps/800/600" alt="Map background" class="object-cover w-full h-full">
  </div>
  <div class="relative z-10 p-6 bg-white bg-opacity-30 dark:bg-gray-800 dark:bg-opacity-30 rounded-lg shadow-lg text-center">
    <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-4">Find Us Here</h2>
    <p class="text-gray-700 dark:text-gray-300">Our location on the map.</p>
  </div>
</div>

相关组件

地图组件

响应式地图组件,采用拟物化风格,配有单色配色方案,适用于仪表板,并支持暗黑模式。

打开

地图组件

一个以材料设计风格设计的复杂地图组件,适用于仪表板。它集成了响应式元素、互动功能,并通过使用类似色彩方案支持暗模式美学。

打开

地图组件

一个响应式地图组件,采用 Material Design 样式和深色主题支持,使用 Tailwind CSS 构建。

打开