Skip to content
Menu

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.

ControlTypeDefaultPreview limits
spinDurationnumber2From 0.5 to 8; step 0.1
accentcolor#F5F6F8No additional limit in the metadata.
lockColorcolor#FF6A1FNo additional limit in the metadata.
cornerSizenumber12From 6 to 24; step 1
hideNativeCursorbooleantrueNo 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.

Connect your agent

Related open components