# Callout URL: /components/callout Source: https://github.com/daangn/seed-design/blob/dev/docs/content/components/callout.mdx A message component that visually emphasizes important information or tips to convey to the user. ## Anatomy ![Anatomy image of Callout. Consists of Container, Prefix Icon, Title, Description, Link Text, and Suffix Icon.]() Callout consists of a Container wrapping the text content, and can show a Prefix Icon, Title, Link Text, and Suffix Icon as needed. ## Properties ### Interaction ![Callout Interaction Property - Display, Actionable, Dismissible]() Callout can have three behaviors: Display, which shows information; Actionable, which can be selected to perform an action; and Dismissible, which can remove itself. ### Tone ![Callout Tone Property - Neutral, Informative, Warning, Critical, Positive, Magic]() Callout can use six tones depending on the purpose of the message. ### Prefix Icon Property ![Callout Prefix Icon Property]() A Prefix Icon can be shown. Using the Fill type icon is recommended. ### Title Property ![Callout Title Property]() The Title can be shown via the Show Title Property. ### Link Text Property ![Callout Link Text Property]() Link Text can be shown. In an Actionable Callout, where the whole Container is the click area, showing Link Text is not recommended. ### State ![Callout State - Enabled, Pressed]() An Actionable Callout has a Pressed state. ## Guidelines ### Spacing between Title, Description, and Link Text ![Example of spacing between Title, Description, and Link Text]() Callout's Title and Link Text are inline elements, placed without taking up their own line, like text. The spacing between the Title and Description, and between the body text and Link Text, is expressed as two spaces. ### Writing the title and content ![Example of writing a Callout title and content]() Write the Callout title as a short word that indicates its nature, such as notification, guidance, news, or notice. Write the body concisely with only the key content, and avoid repeating what was already mentioned in the title. ### Using the appropriate Tone for the situation Callout provides a total of six tones: Neutral, Informative, Critical, Positive, Warning, and Magic. Choose the tone appropriate to the context. ![Example of Callout Tone usage - Neutral, Informative]() ![Example of Callout Tone usage - Critical, Positive]() ![Example of Callout Tone usage - Warning, Magic]() | Tone | Usage situation | | --------------- | ------------------------------------------------------------------------------------------------------------------ | | **Neutral** | Used to convey a neutral, general message. | | **Informative** | Used to provide useful information, guides, tips, etc. to help the user understand. | | **Critical** | Used when there is a serious error or immediate user action is required. | | **Positive** | Used to convey positive feedback or an encouraging message about achievement, success, benefits, etc. to the user. | | **Warning** | Used when the user's action requires caution, or to notify of a potential problem in advance. | | **Magic** | Used to indicate a feature that provides a special experience using AI. | ### Do not use Link Text as a nudge ![Example of using an Actionable Callout without Link Text]() Use links only to convey supplementary content. If you need to encourage a user action or emphasize a status, use an Actionable Callout instead. ### Using the Dismissible interaction ![Example of using a Dismissible Callout]() Use Dismissible Callout only for information that is sufficient to convey to the user once, and do not use it for warning or error messages. Be careful that the same message is not shown repeatedly after it has been dismissed. ## Specification ### Callout Component spec (JSON): /rootage/components/callout.json ### Callout Close Button Component spec (JSON): /rootage/components/callout-close-button.json