Tally UI
Primitives

Notice

Notice draws a tone band (bad, warning or info) for a form error or an attention line. A live bad band is an assertive alert; warning and info are polite status lines.

import { Notice } from '@tallyui/components';
<Notice tone="bad" title="The payment was declined" actions={[{ label: 'Try again', onPress: retry, primary: true }]} />
PropTypeDefaultDescription
tone'bad' | 'warning' | 'info'—The band's wash, border and glyph
titlestring—The band's line; children go under it
actionsone or two NoticeAction—Ghost small buttons; primary inks the label in the accent
iconComponentType<SvgIconProps> | nullthe tone's glyphnull draws no glyph
livebooleantruefalse is a plain group with no live region; iOS speaks a live bad title once on mount
testIDstring—Title <testID>-title, actions <testID>-action-<index>