Form And Dashboard Text Patterns




Contact

Default

(349) 185-9988
(555) 555-5555
email@example.com
(324) 562-7482
(349) 185-9988
(212) 439-6666
1233
+44 7700 900461

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

(349) 185-9988 Cell
(555) 555-5555 Home
(324) 562-7482 Work
(324) 562-7482 Work-Cell
1233 Ext
+44 7700 900461 International

Unstyled

(212) 555-1234
+1 (212) 555-1234
(415) 555-1234
1234

Use the Contact kit with icon_enabled: false and unstyled: true to display phone numbers with full typography control. When unstyled: true, 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

Default
$

30,327

.43
Emphasized False
$

2,000

.50
Light

342

.00
Bold
$

45

/mo

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

Size

Small
$

2,000

.50
Medium

342

.00
Large
$

45

/mo

Alignment

Left
$

2,000

.50
Center

342

.00
Right
$

45

/mo

No Symbol

Sales

309

/week

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

Abbreviate Larger Amounts

Thousands (with Unit)
$

2.2

K/mo
Millions
$

3.42

M
Billions
$

45.3

B
Trillions
$

983

T

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

Matching Decimals

Small
$

372.12

/day
Medium

30,327.43

Large
$

621,953.99


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

Unstyled

Basic unstyled example
$
2,000
.50

Example with wrapping typography kit
$
2,000
.50


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

$

1,234,567.89


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

-$

2,000

.50
$

-2,000

.50
$

-2,000

.50

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

Null Display

Nil

--

Nil

$0.00

Nil


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

Home Address Street

Default

70 Prospect Ave · Colonial

Apt M18

West Chester, PA 19382
H#8250263
PHL

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

Emphasis

70 Prospect Ave · Colonial

Apt M18

West Chester, PA 19382
H#8250263
PHL


70 Prospect Ave · Colonial
Apt M18
West Chester, PA 19382
H#8250263
PHL


70 Prospect Ave · Colonial
Apt M18
West Chester, PA 19382
H#8250263
PHL

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

70 Prospect Ave

West Chester, PA 19382
PHL

Formatting

70 pRoSpEcT ave

Apt M18

West Chester, PA 19382
H#8250263
PHL

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 preserve_case: true, the street address will be rendered exactly as entered, without automatic title capitalization.

Label Pill

Default

Service Needed
76
Waiting
69
In Service
28
Fully Serviced
101
Inbox
197
Outbox
13
Inbox
218

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

Role
Administrator, Moderator

Email
anna.black@powerhrg.com

Bio
Proin pulvinar feugiat massa in luctus. Donec urna nulla, elementum sit amet tincidunt nec, mattis nec urna. Cras viverra lorem odio, id pretium dui interdum ut. Nullam dignissim nisl vitae orci vehicula condimentum.

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

Details

Installer

JD Installations LLC


Project
33-12345

Jefferson-Smith


Project
33-12345

Jefferson-Smith

· 11/18

Project
33-12345
· 11/18

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

Other Examples

Patient Profile

Age

24 yrs old

Weight

91 kg

Blood

A +

Height

187 cm




Workout Schedule

Chest
6 sets • 8 reps • 40-100 kg
Biceps
5 sets • 12 reps • 20-40 kg
Back
8 sets • 8 reps • 40-120 kg

Person

Default

Kyle

Fadigan


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

Person Contact

Default

Pauline

Smith

email@example.com
(555) 555-5555
(324) 562-7482

Multiple People

Harvey

Walters

email@example.com
(555) 555-5555
(324) 562-7482
Brenda

Walters

(555) 555-5555

With Detail

Harvey

Walters

email@example.com
(555) 555-5555 Home
(324) 562-7482 Work

With Wrong Numbers

Pauline

Smith

email@example.com
(555) 555-5555
(304) 861-5385
wrong number
(324) 562-7482

Source

Default

BJ's Johnston-208

Retail


Referral-phrg

Inbound


BJ's Future CB

Anna Black
48582

Hide Icon

BJ's Johnston-208

Retail


Referral-phrg

Inbound


BJ's Future CB

Anna Black
48582

Source Types

BJ's Johnston-208

Retail


Referral-phrg

Inbound


B.B.B. Outbound

Outbound


Contractor.com

Prospecting


Beards, Beers and Brats

Events


BJ's Johnston-208

Referral


Employee Referral

Anna Black
48582


BJ's Future CB

Anna Black
48582

Dashboard Value

Full Example

Decreased Value
1,428   appts
26.1%


Increased Value
938   homes
56.1%


Neutral Value
261   windows
86%


Pitch Rate
90.9   %

Align

Top Title Value
1,428   appts
26.1%


Top Title Value
1,428   appts
56%


Top Title Value
1,428   appts
86.1%

Stat Change

Default

28.4%

6.1%

102%

Icon

28.4%

6.1%

102%

Colors

28.4%

6.1%

102%

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

Stat Value

Default

1,048  
10.48  

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

5,294   appt

Precision Value

1,529.00  
1,529.1300  

Use this to specify how many decimal places you want to show.
In react, you can pass in a string or number, but for this rails kit, we only accept numeric values and rails will not show trailing zero's unless specified.

Title Count

Default

Appointments

35.78

Appointments

7,399

Appointments

-379,503.372

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

Align

Remodeling Consultants

527

Remodeling Consultants

527

Remodeling Consultants

527

Title Detail

Default

Email Notifications

Commits data and history

Email Notifications

Commits data and history

Email Notifications

Commits data and history

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