Dev Design Library

Inline Alert

Inline alerts display a non-modal message associated with objects in a view. These are often used in form validation, providing a place to aggregate feedback related to multiple fields.

Inline Alert preview
Library
React Spectrum
Framework
React
Type
component
License
Apache-2.0
Files
  • packages/@react-spectrum/s2/src/InlineAlert.tsx
  • packages/@react-spectrum/s2/s2wf-icons/S2_Icon_AlertTriangle_20_N.svg
  • packages/@react-spectrum/s2/s2wf-icons/S2_Icon_CheckmarkCircle_20_N.svg
  • packages/@react-spectrum/s2/src/Content.tsx
  • packages/@react-spectrum/s2/style/index.ts
  • packages/@react-spectrum/s2/src/style-utils.ts
  • packages/@react-spectrum/s2/src/Icon.tsx
  • packages/@react-spectrum/s2/s2wf-icons/S2_Icon_InfoCircle_20_N.svg
Source
https://github.com/adobe/react-spectrum

Categories

More from React Spectrum