Inking

Pear, study 4Sketchbook

Pencil, then ink · 14 Nov

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-inking

About this component

A sketchbook card whose drawing is still in pencil: loose construction rings, a wobbly doubled outline. Hover and it gets inked, one clean line drawing over the pencil, then the hatching and a grey wash, while the pencil is rubbed back; leave and it returns to the sketch.

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

Triggers4

  • Hover
  • Draw
  • Delay stagger
  • Card

Techniques4

  • SVG stroke
  • stroke-dashoffset
  • Transition delay stagger
  • CSS transition

Accessibility

Keyboard and screen readers

An article labelled with the drawing's title; it takes focus, and focus or a tap inks it as hover does. The drawing is aria-hidden.

Reduced motion

The inked drawing appears at once.

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

More cards

See all

Salt & Iron

Wren Halloway

Hardback
312 pages

JacketGet code
KeyedGet code
01 / 03

Plan the week

Pick three runs and the app spaces them out for you.

LiquidGet code
A weekend in Lille14 places

Belfries, beer halls and the Braderie

MastheadGet code