Back to reference

UIConfig

Configuration for the user interface of Grammarly.

interface UIConfig {
  introText?: string;
  showToneDetector?: boolean;
}

Properties

introText optionalstring
Text shown to introduce first-time users to Grammarly.

This introductory text shows in the footer of the first shown suggestion card as well as in the Grammarly button menu.
Default: "Grammarly helps you write clearly and mistake-free."

showToneDetector optionalboolean
Show the tone detector interface (beside the Grammarly button).

Note that tone detection requires a text of at least 150 characters.
Default: false

Last Updated: 1/15/2022, 1:02:43 AM