Sticky Floating Social Bar

Overview: A fixed, right-aligned sidebar component designed to display social media links (Facebook, Instagram, WhatsApp). It remains visible while scrolling and features an interactive "drawer-like" expansion effect on hover.

Key Features:

Sticky Positioning: Fixed vertically centered on the right edge of the viewport (fixed top-1/2 right-0).

Isolated Hover Effect: When a user hovers over an icon, only that specific item expands to reveal the text and changes to its brand color.

Stable Layout: Uses items-end flex alignment to ensure non-active icons remain perfectly stationary while one expands, preventing layout shifting.

Smooth Transitions: Includes CSS transitions for width, background color, and text opacity.

Tech Stack:

Framework: Tailwind CSS (Utility classes).

Icons: Inline SVGs.

Interactivity: Pure CSS (hover states), no JavaScript required.

Usage: Place this code block directly before the closing </body> tag to ensure it sits on top of all other content (z-50).

This tailwind example is contributed by Juan D. Cortorreal, on 23-Nov-2025. Component is made with Tailwind CSS v3. It is responsive. similar terms for this example are Social media links,

Related Examples

Explore components by Tags

Didn't find component you were looking for?

Search from 3000+ components

tailwindflex logo TailwindFlex.com
Tailwindflex.com is a free Tailwind CSS examples library. It's a one-stop destination for ready-made Tailwind CSS components and templates.

Contact

© 2025 TailwindFlex. All Rights Reserved.

v1.12