Family Wallet
Family sign-in drawer: socials, email/phone/passkey, OTP, waiting orb, wallets.
Import
tsx
import { FamilyWallet } from "@cronus-ui/ui";
bash
npx cronus-ui add family-wallet
Examples
API Reference
Generated from the component's exported types.
FamilyWalletProps
Extends Omit< ComponentPropsWithoutRef<"div">, "onAnimationStart" | "onAnimationEnd" | "onDrag" | "onDragStart" | "onDragEnd" >
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLDivElement> | — | — |
open | boolean | — | — |
defaultOpen | boolean | false | — |
onOpenChange | (open: boolean) => void | — | — |
onSocial | (id: FamilyWalletSocial) => void | — | — |
onContinue | (method: FamilyWalletMethod, value: string) => void | — | — |
onVerify | (code: string) => void | — | — |
onWallet | (id: FamilyWalletProvider) => void | — | — |
labels | Partial<FamilyWalletLabels> & { wallets?: Partial<FamilyWalletLabels["wallets"]>; social?: Partial<FamilyWalletLabels["social"]>; } | — | — |