Skip to content
caliper ui pro docs

Draw link

A link whose underline follows the hand: it draws in from the side the pointer arrives on and leaves toward the side it exits, so a sweep across a sentence reads as one stroke. A faint line always marks it as a link.

Pro

This release adds scheduled exports, a faster search index and new webhook retries. Read the migration guide before upgrading.

When to use

  • Links in editorial text, footers and docs prose.
  • A list of links where the pointer moves across several.

When not to use

  • Buttons and navigation tabs; they have their own states.
  • Dense tables of links, where the movement is noise.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/draw-link

Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It is built on native elements, so roles and focus come from the browser.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/draw-link.md

The index of every part is at /llms.txt.

More in Text motion