
Elliott Richmond Tabs Animation
v0.2.0Elliott Richmond · 2026年8月18日 上架
Animates the core Tabs block's panel reveal, with a settings page to choose the effect, duration, and easing.
- 正在使用
- 10 以下
- 评分
- 5.0 / 5
- 累计下载
- 338
- 最近更新
- 2026年8月19日
1 条评价需要 WordPress 6.7+已测试到 7.1.5PHP 8.2+
贡献者
截图
The core Tabs block (WordPress 7.1+) shows and hides its core/tab-panel
content by toggling the hidden attribute via the Interactivity API, which
reveals it abruptly. This plugin adds a small animation to that reveal and a
Settings Tabs Animation screen to control it, with no theme changes
required.
Features:
- Five animation types: Fade, Slide right, Slide left, Slide up, Slide down.
- Adjustable duration (0–3000ms) and easing (ease, ease-in, ease-out,
ease-in-out, linear). - Respects the visitor’s reduced-motion preference.
- A single small inline stylesheet – no build step, no JavaScript.
