Animate Grid

Skew Animation grid with box shadow.

Install using CLI

npm
pnpm
bun
yarn
npx shadcn-vue@latest add "https://inspira-ui.com/r/animate-grid.json"

Install Manually

Copy and paste the following code

AnimateGrid.vue

Add SVG file

Add at least one SVG file to the same folder as your component and update the import in your component to use it

API

Prop NameTypeDefaultDescription
textGlowStartColorstring"#38ef7d80"Color of the box shadow start.
textGlowEndColorstring"#38ef7d"Color of the box shadow end.
perspectivenumber600You can pass perspective to transform CSS property.
rotateXnumber-1You can pass rotateX to transform CSS property.
rotateYnumber-15You can pass rotateY to transform CSS property.
cards[]"[{logo: 'src'}]"Cards to display in grid.
classstring""Additional tailwind CSS classes for custom styling.

Features

  • Slot-Based Content: Supports a default slot to add content inside the Animate Grid container.

Credits