Skip to content
Back to skills

Ztfx Tw Anime Draggable Panels

ASecurity

Integrate Anime.js draggable floating panels with Tailwind CSS v4 including lifecycle ownership, motion accessibility, RTL, responsiveness, fallback and browser tests.

  • 14 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
designapifrontenddocumentation

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 7, 2026

npx -y skills add Realjustawall/Perfect-AI --skill ztfx-tw-anime-draggable-panels --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ztfx Tw Anime Draggable Panels?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ztfx Tw Anime Draggable Panels
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/realjustawall-ztfx-tw-anime-draggable-panels/badge)](https://www.skillsdirectory.com/skills/realjustawall-ztfx-tw-anime-draggable-panels)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ztfx-tw-anime-draggable-panels
description: Integrate Anime.js draggable floating panels with Tailwind CSS v4 including lifecycle ownership, motion accessibility, RTL, responsiveness, fallback and browser tests.
---
# Anime.js draggable floating panels + Tailwind CSS v4

## When to use
Use when the existing frontend requires **Anime.js draggable floating panels** inside a real Tailwind CSS v4 interface. Begin from existing code and verify exact library versions. Preserve all old capabilities.

## Engineering contract
**Core target:** Provide keyboard alternative for the drag gesture.

- Foundation: npm install tailwindcss @tailwindcss/vite. Never use Tailwind v3 configuration for a v4 app, or Bootstrap CSS plugins without the appropriate JS bundle.
- Responsive: sm 640, md 768, lg 1024, xl 1280, 2xl 1536 default; use @container variants for reusable components. Prefer host-container dimensions for WebGL.
- RTL: Use ms-*/me-*, text-start/text-end and dir-aware layout with rtl: variants.
- Color: Use top-level @theme to define utility-generating tokens and :root/[data-theme] for semantic alias variables.
- Lifecycle: attach observers and animation context once, remove them on unmount. Frame rendering must not synchronously measure layout.
- Accessibility: semantic content remains usable without animation or WebGL; animate visual layers rather than focus order.
- Quality: capture screenshots at 320,390,768,1024,1440; test dir=rtl/ltr, coarse pointer, reduced motion, 400% zoom and keyboard interactions.

## Integration pseudocode (adapt to host framework)
```js
const controller = new AbortController();
const host = document.querySelector('[data-zt-visual-host]');
const reduced = matchMedia('(prefers-reduced-motion: reduce)').matches;
if (host && !reduced) {
  // Mount Anime.js draggable floating panels using its official versioned library API here.
  // Own all observers, timeline contexts and Three.js resources in one component.
}
function dispose() { controller.abort(); /* dispose actual handles, scene resources */ }
```

**This is a lifecycle skeleton, not a working implementation of Anime.js draggable floating panels.** Codex must implement the real versioned library API from official docs, not claim this pseudocode is complete. See https://animejs.com/documentation/, https://threejs.org/docs/, https://www.w3.org/WAI/WCAG22/quickref/.

## Acceptance
- [ ] Provide keyboard alternative for the drag gesture.
- [ ] Functionality works on supported input modes.
- [ ] No leaks, duplicate animations, broken scroll restoration or WebGL-only information.
- [ ] Confirm runtime behavior in an actual browser. State what was not tested.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.