A detailed SVG tab marker rendered on a metallic panel with recess, backing, and floor shadow. Click to toggle - the marker lifts out of its recess with a spring animation, revealing a blue face with noise texture, dashed inset lines, and glow edges. The backing card lifts separately with its own shadow. Includes keyboard support and reduced motion handling.
tab-marker-preview
Loading preview...
Why it helps: A tab marker turns a bookmark into a physical gesture. The lift-out animation with independent backing and floor shadow creates a sense of depth that communicates 'this item is saved'.
Also good to know:
// Loading source...
import { BopShop } from "@/components/live/BopShop";
<BopShop
defaultActive={false}
onChange={(active) => console.log("marked:", active)}
/>Initial marked state.
Called when the marker is toggled.
Additional CSS classes.
import { BopShop } from "@/components/live/BopShop";
<BopShop
defaultActive={false}
onChange={(active) => console.log("marked:", active)}
/>