@phase2/outline-alert
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

outline-alert

The Outline Alert component

Properties

Property Attribute Type Default Description
isInteractive is-interactive boolean false This is important context for screen readers.
shouldShowIcon should-show-icon boolean false
size size "small" | "large" "large"
status status "info" | "warning" | "error" | "success" "info"

Slots

Name Description
default The alert contents.
header The header in the alert.

CSS Custom Properties

Property Description
--outline-alert--error background: The background color for the error alert.
--outline-alert--info background: The background color for the info alert.
--outline-alert--success background: The background color for the success alert.
--outline-alert--warning background: The background color for the warning alert.

Package Sidebar

Install

npm i @phase2/outline-alert

Weekly Downloads

43

Version

0.1.10

License

BSD-3-Clause

Unpacked Size

263 kB

Total Files

11

Last publish

Collaborators

  • nadavoid
  • grshane
  • dmuzyka
  • mkochendorfer
  • pschuelke
  • yuginaili
  • cclarkdev
  • febbraro
  • himerus
  • shaal