IP address
Waiting for a full address
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldIp(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/input-ipAbout this component
Four octet cells that jump on a dot or a third digit and refuse anything over 255; a complete address sends a packet hopping out to the server and back, with the reply time underneath.
- Dependencies
- None
- Difficulty
- Advanced
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Focus
- Loop
Techniques3
- State machine
- Keyframes
- Interval
Accessibility
Keyboard and screen readers
Each cell is a native input named "Part 1 of 4" and so on; the route drawing is aria-hidden and the status line is plain text.
Reduced motion
Everything changes at once, without the motion.
Use it in anything you build, commercial and client work included. Licence