Cursor
Bracket lock cursor
Bracket lock cursor: A custom pointer of four corner brackets that spins while idle and snaps open around any element marked as a target.
Using Bracket lock cursor
Bracket lock cursor uses the wide 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 |
|---|---|---|---|
spinDuration | number | 2 | From 0.5 to 8; step 0.1 |
accent | color | #F5F6F8 | No additional limit in the metadata. |
lockColor | color | #FF6A1F | No additional limit in the metadata. |
cornerSize | number | 12 | From 6 to 24; step 1 |
hideNativeCursor | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Bracket lock cursor?
Bracket lock cursor 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 Bracket lock cursor depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Bracket lock cursor?
The React source for Bracket lock cursor includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Bracket lock cursor handle reduced motion?
Bracket lock cursor reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.