コンポーネント ローダー Neumorphic Loaders コンポーネント

Neumorphic Loaders コンポーネント

類似の配色を持つ Neumorphic Loaders コンポーネントで、ブログやコンテンツ サイトに最適で、レスポンシブ デザインとダーク テーマのサポートが特徴です。

プレビュー

HTMLコード

<div class="flex items-center justify-center min-h-screen bg-gray-200 dark:bg-gray-900">
  <!-- Neumorphic Loader 1 -->
  <div class="relative w-24 h-24 m-4 rounded-full shadow-neumorphic-light dark:shadow-neumorphic-dark flex items-center justify-center">
    <div class="absolute w-16 h-16 rounded-full border-4 border-t-4 border-blue-500 dark:border-blue-700 animate-spin"></div>
  </div>

  <!-- Neumorphic Loader 2 -->
  <div class="relative w-24 h-24 m-4 rounded-full shadow-neumorphic-light dark:shadow-neumorphic-dark flex items-center justify-center">
    <div class="absolute w-16 h-16 rounded-full border-4 border-t-4 border-green-500 dark:border-green-700 animate-pulse"></div>
  </div>

  <!-- Neumorphic Loader 3 (for larger screens with subtle animation) -->
  <div class="hidden md:flex relative w-24 h-24 m-4 rounded-full shadow-neumorphic-light dark:shadow-neumorphic-dark items-center justify-center">
    <div class="absolute w-16 h-16 rounded-full border-4 border-t-4 border-purple-500 dark:border-purple-700 animate-bounce-slow"></div>
  </div>
</div>

<!-- Add a style block for the custom animation, as Tailwind doesn't have a direct "bounce-slow" -->
<style>
  @keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .animate-bounce-slow {
    animation: bounce-slow 2s infinite ease-in-out;
  }

  /* Neumorphism Shadows */
  .shadow-neumorphic-light {
    box-shadow: 8px 8px 16px #a3b1c6, -8px -8px 16px #ffffff;
  }

  .dark .shadow-neumorphic-dark {
    box-shadow: 8px 8px 16px #1a202c, -8px -8px 16px #4a5568;
  }
</style>

関連コンポーネント

ローダーコンポーネント

3D デザインされた Loaders コンポーネントで、奥行きとエンゲージメントを備えたロード アニメーション、レスポンシブ エフェクト、Tailwind CSS を使用したダーク テーマのサポートを紹介しています。

開ける

ローダーコンポーネント

補色スキームのシンプルなダークモードローダーコンポーネント。

開ける

ニューモルフィックローダー

ダークモードをサポートするeコマースサイト用のシンプルなNeumorphicローダーコンポーネント。

開ける