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

Size

In this section

Variants
  • Size Utilities
  • Explicit Sizes
  • Size with Media Query breakpoints.
  • Size Fit / Size Fill
  • Size Fit / Size Fill (Alternate)
  • Size Fit (Alternate) / Size Fill
  • Size Full

Size Utilities

Utilities for size.

HTML
<style>
  .u-cf:after {
    clear: both;
    content:"";
    display: table;
  }
  .Test-highlight {
    background: #ff0;
    margin: 0 0 10px;
  }
  .Test-box {
    background: #649632;
    height: 25px;
    margin-bottom: 10px;
  }
  .Test-box--square {
    height: 50px;
    width: 50px;
  }
</style>

Explicit Sizes

Utilities for sizing and element to an explicit size.

1of2
1of3
2of3
1of4
2of4
3of4
1of6
2of6
3of6
4of6
5of6
1of8
2of8
3of8
4of8
5of8
6of8
7of8
1of10
2of10
3of10
4of10
5of10
6of10
7of10
8of10
9of10
1of12
2of12
3of12
4of12
5of12
6of12
7of12
8of12
9of12
10of12
11of12
HTML
<div>
  <div class="u-size1of2 Test-box">1of2</div>
</div>
<div>
  <div class="u-size1of3 Test-box">1of3</div>
  <div class="u-size2of3 Test-box">2of3</div>
</div>
<div>
  <div class="u-size1of4 Test-box">1of4</div>
  <div class="u-size2of4 Test-box">2of4</div>
  <div class="u-size3of4 Test-box">3of4</div>
</div>
<div>
  <div class="u-size1of6 Test-box">1of6</div>
  <div class="u-size2of6 Test-box">2of6</div>
  <div class="u-size3of6 Test-box">3of6</div>
  <div class="u-size4of6 Test-box">4of6</div>
  <div class="u-size5of6 Test-box">5of6</div>
</div>
<div>
  <div class="u-size1of8 Test-box">1of8</div>
  <div class="u-size2of8 Test-box">2of8</div>
  <div class="u-size3of8 Test-box">3of8</div>
  <div class="u-size4of8 Test-box">4of8</div>
  <div class="u-size5of8 Test-box">5of8</div>
  <div class="u-size6of8 Test-box">6of8</div>
  <div class="u-size7of8 Test-box">7of8</div>
</div>
<div>
  <div class="u-size1of10 Test-box">1of10</div>
  <div class="u-size2of10 Test-box">2of10</div>
  <div class="u-size3of10 Test-box">3of10</div>
  <div class="u-size4of10 Test-box">4of10</div>
  <div class="u-size5of10 Test-box">5of10</div>
  <div class="u-size6of10 Test-box">6of10</div>
  <div class="u-size7of10 Test-box">7of10</div>
  <div class="u-size8of10 Test-box">8of10</div>
  <div class="u-size9of10 Test-box">9of10</div>
</div>
<div>
  <div class="u-size1of12 Test-box">1of12</div>
  <div class="u-size2of12 Test-box">2of12</div>
  <div class="u-size3of12 Test-box">3of12</div>
  <div class="u-size4of12 Test-box">4of12</div>
  <div class="u-size5of12 Test-box">5of12</div>
  <div class="u-size6of12 Test-box">6of12</div>
  <div class="u-size7of12 Test-box">7of12</div>
  <div class="u-size8of12 Test-box">8of12</div>
  <div class="u-size9of12 Test-box">9of12</div>
  <div class="u-size10of12 Test-box">10of12</div>
  <div class="u-size11of12 Test-box">11of12</div>
</div>

Size with Media Query breakpoints.

Size utilities can be limited to specific Media Query breakpoints. Often used in combination for different sizes at breakpoints.

1of3 above lap breakpoint
1of4 above desk breakpoint
Smaller sizes at larger widths.
HTML
<div>
  <div class="u-lap-size1of3 Test-box">1of3 above lap breakpoint</div>
  <div class="u-desk-size1of4 Test-box">1of4 above desk breakpoint</div>
  <div class="u-size-1of2 u-desk-size1of3 u-desk-wide-size1of4 Test-box">Smaller sizes at larger widths.</div>
</div>

Size Fit / Size Fill

Shrink-wraps (on left) / fills remaining space.

content
HTML
<div class="u-cf">
  <div class="u-sizeFit">
    <div class="Test-box Test-box--square"></div>
  </div>
  <div class="u-sizeFill Test-highlight">
    content
  </div>
</div>

Size Fit / Size Fill (Alternate)

Shrink-wraps (on left) / fills remaining space.

content
HTML
<div class="u-cf">
  <div class="u-sizeFit">
    <div class="Test-box Test-box--square"></div>
  </div>
  <div class="u-sizeFillAlt Test-highlight">
    content
  </div>
</div>

Size Fit (Alternate) / Size Fill

Shrink-wraps (on right) / fills remaining space.

content
HTML
<div class="u-cf">
  <div class="u-sizeFitAlt">
    <div class="Test-box Test-box--square"></div>
  </div>
  <div class="u-sizeFill Test-highlight">
    content
  </div>
</div>

Size Full

Fits the full width of its container

content
HTML
<div class="u-cf">
  <div class="u-sizeFull Test-highlight">
    content
  </div>
</div>