forms-inputs

forms-inputs is a skill for Claude Code, Codex from dylantarre/animation-principles. It costs 27 tokens per session (698 once invoked), scanned A, original, MIT.

Guidance for animating form fields, text boxes, dropdowns, and other controls where people enter or select information.

In plain words
What is it for?
Use it for floating labels, focus rings, checkbox changes, validation icons, error states, and character counters.
Why use it?
It makes focus, validation, errors, and completed fields easier to understand while someone fills out a form.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for floating labels, focus rings, checkbox changes, validation icons, error states, and character counters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dylantarre/animation-principles/forms-inputs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dylantarre/animation-principles --skill forms-inputs
Clone the repo
git clone --depth 1 https://github.com/dylantarre/animation-principles

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for forms-inputs

README.md
[![agentmods](https://agentmods.dev/badge/skills/dylantarre/animation-principles/forms-inputs/github.svg)](https://agentmods.dev/skills/dylantarre/animation-principles/forms-inputs)
Your own site
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/forms-inputs"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/forms-inputs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for forms-inputs

Your own site · 80×15
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/forms-inputs"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/forms-inputs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 698 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 16 Sept 2026
  • Snyk pass 16 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00698
Opus 5.5 $0.00011 $0.00279
Sonnet 5.5 $0.00005 $0.00140
Haiku 4.5 $0.00003 $0.00070

Measured 2mo ago against content hash 9db4795d1ebd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

forms-inputs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/07-by-ui-element/forms-inputs/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Form & Input Animation Principles

Apply Disney's 12 principles to forms for clear feedback and delightful interactions.

Principles Applied to Form Elements

1. Squash & Stretch

Input fields can subtly expand on focus (1-2px height). Submit button compresses on click. Checkboxes bounce on toggle.

2. Anticipation

Label floats up before user types. Focus ring appears before content entry. Prepares user for input action.

3. Staging

Focused input should be visually prominent: border color, shadow, label position. Other fields can slightly dim. Guide attention.

4. Straight Ahead & Pose to Pose

Define input states: default, focus, filled, valid, invalid, disabled. Clear poses for each state with smooth transitions.

5. Follow Through & Overlapping Action

Floating label settles after reaching final position. Validation icon can bounce slightly. Character counter updates with subtle motion.

6. Ease In & Ease Out

Focus transitions: ease-out. Validation feedback: ease-in-out. Label float: cubic-bezier(0.4, 0, 0.2, 1).

7. Arcs

Floating labels should arc slightly during upward movement, not straight line. Adds organic feel to mechanical action.

8. Secondary Action

While border highlights (primary), label floats (secondary), helper text appears (tertiary). Coordinate without overwhelming.

9. Timing

  • Focus border: 100-150ms
  • Label float: 150-200ms
  • Validation feedback: 200ms
  • Error shake: 300ms (3-4 cycles)
  • Success check: 250ms
  • Checkbox toggle: 150ms

10. Exaggeration

Error states can shake (4-6px, 2-3 times). Success states can pulse green briefly. Invalid inputs deserve clear, noticeable feedback.

11. Solid Drawing

Maintain border-radius consistency. Label typography should stay crisp during transform. Icons should scale proportionally.

12. Appeal

Responsive forms feel modern. Micro-animations guide users. Satisfying feedback reduces form abandonment. Worth the investment.

CSS Implementation

.input-field {
  transition: border-color 150ms ease-out,
              box-shadow 150ms ease-out;
}

.floating-label {
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
              font-size 200ms ease-out,
              color 150ms ease-out;
}

.input-field:focus + .floating-label {
  transform: translateY(-24px) scale(0.85);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

Read the full file on GitHub · 84 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 84 lines · 27 tokens per session scan A 9db4795d1ebd

Subscribe to this mod's changes

forms-inputs is a skill published in the GitHub repository dylantarre/animation-principles (735 stars, last pushed 11mo ago), licensed MIT. It adds 27 tokens to every session and 698 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

forms-inputs compared with skills from other repositories

forms-inputs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forms-inputsdylantarre/animation-principlesSkill73511mo agoMITA27Claude Code, Codex
playgroundanthropics/claude-plugins-officialSkill49ktodayApache-2.0A53Claude Code
animation-vocabularyemilkowalski/skillsSkill62kyesterdayMITA98Claude Code
oil-motionoil-oil/oil-motionSkill3.1kyesterdayMITA172Codex
htmlplannotator/effective-htmlSkill4.4k7d agoMITA107Claude Code, Codex
motion-designLottieFiles/motion-design-skillSkill4.0k8d agoMITA82Claude Code, Codex
frontend-designxstongxue/best-skillsSkill3.2k9d agoApache-2.0A103Claude Code, Codex