Sonu kumar

Slide Tabs

Navigation 152

About

SlideTabs β€” Animated Hover Tab Indicator with Framer Motion SlideTabs is a sleek, interactive tab navigation component built with React and Framer Motion. It features a smooth, animated underline (cursor) that follows the user's hover action, giving your UI a modern and dynamic touch. ✨ Features: Framer Motion-powered hover animation that dynamically adjusts the position and width of the indicator. Custom cursor highlight that appears only when hovering over a tab. Responsive design with minimal styling β€” easy to customize and extend. Built with accessibility and interactivity in mind using native ul/li elements. πŸ’‘ Use Case: Perfect for navigation menus, feature tabs, or landing pages where you want to elevate the UX with subtle motion. πŸ“¦ Tech Stack: React (Functional Components + Hooks) Framer Motion for animation Tailwind CSS for styling πŸ”§ How it Works: Each Tab uses a ref to measure its size and position on hover. The Cursor (animated highlight) moves and resizes smoothly based on the hovered tab. On mouse leave, the cursor fades out for a clean effect.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Slide Tabs to your project and fits it to your theme.

Code

How Slide Tabs is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { SlideTabsExample } from "@/components/ui/slide-tabs";

export default function DemoOne() {
  return <SlideTabsExample />;
}

Dependencies

More by Sonu kumar

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Modern Hero

    Modern Hero

    1.5K
  • Text Parallax Content (scroll)

    Text Parallax Content (scroll)

    1.2K
  • Modern Animated Hero Section

    Modern Animated Hero Section

    1.2K
  • About Us section

    About Us section

    1.2K
  • Animated Hero Section

    Animated Hero Section

    709
  • Cuisine Selector Chips

    Cuisine Selector Chips

    604
  • Bounce card features

    Bounce card features

    598

More in Navigation

View all
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    76
  • Footer with Big Wordmark

    Footer with Big Wordmark

    40
  • Sidebar

    Sidebar

    392
  • Oversized 404 Numeral

    Oversized 404 Numeral

    78
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    67
  • NavBar

    NavBar

    2
  • Pagination

    Pagination

    109
  • Tabs like bookmark

    Tabs like bookmark

    82