ソーシャルコンポーネント

ブログ/コンテンツ用に設計されたスキューモーフィックソーシャルコンポーネントで、鮮やかな色とダークモードがサポートされています。

プレビュー

HTMLコード

<div class="max-w-4xl mx-auto p-4 bg-white dark:bg-gray-900 rounded-lg shadow-lg">
  <h1 class="text-3xl font-bold text-blue-600 dark:text-blue-400 mb-6">Recent Posts</h1>
  <div class="bg-gray-100 dark:bg-gray-800 rounded-lg p-6 mb-4 shadow-md flex items-center space-x-4">
    <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-14 h-14 rounded-full shadow-lg">
    <div class="flex-1">
      <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">John Doe</h2>
      <p class="text-gray-600 dark:text-gray-400">Posted a new article about technology trends in 2023.</p>
      <span class="text-sm text-blue-500 dark:text-blue-300">2 hours ago</span>
    </div>
    <a href="#" class="text-white bg-blue-600 dark:bg-blue-700 hover:bg-blue-500 dark:hover:bg-blue-600 px-4 py-2 rounded-lg">Read More</a>
  </div>

  <div class="bg-gray-100 dark:bg-gray-800 rounded-lg p-6 mb-4 shadow-md flex items-center space-x-4">
    <img src="https://randomuser.me/api/portraits/women/1.jpg" alt="User Avatar" class="w-14 h-14 rounded-full shadow-lg">
    <div class="flex-1">
      <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Jane Smith</h2>
      <p class="text-gray-600 dark:text-gray-400">Exploring the wonders of the universe and beyond.</p>
      <span class="text-sm text-blue-500 dark:text-blue-300">4 hours ago</span>
    </div>
    <a href="#" class="text-white bg-blue-600 dark:bg-blue-700 hover:bg-blue-500 dark:hover:bg-blue-600 px-4 py-2 rounded-lg">Read More</a>
  </div>

  <div class="bg-gray-100 dark:bg-gray-800 rounded-lg p-6 mb-4 shadow-md flex items-center space-x-4">
    <img src="https://randomuser.me/api/portraits/men/2.jpg" alt="User Avatar" class="w-14 h-14 rounded-full shadow-lg">
    <div class="flex-1">
      <h2 class="text-xl font-semibold text-gray-800 dark:text-gray-200">Mark Lee</h2>
      <p class="text-gray-600 dark:text-gray-400">Designing modern interfaces with UX principles.</p>
      <span class="text-sm text-blue-500 dark:text-blue-300">1 day ago</span>
    </div>
    <a href="#" class="text-white bg-blue-600 dark:bg-blue-700 hover:bg-blue-500 dark:hover:bg-blue-600 px-4 py-2 rounded-lg">Read More</a>
  </div>

  <div class="text-right">
    <a href="#" class="text-blue-500 dark:text-blue-300 hover:underline">See all posts &rarr;</a>
  </div>
</div>

関連コンポーネント

3Dソーシャルオーサーカード

3Dエフェクトとソーシャルメディアリンクを備えたレスポンシブな著者カードコンポーネントで、ブログ/コンテンツセクション用に設計されています。補色(アイデンティティ/情報に青、アクセント/CTAにオレンジ)が特徴で、ダークモードをサポートし、スタイリングにTailwind CSSを使用しています。デザインは、基本的なレイアウトと最小限の要素を備えた「シンプル」な複雑さですが、「3Dデザイン」は、シャドウとホバー効果を使用して奥行きとエンゲージメントのために組み込まれています。このコンポーネントには、アバター、著者名、短い略歴、ソーシャルメディアのアイコン、「Follow Me」のコールトゥアクションボタンが含まれています。プレースホルダーとして randomuser.me アバターを使用します。

開ける

ソーシャルコンポーネントコンポーネント

レトロ/ビンテージソーシャルコンポーネントコンポーネント、単色の配色とシンプルな複雑さ、ブログ/コンテンツ用に設計されており、ダークテーマがサポートされています。

開ける

ソーシャルコンポーネントコンポーネント

トライアドカラーの配色でポートフォリオアイテムを展示するブルートスタイルのソーシャルコンポーネントで、作品や製品の展示に最適です。

開ける