For Tailwind CSS v3 docs, click here.

Logo Origami

Animated flipping logo with origami effect.

通过 CLI 安装

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

手动安装

在同一个文件中,复制并粘贴以下代码:

LogoOrigami.vue
LogoOrigamiItem.vue

API

Prop 名称类型默认值描述
classstring""Additional CSS classes for custom styling.
durationnumber1.5Duration of the flip animation in seconds.
delaynumber2.5Delay between flip animations in seconds.

功能特性

  • Origami Flip Animation: Animates flipping between multiple child components with an origami-style effect.
  • Customizable Timing: Adjust the duration and delay props to control the animation speed and interval.
  • Slot-Based Content: Accepts multiple child components or content via default slots.
  • Responsive Design: Designed to adapt to various screen sizes and devices.
  • Easy Integration: Simple to include in your Vue projects with minimal setup.

感谢

  • Inspired by origami animations and flip effects at hover.dev