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

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

Tailwind CSS を使用してブルータリズム スタイルで設計されたレスポンシブ カルーセル スライダー コンポーネントで、ハイ コントラスト、珍しいレイアウト、ダーク テーマのサポートが特徴です。

プレビュー

HTMLコード

<div class="relative w-full h-64 overflow-hidden bg-gray-800" data-theme="dark">
    <div class="absolute top-0 left-0 w-full h-full flex items-center justify-center">
        <div class="absolute w-full h-full bg-gray-800 transition duration-300 ease-in-out transform scale-110 opacity-75"></div>
        <div class="carousel-slide transition-all duration-500 ease-in-out transform space-x-4">
            <div class="carousel-item bg-gray-900 h-64 flex justify-center items-center flex-col">
                <img class="w-full h-full object-cover rounded-lg" src="https://picsum.photos/800/400?random=1" alt="Carousel Image 1">
                <p class="text-white mt-2">Slide 1</p>
            </div>
            <div class="carousel-item bg-gray-900 h-64 flex justify-center items-center flex-col">
                <img class="w-full h-full object-cover rounded-lg" src="https://picsum.photos/800/400?random=2" alt="Carousel Image 2">
                <p class="text-white mt-2">Slide 2</p>
            </div>
            <div class="carousel-item bg-gray-900 h-64 flex justify-center items-center flex-col">
                <img class="w-full h-full object-cover rounded-lg" src="https://picsum.photos/800/400?random=3" alt="Carousel Image 3">
                <p class="text-white mt-2">Slide 3</p>
            </div>
            <div class="carousel-item bg-gray-900 h-64 flex justify-center items-center flex-col">
                <img class="w-full h-full object-cover rounded-lg" src="https://picsum.photos/800/400?random=4" alt="Carousel Image 4">
                <p class="text-white mt-2">Slide 4</p>
            </div>
        </div>
    </div>
    <button class="absolute left-4 top-1/2 transform -translate-y-1/2 p-2 bg-gray-700 rounded-full text-white hover:bg-gray-600 focus:outline-none">
        ❮
    </button>
    <button class="absolute right-4 top-1/2 transform -translate-y-1/2 p-2 bg-gray-700 rounded-full text-white hover:bg-gray-600 focus:outline-none">
        ❯
    </button>
</div>
<style>
    [data-theme="dark"] {
        background-color: #1a202c;
    }
</style>

関連コンポーネント

3D_Vibrant_Simple_Social_Carousel

ダークモードをサポートする、ソーシャルメディアインターフェイス用のシンプルで鮮やかで応答性の高い3Dにインスパイアされたカルーセルスライダーコンポーネント。

開ける

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

教育プラットフォーム向けの複雑なレトロ/ビンテージスタイルのカルーセルスライダーコンポーネントで、落ち着いた色、プロフェッショナルなデザイン、ダークモードをサポートする完全な応答性が特徴です。企業/プロフェッショナルな環境向けに設計されています。

開ける

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

ニュース/ジャーナリズム Web サイト用の複雑で応答性の高いカルーセル スライダー コンポーネントで、グレースケールの配色を備えたダーク モード UI を備えています。ニュース記事を画像、タイトル、説明、カテゴリとともに表示し、目の疲れを軽減するように設計されています。

開ける