For Tailwind CSS v3 docs, click here.

Blur Reveal

A component to smoothly blur fade in content.

通过 CLI 安装

npm
pnpm
bun
yarn
npx shadcn-vue@latest add "https://registry.inspira-ui.com/blur-reveal.json"

手动安装

复制并粘贴以下代码:

BlurReveal.vue

API

Prop 名称类型默认值描述
durationnumber1Duration of the blur fade in animation.
delaynumber1Delay between child components to reveal
blurstring10pxAmount of blur to apply to the child components.
yOffsetnumber20Specifies the vertical offset distance (yOffset) for the entrance animation.

感谢

  • Credits to Magic UI for this fantastic component.