Base

  • Colors
  • Icons
  • Logos
  • Spacing
  • Typography

Components

  • Accordion
  • Avatars
  • Badges
  • Buttons
  • Cards
  • Character Counter
  • Device Type Icons
  • Draggables
  • Dropdowns
  • Droppables
  • Filters
  • Gallery card
  • Indicators
  • Lists
  • Loading
  • Messages
  • Pictogram
  • Poster Play
  • Progress bar
  • QR Code
  • Rating stars
  • Row Selector
  • Sentiment
  • Split View
  • Tables
  • Tags
  • Tester vitals
  • Toast
  • Toggle button
  • Typeahead

Form

  • Checkbox
  • Combobox
  • Form Rule
  • Hint
  • Input
  • Input Title
  • Label
  • Multi-select List
  • Search
  • Select
  • Single-select List
  • Sliders
  • Switch
  • Tabs
  • Text Area

Layout

  • Containers
  • Layers
  • Layout
  • Split Layout
  • Wrappers

Navigation

  • Context Switcher
  • Nav bar
  • Navigation
  • Pagination
  • Sidebar Navigation
  • Step Navigation

Overlay

  • Banners
  • Bulk Selector
  • Modals
  • Popovers
  • Tooltips
  • User Notifications

Patterns

  • Full Page Message

Usertesting-next

  • Cards
  • Colors
  • Segmented Controls
  • Shadows and Elevations
  • Spacing
  • Typography

Visualizations

  • Data Colors

Loading

A visual indicator that a process is happening in the background but the interface is not yet ready for interaction.

Default


Copy
<tk-loading message="Please wait"></tk-loading>
<hr />
<tk-loading message="Please wait" variant="circular"></tk-loading>

Description

When the interface needs to communicate an element is loading we use <tk-loading>. This pattern is used when a label or title is necessary to accompany the loading indicator. An ellipsis is automatically added to the supplied message.

Size: large


Copy
<tk-loading message="Please wait" size="large"></tk-loading>
<hr />
<tk-loading message="Please wait" variant="circular" size="large"></tk-loading>

Note: The small and xs sizes are only supported in the userTestingNext theme.

Theming

This component will receive a different set of styles based on the active --tk-theme CSS property. To receive theme styling: make sure to set the desired value for this property inside of the :root selector.

These styles are not ready for production, so they cannot be used in Orders

tk-loading

Properties

Property Attribute Description Type Default
message message The message to display along with the loading indicator. An … will be automatically added to the end of the message. string null
size size Specifies the desired size for the loader. "large" | "medium" | "small" | "xs" 'medium'
variant variant Specifies the variant to render. Horizontal or circular. "circular" | "horizontal" 'horizontal'