コンポーネント カルーセルスライダー ダークモードカルーセルスライダーコンポーネント

ダークモードカルーセルスライダーコンポーネント

Dark-Mode Carousel Slider Componentは、レスポンシブ効果とTailwind CSSを使用したダークテーマのサポートを備えています。

プレビュー

HTMLコード

<section class="dark:bg-gray-900">
  <div class="container px-6 py-10 mx-auto">
    <div class="mt-8 lg:-mx-6 lg:flex lg:items-center">
      <img class="object-cover w-full lg:mx-6 lg:w-1/2 rounded-xl h-72 lg:h-96" src="https://images.unsplash.com/photo-1590283603385-17ffb3a7f29f?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1yZWxhdGVkfDV8fHxlbnwwfHx8&auto=format&fit=crop&w=500&q=60" alt="">

      <div class="mt-6 lg:w-1/2 lg:mt-0 lg:mx-6">
        <p class="text-sm text-blue-500 uppercase">category</p>

        <a href="#" class="block mt-4 text-2xl font-semibold text-gray-800 dark:text-white md:text-3xl">
          All the features you want to know
        </a>

        <p class="mt-3 text-sm text-gray-500 dark:text-gray-300 md:text-sm">
          Lorem ipsum dolor sir amet consectetur adipisicing elit. Beatae labore, praesentium excepturi. Distinctio nostrum perferendis consectetur eligendi, maiores ipsum fastidius, non sequi.
        </p>

        <a href="#" class="inline-block mt-2 text-blue-500 dark:text-blue-400 underline">
          Read more
        </a>

        <div class="flex items-center mt-6">
          <img class="object-cover object-center rounded-full w-10 h-10" src="https://randomuser.me/api/portraits/men/54.jpg" alt="">

          <div class="mx-4">
            <h1 class="text-sm text-gray-700 dark:text-gray-200">Robert John</h1>
            <p class="text-sm text-gray-500 ">Lead Developer</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

関連コンポーネント

Brutalism カルーセル スライダー コンポーネント

Tailwind CSS、応答性、ダークモードを備えたブルータリズムカルーセルスライダー。ナビゲーションボタンを含み、プレースホルダー画像を使用します。

開ける

カルーセルスライダーコンポーネント

Tailwind CSSを使用したダークモードでのeコマース用に設計されたシンプルなカルーセルスライダーコンポーネント。

開ける

カルーセルスライダーコンポーネント

ダークモードをサポートするレスポンシブカルーセルスライダーコンポーネント。このコンポーネントは、HTML と Tailwind CSS のみを使用し、JavaScript は使用しません。アクティブなスライドに鮮やかな色を配したシンプルなレイアウトが特徴で、ブログやコンテンツの消費に適しています。

開ける