{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "panel-top-icon", "type": "registry:ui", "title": "Panel Top Icon", "description": "Panel top icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/panel-top/index.tsx", "content": "'use client';\n\nimport * as React from 'react';\nimport { motion, type Variants } from 'motion/react';\n\nimport {\n getVariants,\n useAnimateIconContext,\n IconWrapper,\n type IconProps,\n} from '@/components/animate-ui/icons/icon';\n\ntype PanelTopProps = IconProps;\n\nconst animations = {\n default: {\n rect: {},\n line: {\n initial: { x1: 3, y1: 9, x2: 21, y2: 9 },\n animate: {\n x1: 3,\n y1: 7,\n x2: 21,\n y2: 7,\n transition: { type: 'spring', damping: 20, stiffness: 200 },\n },\n },\n } satisfies Record,\n} as const;\n\nfunction IconComponent({ size, ...props }: PanelTopProps) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n \n );\n}\n\nfunction PanelTop(props: PanelTopProps) {\n return ;\n}\n\nexport {\n animations,\n PanelTop,\n PanelTop as PanelTopIcon,\n type PanelTopProps,\n type PanelTopProps as PanelTopIconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/panel-top.tsx" } ], "meta": { "keywords": [ "sidebar", "panel", "top", "menu", "drawer", "navigation" ] } }