Buttons
Scribble Edit Chip
Scribble Edit Chip: An edit chip whose pencil skates a short scribble back and forth on hover while a wobbly underline draws itself beneath the label, and clicking pins it as the active edit target.
Using Scribble Edit Chip
Scribble Edit Chip uses the inline preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
label | text | Edit | Up to 16 characters |
accent | color | #7C5CFF | No additional limit in the metadata. |
scribbleSeconds | number | 1 | From 0.3 to 3; step 0.1 |
underline | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Scribble Edit Chip?
Scribble Edit Chip is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Scribble Edit Chip depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Scribble Edit Chip?
The React source for Scribble Edit Chip includes: attributes and handlers (aria-hidden, aria-pressed). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Scribble Edit Chip handle reduced motion?
Scribble Edit Chip reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduceMotion ? { duration: 0 } : { duration: 0.45, ease: [0.22, 0.61, 0.36, 1] }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.