Alert
Inline notification component for contextual messages. Supports different severity levels and actions.
Import
import { Alert } from '@scaffald/ui';
Basic Usage
Props
See the TypeScript definitions for the complete props API.
Common Props
All Alert components accept standard React Native View props.
Variants
Severity Levels
info- Informational messagessuccess- Success confirmationswarning- Warning noticeserror- Error messages
Examples
Advanced Usage
Accessibility
- ✅ Keyboard navigation support
- ✅ Screen reader compatible
- ✅ ARIA attributes included
- ✅ Focus management
Design Tokens
This component uses the following design tokens:
- Colors:
colors.{semantic}.{theme}.{variant} - Spacing:
spacing.* - Typography:
typography.*
See Design Tokens for more information.
Related Components
No related components.
Changelog
See GitHub Releases for version history.