Signpost

3 of 4 stops · click a board to take it down

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/input-signpost

About this component

Stops on a trip as a fingerpost: each place you add is cut as an arrow board that swings in and is nailed to the post, pointing the other way from the last; click a board to take it down and it drops away.

Dependencies
None
Difficulty
Intermediate
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers3

  • State change
  • Click
  • Keyframe

Techniques3

  • clip-path
  • Keyframes
  • State machine

Accessibility

Keyboard and screen readers

The boards are a list of buttons named "Remove <place>"; the input is named "Add a stop" and a polite status line reports each change.

Reduced motion

Everything changes at once, without the motion.

Use it in anything you build, commercial and client work included. Licence

More inputs

See all

4 of 10 letters, fished out of the soup

Alphabet soupGet code

13 words · about 5 seconds read aloud

TeleprompterGet code

$12.50 · Enter to ring it up

Cash registerGet code

11 of 16 letters, home port Falmouth

Boat nameGet code