Feedback
Inline message
Place validation or guidance next to the field it applies to.
Anatomy
- Field label
- Affected field
- Inline message
Configuration
Message tones
Choose a name people will recognise.
Explain what to enter before someone fills in the field.
This slug uses the correct format.
Confirm that a value passed a check.
Add another tag to make this palette easier to find.
Flag a potential issue while letting someone continue.
Enter a complete email address.
Explain what needs to be corrected before someone can continue.
Design tokens used
| Category | Token | Value | Where it’s used |
|---|---|---|---|
| Colour | --cc-muted-foreground | — | Helper message |
--cc-critical-soft-foreground | — | Error message | |
--cc-success-soft-foreground | — | Success message | |
--cc-warning-soft-foreground | — | Warning message |