ソーシャル共有ボタンコンポーネント
ビジネス/企業のWebサイト用に設計されたNeumorphismスタイルのソーシャルシェアボタンコンポーネントで、アースカラーを使用し、ダークテーマをサポートします。
HTMLコード
<div class="flex justify-center items-center p-5 bg-gray-200 dark:bg-gray-800 rounded-lg shadow-lg">
<a href="#" class="flex items-center justify-center w-12 h-12 rounded-full bg-white dark:bg-gray-900 shadow-neumorphism hover:shadow-neumorphism-hover transition-shadow duration-300">
<img src="https://picsum.photos/seed/facebook/40/40" alt="Facebook" class="w-full h-full rounded-full object-cover" />
</a>
<a href="#" class="flex items-center justify-center w-12 h-12 mx-4 rounded-full bg-white dark:bg-gray-900 shadow-neumorphism hover:shadow-neumorphism-hover transition-shadow duration-300">
<img src="https://picsum.photos/seed/twitter/40/40" alt="Twitter" class="w-full h-full rounded-full object-cover" />
</a>
<a href="#" class="flex items-center justify-center w-12 h-12 rounded-full bg-white dark:bg-gray-900 shadow-neumorphism hover:shadow-neumorphism-hover transition-shadow duration-300">
<img src="https://picsum.photos/seed/linkedin/40/40" alt="LinkedIn" class="w-full h-full rounded-full object-cover" />
</a>
</div>
<style>
.shadow-neumorphism {
box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2), -8px -8px 20px rgba(255, 255, 255, 0.7);
}
.shadow-neumorphism-hover {
box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3), -4px -4px 12px rgba(255, 255, 255, 0.5);
}
</style>
関連コンポーネント
ソーシャル共有ボタンコンポーネント
レスポンシブなソーシャルシェアボタンコンポーネントは、glassmorphismエフェクトでスタイル設定され、明るいテーマと暗いテーマの両方をサポートします。
ソーシャル共有ボタンコンポーネント
ゲームWebサイト向けに設計された遊び心のある楽しいソーシャル共有ボタンコンポーネントで、グラデーションの虹色の配色、丸みを帯びた要素、インタラクティブなホバー効果が特徴です。ダークモードのサポートにより完全にレスポンシブ。