TrademarkTrademark
Docs
Ctrl k
Search docs...
Components

Feedback

Updated: July 27, 2026
View on GitHub

A component for providing users with contextual information, alerts, and notifications. The Feedback component helps communicate important messages with appropriate visual styling based on the context.

Icon

Feedback components can include an icon to enhance visual communication.

With close button

Add a close button to allow users to dismiss the feedback.

Custom content

Add custom content to the feedback component.

API reference

Type
Default
variant
Severity, which sets the colour and the icon.
infodangerwarningsuccess
info
showIcon
Show the icon for the variant.
booleantrue
icon
IconName—
title
Headline of the message.
string—
description
The message itself.
string—
showCloseButton
Let the reader dismiss it.
booleanfalse
onClose
Called when it is dismissed.
() => void—
className
string—
style
React.CSSProperties—
children
React.ReactNode—
…and every FlexProps propinherited—
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club