Letter tiles
5 tiles · 10 points
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldTiles(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-tilesAbout this component
A word spelled on a wooden tile rack: each letter drops in as a cream tile with its point value, the rack tallies the score, and Backspace throws the last tile back into the bag.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Spring
- Focus
Techniques3
- Keyframes
- Gradient
- CSS transition
Accessibility
Keyboard and screen readers
One native input named "Word on the tiles"; the rack is aria-hidden and the tile count and score, or the reason for a refusal, are announced.
Reduced motion
Tiles appear in place and the ghost is skipped.
Use it in anything you build, commercial and client work included. Licence
More inputs
See all2026 is cut as MMXXVI
3 AcrossCircle round a planet (5)
2 of 5 letters