Frame

The corner component belongs - like bubble, corner and marker - to the group of flashes.

Use the different flashes to emphasize messages with a strong meaning.


Recommendations#

  • All flash elements should be used sparingly to avoid overload.
  • Please use the frame only for one to three words.
  • When entering text, mobile view (MD-XS) should be taken into consideration first.
  • The frame grows with the content up to a max-width of 50% of the parent element.
  • Too long text is truncated with ellipsis.

Overall styling#

  • The text-style depends on the component but is always basic bold.
  • The line-height always is 120%.
  • The frame has no hover- and focus-state.

Variants#

  • The frame element is available in different colors, which are subcategorized into: positive and negative.
  • There is an additional separation into left and right due to the positioning of the symbol.
TypesAttributesPreview
Primary (positive) text-color: basic-white
background-color: brand-primary-base
left: primary
Attention (negative) text-color: basic-black
background-color: brand-attention-base
left: attention

Position#

  • The frame symbol can either be placed on the left or right side of a component.
  • The correct position is determined by the symbol name.

position


Spacing & measurements#

  • The width of the corner component depends on the content.
TypesAttributesPreview
Horizontal spacingpadding: 16px / 8px (left)
padding: 8px / 16px (right)
horizontal-spacing
Vertical spacingthe text is always optically vertically centeredvertical-spacing
HeightLG: 64px
MD-XS: 56px
Height
Angle inner angle: 64°rotation

What can be modified?#

  • Override the text.
  • Modify frame to your project needs by resizing the symbol.

Our workflow in Sketch#

  • Use the "Overrides"-function to change the text.
  • Use the "Overrides"-function to change the background-color via layer-styles (this is only available in the positive variant).
  • The width of the symbol has to be adjusted manually.
  • Detach the symbol for resize the element to your needs.

Change log#

Changed#

  • Doc: "Flash-Frame" | Clean up the documentation for the right structure and sentence case

Added#

  • Doc: "Flash-Frame" | New description for frame element

Changed#

  • Doc: "Flash-Frame" | Deleted Info (positive), Secondary (positive)

Changed#

  • "Frame" | Changed symbols: with layer-style setting

Changed#

  • "Frame" | Changed symbol: naming

Removed#

  • "Frame" | Removed symbols and description: small, large