Alert

A component to show alerts, usually used as a banner at the top of a page.
<Alert
  type="success"
  text="Success message"
/>
<Alert
  type="info"
  text="Info message"
/>
<Alert
  type="warning"
  text="Warning message"
/>
<Alert
  type="error"
  text="Error message"
/>
Alert with children content
Text + Children (List)
<Alert
  type="error"
  text="We found some issues while processing your file. Please fix these errors and try again."
>
  <ul>
    <li className="list-inside list-disc">
      <Text variant="caption/400">Invalid data format in row 3</Text>
    </li>
    <li className="list-inside list-disc">
      <Text variant="caption/400">Missing required field in row 5</Text>
    </li>
  </ul>
</Alert>
Text + Children (Text)
<Alert
  type="warning"
  text="Your subscription will expire soon"
>
  <Text variant="caption/400">
    Please renew your subscription before December 31st to avoid service interruption.
  </Text>
</Alert>
Children only
<Alert
  type="info"
  text=""
>
    <Text variant="caption/400">
      Our system will be undergoing maintenance on Saturday, 10 PM - 2 AM EST.
      <span className="underline">During this time, some features may be unavailable.</span>
    </Text>
</Alert>