コンポーネント アクティビティフィード アクティビティフィードコンポーネント

アクティビティフィードコンポーネント

複数の対話型要素を持つブログ コンテンツを表示するように設計された複雑なアクティビティ フィード コンポーネント。3Dデザインスタイルと補色スキームを組み込んでいます。レスポンシブデザインとダークテーマをサポートします。

プレビュー

HTMLコード

<div class="max-w-2xl mx-auto p-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg border border-gray-200 dark:border-gray-700">
    <h2 class="text-2xl font-bold text-center text-gray-800 dark:text-white mb-4">Activity Feed</h2>
    <div class="space-y-6">
        <div class="bg-gray-50 dark:bg-gray-900 p-4 rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 border-l-4 border-green-500">
            <div class="flex items-center space-x-4 mb-2">
                <img src="https://randomuser.me/api/portraits/men/10.jpg" alt="User Avatar" class="w-10 h-10 rounded-full">
                <div>
                    <h3 class="font-semibold text-gray-800 dark:text-white">John Doe</h3>
                    <p class="text-sm text-gray-600 dark:text-gray-400">Posted 2 hours ago</p>
                </div>
            </div>
            <h4 class="text-lg font-semibold text-gray-800 dark:text-white">Exploring Tailwind CSS</h4>
            <p class="text-gray-700 dark:text-gray-300 mb-2">Join me as we dive into the world of Tailwind CSS, a utility-first CSS framework.</p>
            <img src="https://picsum.photos/400/200?random=1" alt="Feed Image" class="w-full rounded-lg mb-2">
            <div class="flex justify-between text-gray-500 dark:text-gray-400">
                <button class="hover:text-green-500">Like</button>
                <button class="hover:text-green-500">Comment</button>
            </div>
        </div>
        <div class="bg-gray-50 dark:bg-gray-900 p-4 rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 border-l-4 border-blue-500">
            <div class="flex items-center space-x-4 mb-2">
                <img src="https://randomuser.me/api/portraits/women/11.jpg" alt="User Avatar" class="w-10 h-10 rounded-full">
                <div>
                    <h3 class="font-semibold text-gray-800 dark:text-white">Jane Smith</h3>
                    <p class="text-sm text-gray-600 dark:text-gray-400">Posted 3 hours ago</p>
                </div>
            </div>
            <h4 class="text-lg font-semibold text-gray-800 dark:text-white">Understanding CSS Grid</h4>
            <p class="text-gray-700 dark:text-gray-300 mb-2">CSS Grid is an amazing layout system that allows for two-dimensional layouts.</p>
            <img src="https://picsum.photos/400/200?random=2" alt="Feed Image" class="w-full rounded-lg mb-2">
            <div class="flex justify-between text-gray-500 dark:text-gray-400">
                <button class="hover:text-blue-500">Like</button>
                <button class="hover:text-blue-500">Comment</button>
            </div>
        </div>
        <div class="bg-gray-50 dark:bg-gray-900 p-4 rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 border-l-4 border-red-500">
            <div class="flex items-center space-x-4 mb-2">
                <img src="https://randomuser.me/api/portraits/men/12.jpg" alt="User Avatar" class="w-10 h-10 rounded-full">
                <div>
                    <h3 class="font-semibold text-gray-800 dark:text-white">Mark Johnson</h3>
                    <p class="text-sm text-gray-600 dark:text-gray-400">Posted 4 hours ago</p>
                </div>
            </div>
            <h4 class="text-lg font-semibold text-gray-800 dark:text-white">Responsive Design Basics</h4>
            <p class="text-gray-700 dark:text-gray-300 mb-2">Learn the fundamental principles of creating responsive web designs.</p>
            <img src="https://picsum.photos/400/200?random=3" alt="Feed Image" class="w-full rounded-lg mb-2">
            <div class="flex justify-between text-gray-500 dark:text-gray-400">
                <button class="hover:text-red-500">Like</button>
                <button class="hover:text-red-500">Comment</button>
            </div>
        </div>
    </div>
</div>

関連コンポーネント

アクティビティフィードコンポーネント

マテリアルデザイン、グレースケールの配色、中程度の複雑さ、ダークモードをサポートするアクティビティフィードコンポーネント

開ける

アクティビティフィードコンポーネント

ニューモーフィズムデザイン、アーストーンの配色、複雑なレイアウト、レスポンシブデザイン、ダークテーマのサポートを備えたアクティビティフィードコンポーネント。

開ける

アクティビティフィードコンポーネント

Glassmorphism スタイル、鮮やかな配色、適度な複雑さ、レスポンシブなダーク テーマのサポートを備えたアクティビティ フィード コンポーネント。

開ける