Skip to content
Premium & Brand

Receive Button

Family Receive pill that morphs into a confirmation card.

Import

tsx
import { ReceiveButton } from "@cronus-ui/ui";
bash
npx cronus-ui add receive-button

Examples

API Reference

Generated from the component's exported types.

ReceiveButtonProps

Extends Omit< ComponentPropsWithoutRef<"div">, "onAnimationStart" | "onAnimationEnd" | "onDrag" | "onDragStart" | "onDragEnd" >

Skip ReceiveButtonProps props table
PropTypeDefaultDescription
ref
Ref<HTMLDivElement>
open
boolean
defaultOpen
booleanfalse
onOpenChange
(open: boolean) => void
onConfirm
() => voidFired when the dialog Receive action is pressed. The dialog then closes.
labels
Partial<ReceiveButtonLabels>