{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "layout-dashboard-icon", "type": "registry:ui", "title": "Layout Dashboard Icon", "description": "Layout dashboard icon component.", "dependencies": [ "motion" ], "files": [ { "path": "registry/icons/layout-dashboard/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 LayoutDashboardProps = IconProps;\n\nconst animations = {\n default: {\n rect1: {\n initial: {\n height: 9,\n transition: { duration: 0.3, ease: 'easeInOut' },\n },\n animate: {\n height: 5,\n transition: { duration: 0.3, ease: 'easeInOut' },\n },\n },\n rect2: {\n initial: {\n height: 5,\n transition: { duration: 0.3, ease: 'easeInOut' },\n },\n animate: {\n height: 9,\n transition: { duration: 0.3, ease: 'easeInOut' },\n },\n },\n rect3: {\n initial: {\n height: 9,\n y: 0,\n transition: { duration: 0.3, ease: 'easeInOut' },\n },\n animate: {\n height: 5,\n y: 4,\n transition: { duration: 0.3, ease: 'easeInOut' },\n },\n },\n rect4: {\n initial: {\n height: 5,\n y: 0,\n transition: { duration: 0.3, ease: 'easeInOut' },\n },\n animate: {\n height: 9,\n y: -4,\n transition: { duration: 0.3, ease: 'easeInOut' },\n },\n },\n } satisfies Record,\n 'default-loop': {\n rect1: {\n initial: {\n height: 9,\n },\n animate: {\n height: [9, 5, 9],\n transition: { duration: 0.6, ease: 'easeInOut' },\n },\n },\n rect2: {\n initial: {\n height: 5,\n },\n animate: {\n height: [5, 9, 5],\n transition: { duration: 0.6, ease: 'easeInOut' },\n },\n },\n rect3: {\n initial: {\n height: 9,\n y: 0,\n },\n animate: {\n height: [9, 5, 9],\n y: [0, 4, 0],\n transition: { duration: 0.6, ease: 'easeInOut' },\n },\n },\n rect4: {\n initial: {\n height: 5,\n y: 0,\n },\n animate: {\n height: [5, 9, 5],\n y: [0, -4, 0],\n transition: { duration: 0.6, ease: 'easeInOut' },\n },\n },\n } satisfies Record,\n} as const;\n\nfunction IconComponent({ size, ...props }: LayoutDashboardProps) {\n const { controls } = useAnimateIconContext();\n const variants = getVariants(animations);\n\n return (\n \n \n \n \n \n \n );\n}\n\nfunction LayoutDashboard(props: LayoutDashboardProps) {\n return ;\n}\n\nexport {\n animations,\n LayoutDashboard,\n LayoutDashboard as LayoutDashboardIcon,\n type LayoutDashboardProps,\n type LayoutDashboardProps as LayoutDashboardIconProps,\n};\n", "type": "registry:ui", "target": "components/animate-ui/icons/layout-dashboard.tsx" } ], "meta": { "keywords": [ "masonry", "brick" ] } }