Skip to content
caliper ui pro docs

Share sheet

A bottom sheet of ways to share an item.

Pro

When to use

  • Sharing from a phone.

When not to use

  • Desktop-only flows.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/share-sheet

Adds its 8 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

ShareSheet

6 props
PropTypeDefaultDescription
open *boolean—
onOpenChange *(open: boolean) => void—
titlestring"Share"
url *string—
text *string—What the link points to, shown above it and used as the message.
targetsreadonly ShareTarget[]—Extra destinations after Email and Messages.

Keyboard

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

Accessibility

It exposes status semantics, with aria-hidden and aria-label kept in step with state. Changes that matter are announced through a live region.

Notes for AI

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

/docs/components/share-sheet.md

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

More in Sharing