Hint

The footnote under a field: an info glyph, a line of guidance or the error, and an optional note on the right. Satoshi Medium 12, 6px gaps.

FreeReact and Vue

This is a hint text to help user.Info Here

Add an Orvain Hint reading “This is a hint text to help user.”, with “Info Here” on the right.

Orvain MCPIncluded with the library

When to use#

  • For format guidance that prevents mistakes: At least 8 characters.
  • For the error once a field is checked, saying how to fix it.

When not to use

  • Use an Alert for messages about the whole form or page.

Anatomy#

1Icon

A 16px info glyph in #8f8f8f; 20px in the Error and Disabled states.

2Text

One short sentence, 12/1.5.

3Info text

Optional, right-aligned: a limit, a count, a link.

States#

Default

Grey, before input.

Error

The text turns red (#ec0d33); the field's stroke turns red too.

Disabled

Muted with its field.

Source#

The Hint ships in the free packages, @orvain/react and @orvain/vue, and in the Figma library with every variant and state shown above. The code on this page is the code you install.

Install the packages

Used in these blocks