Inline message
Overview
Inline messages are persistent and appear inside a component, such as a card, dialog, or form. In forms, inline notifications may be placed at the top of the form for informational content that users should read first, above or below an text field for field specific information, or at the end of the form for error information.
Use when
- Displaying reference or helper information for a component, such as directions, notes, or warnings.
- Displaying information about a single component, such as a form.
Don't use when
- Displaying an interactive tour of multiple new features. Use a rich tooltip (coming soon!) or WalkMe (guidance coming soon!) instead.
- Displaying high priority information where action is needed from a user, such as a server error or submission failure. Use a dialog instead.
- Confirming whether a user would like to proceed. Use a dialog instead.
- Displaying reactive or confirming information such as a confirmation of a save, delete, or add. Use a toast instead.
- Displaying information that will be used once and dismissed, such as announcements or new features. Use a banner instead.
- Displaying information that pertains to the full page. Use a banner instead.
Parts
The inline message consists of four parts.
- Background theme. Select from provided themes (default, danger, success, warning, info). If needed, the background color may be customized, but we recommend against a custom background in most cases to ensure consistency with other Tyler products.
- Icon. The icon should correspond to the notification content. Select from the following common icons, or choose a custom icon as appropriate:
info
(informational),bell_outline
(notification),warning
(warning),cancel
(danger),check_circle
(success). - Title. A title may be used along with the notification text if necessary.
- Message. The message body should be succinct. Limit to two lines of text if possible.
Types
The inline notification supports four modes: informational, warning, success, danger.
Related
Components
- Use a dialog for high priority alerts that require user action.
- Use a toast for low priority notifications in response to user action.
- Use an banner to display one time notifications that pertain to the full page.
- Use a rich tooltip (coming soon!) for information about a specific component.