Native only

Share

Available forNative

OS share sheet · copies to the clipboard on web

The native kit's real component, live in its web build at phone width. Follows this site's theme.

Usage

A hook, not a component — the trigger is an ordinary Button. Copies to the clipboard when the OS sheet is unavailable.

API

const { share } = useShare(); share({ message?, url?, title? })

Get it

Already in every copy of the native kit:

import { useShare } from '@/components/kit/share';

Details

Exports
useShare
Packages
expo-clipboard@~57.0.2
Installs with
@kit-native/lib-haptics, @kit-native/toast
Also searched as
share sheet, send, export, copy link

Agents: the whole registry is at /llms.txt.