SGUI / Development
AnswerFeedback
Optional host-revealed answer explanations, independent of field validation.
Loading examples…
Loading examples…
Examples
Loading examples…
Contains
Used In
No direct parents in the documented component catalog.
Component documentation
SGUI / Development
Optional host-revealed answer explanations, independent of field validation.
Loading examples…
Loading examples…
Loading examples…
No direct parents in the documented component catalog.
More information
More information
'use client';
import {AnswerFeedback} from '@structured-growth/sg-ui';
export default function FeedbackExample() {
return (
<>
<AnswerFeedback title={"More information"} tone="neutral">{"Ask for clarification before deciding."}</AnswerFeedback>
</>
);
}
That is a useful approach
'use client';
import {AnswerFeedback} from '@structured-growth/sg-ui';
export default function FeedbackExample() {
return (
<>
<AnswerFeedback title={"That is a useful approach"} tone="positive">{"Ask for clarification before deciding."}</AnswerFeedback>
</>
);
}
Consider another approach
'use client';
import {AnswerFeedback} from '@structured-growth/sg-ui';
export default function FeedbackExample() {
return (
<>
<AnswerFeedback title={"Consider another approach"} tone="negative">{"Ask for clarification before deciding."}</AnswerFeedback>
</>
);
}