Invision UI v.19.6.0-0

Getting Started

  • Running Invision UI
  • UI Component Anatomy
  • Authoring SCSS
  • Authoring Presentational Behavior

Component Foundations

  • SCSS Authoring
    • Mixins & Variables
    • Stateful Classes
  • State Guidance
    • Empty/Zero State
    • Loading State
  • Utilities
    • Align
    • Display
    • Flexbox
    • Font Size
    • Layout
    • Offset
    • Position
    • Overflow
    • Size
    • Spacing
    • Text
  • Layout
    • Arrange [Deprectated]
    • Divided Columns
    • Embed Video
    • Full and Center
    • Fill [Deprectated]
    • Grid
    • Media Blocks
    • Panels
    • Vertical Layouts
  • Media Queries
  • Angular Behaviors
    • App Theme Directive
    • Auto Focus Input
    • Filters
    • Popup (modal dialog) Manager
    • Tether (tooltip/dropdown) Manager
    • Resize Sensor
    • Watchers

UI Component Library

  • Content & Containment
    • Active Translation
    • Auto Fit Text
    • Address
    • Basic & Input Table
    • Brand Logo/Slogan
    • Call to Action - Empty State
    • Carousel
    • Cart
    • Choice
    • Collapsible Container
    • Copyright Footer
    • Coupon Redeemer
    • Content
    • Date Relative Display
    • Definition Lists
    • Delimited List
    • Details
    • Expiration Date Display
    • Feature Toggle
    • Form Section Heading
    • Header
    • Heading
    • Heading With Annotation
    • Icons
    • Interaction Details
    • Labeled Balance
    • Link
    • Main Container
    • Metadata Card
    • Metadata List Item
    • Offering QuickView
    • Payment Instrument
    • Preference Dialog
    • Pricing Plan Decoration
    • Product Availability
    • Product Details
    • Product Image
    • Quick Info Panel
    • Remark
    • Renewal Column
    • Richlist Filterbar
    • Richlist Wrapper
    • Scrollable Horizontal List
    • Search Card
    • Search Panel
    • Section
    • Selectable Option
    • Smart Truncate
    • Status Grid
    • Tooltip
  • Data Visualizations
    • Bill Runs
    • Comparison Table
    • Datatable
    • Progress Tracker
    • Schedules
    • Query Builder
  • Dialogs
    • Confirmation Dialog
    • Dialog
    • Rich List Dialog
    • Wait Dialog
  • Forms and Filters
    • Additional Properties
    • Autocomplete
    • 3 Field Date Input
    • Checkbox
    • Credit Card
    • Bulk Action Bar
    • Buttons
    • Confirmation Button
    • Date Picker
    • E-Check
    • Entity Specification
    • External Bill
    • External Gift Card
    • Focus Group
    • Forms
    • Filter Bar
    • Filter Dropdowns
    • Gift Card
    • Grouped Check Filters
    • Inputs
    • Input Select Combo
    • Monetary Input
    • Multi Dropdown Selector
    • Multiple Numeric Input
    • Monetary Range Input
    • Password Unmask Button
    • Select
    • Select Button Or Stepper
    • Select Or Text Input
    • Stepper
    • Tag Dropdown
  • Navigation & Flow
    • Back Banner
    • Back Component
    • Breadcrumbs
    • Details Pager
    • Expandable Section
    • Infinite Scroll
    • Open New Window
    • Pager
    • Fancy Richlist
    • Standard Navigator
    • Status Indicator
    • Step Progress Bar
    • Step Progress Indicator
    • Tab Card
    • Tab Panel
    • Tier Navigator
    • Wizard
  • Notifications
    • Loading Indicator
    • Toast Notifications
  • Deprecated
    • Content Area

Showcase

  • General
    • Simplelist
    • Richlist
    • Primary (side) Navigator
  • Customer Care
    • Case Activity List
    • Customer Care Navigator Component
    • Dashboard
    • Decisions
  • Reporting
    • Content Visualization

