Sprout

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-sprout

About this component

A text button with a thick stroke of yellow highlighter under the label. On hover the stroke swells up behind the words until they sit on a full swipe of marker; a press deepens the ink.

Triggers

  • Hover
  • Focus
  • Fill
  • Ambient

Techniques

  • Pseudo elements
  • CSS transition
  • Keyframes
  • border-radius

Difficulty

Beginner

Accessibility

Keyboard and screen readers

A native button named by its label; the arrow is aria-hidden. Keyboard focus shows the full swipe and an outline.

Reduced motion

The stroke changes size at once.

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

More buttons

See all
StainedGet code
StickerGet code
TallyGet code
TankGet code