Early accessFull site coming soon. Pro is $49.99 a year. See pricing ›

Nexus UI

Morph Cursor, animated React component

An iPad-style pointer for a panel: a soft dot that melts into the shape of whatever you can press, sits behind it as a highlight while the element leans toward you, and turns into a caret over text. The system cursor is hidden only inside the panel.

  • Pro
  • Motion Effects
  • Hover
  • Spring

Play with it

Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.

Move the pointer around.

Props

PropTypeDefaultWhat it does
iconsDEFAULT_MORPH_ICONSIcon buttons in the top row, each { id, label, path } with a 24×24 path.
buttonLabel"Start a project"Label of the pill button.
inputLabel"Project name"Accessible name of the text field.
defaultInputValue"Spring launch, website and email"Starting text in the field.
cardsDEFAULT_MORPH_CARDSTiles under the field, each { id, label, gradient }.
accent"#0071e3"Colour of the caret over the field and of the focus rings.
onAction—Called with an icon id, "button" for the pill, or a card id when one is pressed.
hint"Move the pointer around."Caption at the bottom of the panel. An empty string hides it.
autoplayfalseTours the pointer over every target until someone moves over the panel.
className—Extra classes for the panel.