Flip Words
A component that flips through a list of words.
通过 CLI 安装
手动安装
复制并粘贴以下代码:
FlipWords.vue
API
Prop 名称 | 类型 | 描述 |
---|---|---|
words | Array | An array of words to be displayed and animated. |
duration | number | Duration (in milliseconds) for each word to be displayed before flipping to the next word. |
class | string | Additional CSS classes to apply to the component. |
感谢
- Credits to M Atif for porting this component.
- Ported from Aceternity UI's Flip Words