Unit Testing

  • Actions
  • Components
  • Selectors
  • Reducers

End-to-end Testing

Statistics

Text

In this section

Variants
  • Text Utilities
  • Text Breaks
  • Text Alignment
  • Text Inherit Color
  • Text Kerning
  • Text Wrap
  • Text No Wrap
  • Text Truncate
  • Text Transform

Text Utilities

Utilities for text.

HTML
<style>
.Test-box {
    background: #aaa;
    color: #000;
    margin-bottom: 10px;
    max-width: 400px;
}
</style>

Text Breaks

Breaks stings across multiple lines, when they are wider than the container.

http://subdomain.exampledomain.com/averylongurlthatneedstobebrokenotherwiseitisgoingtokeepgoingforever
wraplongwords dontbreaklongwords wraplongwords dontbreaklongwords wraplongwords dontbreaklongwords wraplongwords dontbreaklongwords wraplongwords dontbreaklongwords
HTML
<div class="Test-box u-textBreak">
    http://subdomain.exampledomain.com/averylongurlthatneedstobebrokenotherwiseitisgoingtokeepgoingforever
</div>
<div class="Test-box u-textBreak">
    wraplongwords dontbreaklongwords
    wraplongwords dontbreaklongwords
    wraplongwords dontbreaklongwords
    wraplongwords dontbreaklongwords
    wraplongwords dontbreaklongwords
</div>

Text Alignment

Used to control text alignment and justification.

Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
HTML
<div class="Test-box u-textCenter">
    Lorem ipsum dolor sit amet.
</div>
<div class="Test-box u-textLeft">
    Lorem ipsum dolor sit amet.
</div>
<div class="Test-box u-textRight">
    Lorem ipsum dolor sit amet.
</div>

Text Inherit Color

Should inherit the color set by an ancestor. (Useful for linked anchor elements.)

Should always be black
HTML
<div class="Test-box">
  <a class="u-textInheritColor" href="#pound">Should always be black</a>
</div>

Text Kerning

Should enable kerning in the supported browsers.

The quick brown fox jumps over the lazy dog (default)
The quick brown fox jumps over the lazy dog (kerning enabled)
HTML
<div style="font-family:arial;font-size:20px">
  <div>The quick brown fox jumps over the lazy dog (default)</div>
  <div class="u-textKern">The quick brown fox jumps over the lazy dog (kerning enabled)</div>
</div>

Text Wrap

Sequences of whitespace will collapse into a single whitespace. Text will wrap when necessary.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla hendrerit blandit dolor, at euismod ante eleifend in. Duis imperdiet cursus nibh, quis tincidunt nibh rhoncus at.
HTML
<div class="Test-box u-textWrap">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla hendrerit blandit dolor, at euismod ante eleifend in. Duis imperdiet cursus nibh, quis tincidunt nibh rhoncus at.
</div>

Text No Wrap

Sequences of whitespace will collapse into a single whitespace. Text will never wrap to the next line.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla hendrerit blandit dolor, at euismod ante eleifend in. Duis imperdiet cursus nibh, quis tincidunt nibh rhoncus at.
HTML
<div class="Test-box u-textNoWrap">
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla hendrerit blandit dolor, at euismod ante eleifend in. Duis imperdiet cursus nibh, quis tincidunt nibh rhoncus at.
</div>

Text Truncate

Should truncate the text to a single line with ellipsis at the end.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla hendrerit blandit dolor, at euismod ante eleifend in. Duis imperdiet cursus nibh, quis tincidunt nibh rhoncus at.
HTML
<div class="Test-box u-textTruncate">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla hendrerit blandit dolor, at euismod ante eleifend in. Duis imperdiet cursus nibh, quis tincidunt nibh rhoncus at.
</div>

Text Transform

Should capitalize or uppercase text

lorem ipsum dolor sit amet
lorem ipsum dolor sit amet
HTML
<div class="Test-box u-textUpper">
    lorem ipsum dolor sit amet
</div>
<div class="Test-box u-textCap">
    lorem ipsum dolor sit amet
</div>