Skip to Content

Labels

Override the widget’s UI text to match your product’s tone. Pass a labels object inside widget when initializing the SDK.

Properties

PropertyDefaultDescription
triggerText"Feedback"Text on the floating trigger button
headerText"Send feedback"Header at the top of the widget panel
bugLabel"Bug"Label for the bug report option
bugDescription"Something isn't working"Description below the bug label
suggestionLabel"Suggestion"Label for the feature request option
suggestionDescription"I have an idea"Description below the suggestion label
bugPlaceholder"Describe the issue..."Placeholder for the bug title input
suggestionPlaceholder"Describe your idea..."Placeholder for the suggestion title input
bugTextareaLabel"Details"Label above the bug description textarea
suggestionTextareaLabel"Details"Label above the suggestion description textarea
sendButton"Send"Text on the submit button
cancelButton"Cancel"Text on the cancel button

All properties are optional. Only override what you need.

Example: playful labels

createMaestrio({ apiKey: "your-api-key", baseUrl: "https://app.maestrio.ai", projectId: "your-project-id", widget: { labels: { triggerText: "Talk to us!", headerText: "We're all ears", bugLabel: "Oops!", bugDescription: "Something broke? Spill the beans.", suggestionLabel: "Bright Idea", suggestionDescription: "Got a brainwave? Share it!", bugPlaceholder: "Tell us what went sideways...", suggestionPlaceholder: "Paint us a picture of your dream feature...", bugTextareaLabel: "What went boom?", suggestionTextareaLabel: "What's the vision?", sendButton: "Ship it!", cancelButton: "Nah, nevermind", }, }, });

Partial overrides

You don’t have to override every label. The rest will use defaults:

createMaestrio({ apiKey: "your-api-key", baseUrl: "https://app.maestrio.ai", projectId: "your-project-id", widget: { labels: { triggerText: "Help us improve", sendButton: "Submit feedback", }, }, });