component

Help text

A simple .help-text class helper in case success or error input message.

  • In case of no error you can add the success modifier:

User found!

  • In case error you can add the error modifier:

This field is required

Variables

  :root {
    --help-text-size: var(--text-xs, .6875rem);
    --help-text-top-space: var(--space-xxs, .75rem);
    --help-text-error-color: #ff4757;
    --help-text-success-color: #46c93a;
  }