Skip to content

@vowel.to/client v0.1.2-393


@vowel.to/client / index / VowelAgentProps

Interface: VowelAgentProps

Defined in: lib/vowel/components/VowelAgent.tsx:39

Props for VowelAgent

Properties

PropertyTypeDescriptionDefined in
position?VowelPositionPosition of the floating buttonlib/vowel/components/VowelAgent.tsx:41
className?stringCustom classNamelib/vowel/components/VowelAgent.tsx:44
showTranscripts?booleanShow transcript panellib/vowel/components/VowelAgent.tsx:47
buttonColor?stringCustom button colorlib/vowel/components/VowelAgent.tsx:50
enableNag?booleanEnable the voice nag wrapperlib/vowel/components/VowelAgent.tsx:54
nagTitle?stringCustom title for the nag messagelib/vowel/components/VowelAgent.tsx:57
nagDescription?stringCustom description for the nag messagelib/vowel/components/VowelAgent.tsx:60
nagButtonText?stringCustom acknowledge button text for naglib/vowel/components/VowelAgent.tsx:63
nagStorageKeyPrefix?stringLocalStorage key prefix for nag statelib/vowel/components/VowelAgent.tsx:66
onNagDismiss?() => voidCallback when nag is dismissedlib/vowel/components/VowelAgent.tsx:69
enableTermsModal?booleanEnable the terms and privacy modallib/vowel/components/VowelAgent.tsx:73
termsModalTitle?stringModal title for terms/privacylib/vowel/components/VowelAgent.tsx:76
termsModalDescription?stringModal description for terms/privacylib/vowel/components/VowelAgent.tsx:79
termsContent?stringTerms of service content (HTML or text)lib/vowel/components/VowelAgent.tsx:82
termsUrl?stringURL to external terms of servicelib/vowel/components/VowelAgent.tsx:85
privacyContent?stringPrivacy policy content (HTML or text)lib/vowel/components/VowelAgent.tsx:88
privacyUrl?stringURL to external privacy policylib/vowel/components/VowelAgent.tsx:91
termsAcceptButtonText?stringText for the accept button in modallib/vowel/components/VowelAgent.tsx:94
termsDeclineButtonText?stringText for the decline button in modallib/vowel/components/VowelAgent.tsx:97
termsAllowDecline?booleanWhether to show a decline button in modallib/vowel/components/VowelAgent.tsx:100
termsStorageKeyPrefix?stringLocalStorage key prefix for terms acceptance statelib/vowel/components/VowelAgent.tsx:103
onTermsAccept?() => voidCallback when terms are acceptedlib/vowel/components/VowelAgent.tsx:106
onTermsDecline?() => voidCallback when terms are declinedlib/vowel/components/VowelAgent.tsx:109
enableFloatingCursor?booleanWhether to render the floating cursor Only applies when VowelProvider has floatingCursor enabled Default true Set to false if you want to render the cursor separately: Example <VowelProvider client={client}> <VowelAgent enableFloatingCursor={false} /> <FloatingCursorRenderer /> </VowelProvider>lib/vowel/components/VowelAgent.tsx:126