Cookie Cutter

No dependencies

Free to use in any project, commercial included. MIT-0, no attribution required. Licence

Install with shadcn

npx shadcn@latest add @movin/tab-cookie-cutter
Source on GitHub

About this component

A rolling pin smooths the dough, then the cutter you pick lifts off the bench, presses into the dough and leaves its shape cut out.

Dependencies
None
Difficulty
Intermediate
Triggers
click, state change, keyframe
Techniques
keyframes, css variables, svg, filter
Reduced motion
Respected
Theme
Light and dark (follows your page's color-scheme)

Real ARIA tabs: arrow keys, Home and End move between tabs, only the selected tab is in the Tab order, and each panel is labelled by its tab. The drawing is aria-hidden. Under prefers-reduced-motion the new shape is simply cut in the dough.

More tabs

See all
Four desks by the window, booked by the hour.
Elevator
Tench under the pads. Fish it slowly in the evening.
Fishing
A:\PHOTOSBEACH.JPG412KSNOW.JPG506K
Floppy
Say it first.
Fortune Teller