Preet Suthar

Animated Dock

Navigation 649

About

A dock with animated icons that grow on hover.

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

Code

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

Usage.tsx

import { Github, Twitter, Youtube, Flower } from 'lucide-react'
import { AnimatedDock } from "@/components/ui/animated-dock"

const Demo = () => {
    return (
        <>
            <AnimatedDock
                items={[
                    {
                        link: "https://github.com/preetsuthar17",
                        target: "_blank",
                        Icon: <Github size={22} />,
                    },
                    {
                        link: "https://x.com/preetsuthar17",
                        target: "_blank",
                        Icon: <Twitter size={22} />,
                    },
                    {
                        link: "https://www.youtube.com/@preetsuthar17",
                        target: "_blank",
                        Icon: <Youtube size={22} />,
                    },
                    {
                        link: "https://github.com/preetsuthar17/hextaui",
                        target: "_blank",
                        Icon: <Flower size={22} />,
                    },
                ]}
            />
        </>
    )
}

export {Demo}

Dependencies

More by Preet Suthar

View all
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.5K
  • Shining Text

    Shining Text

    1.5K
  • Magic Text

    Magic Text

    846
  • Hero 2

    Hero 2

    818
  • Toolbar

    Toolbar

    815
  • Typewriter Text

    Typewriter Text

    768
  • AI Chat Input

    AI Chat Input

    729
  • Full Screen Signup

    Full Screen Signup

    722

More in Navigation

View all
  • Sidebar

    Sidebar

    221
  • Tabs

    Tabs

    51
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    40
  • Nav List Card

    Nav List Card

    29
  • Navbar

    Navbar

    71
  • Breadcrumb

    Breadcrumb

    12
  • Progress Bar Stepper

    Progress Bar Stepper

    35
  • Pagination Ant

    Pagination Ant

    3