{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "floating-dock",
"title": "Floating Dock",
"description": "A floating dock component with a list of items. | アイテムリストを備えたフローティングドックコンポーネント。",
"dependencies": [
"lucide-react",
"motion",
"tabler-icons"
],
"files": [
{
"path": "components/navigation/floating-dock.tsx",
"content": "\"use client\";\n/**\n * Note: Use position fixed according to your needs\n * Desktop navbar is better positioned at the bottom\n * Mobile navbar is better positioned at bottom right.\n **/\n\nimport { useRef, useState } from \"react\";\nimport {\n AnimatePresence,\n MotionValue,\n motion,\n useMotionValue,\n useSpring,\n useTransform,\n} from \"motion/react\";\nimport { IconLayoutNavbarCollapse } from \"@tabler/icons-react\";\nimport { cn } from \"@/lib/utils\";\n\nexport const FloatingDock = ({\n items,\n desktopClassName,\n mobileClassName,\n}: {\n items: { title: string; icon: React.ReactNode; href: string }[];\n desktopClassName?: string;\n mobileClassName?: string;\n}) => {\n return (\n <>\n