Form And Dashboard Text Patterns




Contact

Default


The Contact kit automatically formats US phone numbers when the contactType / contact_type is one of: home (default), work, cell, work-cell, wrong-phone.

  • Use email to display emails.
  • Use international to display International phone numbers exactly as provided (no formatting applied).
  • Use extension to display four digit phone extensions.
Detail Indicator


Unstyled


Use the Contact kit with iconEnabled={false} and unstyled to display phone numbers with full typography control. With unstyled, the Contact kit renders just the formatted text without a Body wrapper, allowing you to wrap it in your own Typography kit to control the color and styling.

Currency

Variants


NOTE: The value passed into the amount prop can be either a string or numeric value.

Size


Alignment


No Symbol


Remove the "$" symbol by setting an empty string: symbol="".

Abbreviate Larger Amounts


Abbreviate larger amounts into thousands (K), millions (M), billions (B), and even trillions (T).

Matching Decimals


Use decimals="matching" when you want the full decimal amount displayed as a single number rather than split visually.

Unstyled


For alternative typography styles, you can pass a boolean prop called unstyled to the Currency kit and wrap it in any of our typography kits (Title, Body, Caption, etc.). This will allow the Currency kit to inherit any of our typography styles.

Comma Separator


The optional commaSeparator can be used to auto-format the use of commas as a thousands separator.

NOTE: If the value passed into the amount prop is already comma-dilineated, it will not add additional commas.

Negative


Small Currency kits have the negative sign on the lefthand side of the "$" symbol.

Null Display


To customize how the amount field appears when it is empty, use the nullDisplay prop and set it to the desired value you want to display.

Home Address Street

Default


Use this kit on tables, card displays, or on modals. It's versatile for displaying in the most condensed areas.

Emphasis


Emphasis on street happens by default. (no prop needed)
Emphasis on "city" makes the city emphasized, rather than the street.
Adding "none" to emphasis prop will provide no emphasis.

Modified


Formatting


The state prop will always capitalize the state name, even if the data entered is in lowercase. For example, when state="pa" is passed, it will be rendered as "PA". When you pass preserveCase, the street address will be rendered exactly as entered, without automatic title capitalization.

Label Pill

Default


Use this kit to display a label and a value with a certain status or color to highlight its significance or meaning. It can be a good design use to highlight the value incase it is important.

Label Value

Default


Use this kit to display a label and value text for almost every data entry.

Details


Variant details can pass icon, description, title, date, and active props.

Other Examples


Person

Default


Use this kit to display users, homeowners, or person of contact.

Person Contact

Default


Multiple People


With Detail


With Wrong Numbers


Source

Default


Hide Icon


Source Types


Dashboard Value

Full Example


Align


Stat Change

Default


Icon


Colors


Increase colors your icon GREEN & Decrease colors your icon RED.

Stat Value

Default


Use this as value for displaying number data at a high level. It’s primary function is to create hierarchy of data within a view.

Unit Value


Title Count

Default


Use this kit as a form of label value only for a numeric value.

Align


Title Detail

Default


Use this kit in tables and cards to display data that doesn’t have a caption assigned.