UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: add animated grid pattern
Dillion Verma83be54f9ba11
diff --git a/config/docs.ts b/config/docs.tsindex 3c30c242..fb83fd69 100644--- a/config/docs.ts+++ b/config/docs.ts@@ -105,11 +105,7 @@ export const docsConfig: DocsConfig = {href: `/docs/components/animated-beam`,items: [],},- // {- // title: "Animated Grid Pattern",- // href: `/docs/components/animated-grid-pattern`,- // items: [],- // },+// {// title: "Animated Lines",// href: `/docs/components/animated-lines`,@@ -226,6 +222,11 @@ export const docsConfig: DocsConfig = {{title: "Backgrounds",items: [+ {+ title: "Animated Grid Pattern",+ href: `/docs/components/animated-grid-pattern`,+ items: [],+ },{title: "Retro Grid",href: `/docs/components/retro-grid`,diff --git a/content/docs/components/animated-grid-pattern.mdx b/content/docs/components/animated-grid-pattern.mdxindex 67da637d..e756be9b 100644--- a/content/docs/components/animated-grid-pattern.mdx+++ b/content/docs/components/animated-grid-pattern.mdx@@ -3,8 +3,7 @@ title: Animated Grid Patterndate: 2024-02-07description: A animated background grid pattern made with SVGs, fully customizable using Tailwind CSS.author: dillionverma-published: false-video: https://cdn.magicui.design/grid-pattern.mp4+published: true---<ComponentPreview name="animated-grid-pattern-demo" />@@ -17,16 +16,6 @@ video: https://cdn.magicui.design/grid-pattern.mp4Copy and paste the following code into your project.-```typescript-// lib/utils.ts-import clsx, { ClassValue } from "clsx";-import { twMerge } from "tailwind-merge";--export function cn(...inputs: ClassValue[]) {- return twMerge(clsx(inputs));-}-```-```textcomponents/magicui/animated-grid-pattern.tsx```