2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
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. Feedback components can include an icon to enhance visual communication. Add a close button to allow users to dismiss the feedback. Add custom content to the feedback component.
Prop
Type
Default
variant
Severity, which sets the colour and the icon.
infodangerwarningsuccess
info
showIcon
Show the icon for the variant.
booleantrue
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