Porsche Design SystemSearchNavigate to GitHub repository of Porsche Design SystemOpen sidebar
ConfiguratorExamplesUsageAccessibilityAPI
Link Tile Model Signature Table of Contents UI behaviour The component is able to break out of its aspect ratio in case content overflows to be accessibility compliant (see first row in example). Additionally, the component is able to align to the highest CSS Grid child independent of the aspect ratio when used in CSS Grid context (see second row in example). Currently, Safari is only able to align the height per CSS Grid row as long as the content does not overflow.
4/3Some image descriptionPrimary labelSecondary label4/3Some image descriptionPrimary labelSecondary label1/1Some image descriptionPrimary labelSecondary label9/16Some image descriptionPrimary labelSecondary label1/1Some image descriptionPrimary labelSecondary label
Open in Stackblitz
<!doctype html>
<html lang="en" class="auto">
<head>
  <title></title>
</head>
<body class="bg-base">

<div class="grid grid-cols-2 gap-static-md">
  <p-link-tile-model-signature aspect-ratio="4/3" heading="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.">
    <p-tag slot="header" theme="dark" color="background-frosted" compact="true">
      4/3
    </p-tag>
    <img src="assets/lights.jpg" alt="Some image description" />
    <p-link slot="primary" href="https://porsche.com/#primary">
      Primary label
    </p-link>
    <p-link slot="secondary" href="https://porsche.com/#secondary">
      Secondary label
    </p-link>
  </p-link-tile-model-signature>
  <p-link-tile-model-signature aspect-ratio="4/3" heading="Some description">
    <p-tag slot="header" theme="dark" color="background-frosted" compact="true">
      4/3
    </p-tag>
    <img src="assets/lights.jpg" alt="Some image description" />
    <p-link slot="primary" href="https://porsche.com/#primary">
      Primary label
    </p-link>
    <p-link slot="secondary" href="https://porsche.com/#secondary">
      Secondary label
    </p-link>
  </p-link-tile-model-signature>
  <p-link-tile-model-signature aspect-ratio="1/1" heading="Some description">
    <p-tag slot="header" theme="dark" color="background-frosted" compact="true">
      1/1
    </p-tag>
    <img src="assets/lights.jpg" alt="Some image description" />
    <p-link slot="primary" href="https://porsche.com/#primary">
      Primary label
    </p-link>
    <p-link slot="secondary" href="https://porsche.com/#secondary">
      Secondary label
    </p-link>
  </p-link-tile-model-signature>
  <p-link-tile-model-signature aspect-ratio="9/16" heading="Some description">
    <p-tag slot="header" theme="dark" color="background-frosted" compact="true">
      9/16
    </p-tag>
    <img src="assets/lights.jpg" alt="Some image description" />
    <p-link slot="primary" href="https://porsche.com/#primary">
      Primary label
    </p-link>
    <p-link slot="secondary" href="https://porsche.com/#secondary">
      Secondary label
    </p-link>
  </p-link-tile-model-signature>
  <p-link-tile-model-signature aspect-ratio="1/1" heading="Some description">
    <p-tag slot="header" theme="dark" color="background-frosted" compact="true">
      1/1
    </p-tag>
    <img src="assets/lights.jpg" alt="Some image description" />
    <p-link slot="primary" href="https://porsche.com/#primary">
      Primary label
    </p-link>
    <p-link slot="secondary" href="https://porsche.com/#secondary">
      Secondary label
    </p-link>
  </p-link-tile-model-signature>
</div>
<script>

</script>
</body>
</html>
Framework Routing While the p-link-tile-model-signature supports slotted a links within its required p-link children, clicking anything besides the two p-link elements needs to be handled manually.
Some tagSome image descriptionPrimary labelSecondary label
Open in Stackblitz
<!doctype html>
<html lang="en" class="auto">
<head>
  <title></title>
</head>
<body class="bg-base">

<p-link-tile-model-signature heading="Some heading">
  <p-tag slot="header" color="background-frosted" compact="true">
    Some tag
  </p-tag>
  <img src="assets/lights.jpg" alt="Some image description" />
  <p-link slot="primary" href="https://porsche.com/#primary">
    Primary label
  </p-link>
  <p-link slot="secondary" href="https://porsche.com/#secondary">
    Secondary label
  </p-link>
</p-link-tile-model-signature>
<script>

</script>
</body>
</html>
The easiest way to achieve this is to add a click event listener on the component itself, call event.preventDefault() once the event handler is invoked and read the href value from the target.
const linkEl = document.querySelector('p-link-tile-model-signature'); linkEl.addEventListener('click', (event) => { event.preventDefault(); const { href } = event.composedPath()[0]; history.pushState({}, '', href); // or whatever your routing library provides as a hook or service });
Global settingsThemeChanges the theme of the application and any Porsche Design System component. It's possible to choose between forced theme light and dark. It's also possible to use auto, which applies light or dark theme depending on the operating system settings automatically.LightDarkAuto (sync with operating system)DirectionChanges the direction of HTML elements, mostly used on<html> tag to support languages which are read from right to left like e.g. Arabic.LTR (left-to-right)RTL (right-to-left)AutoText ZoomChanges the text size and values with unit rem or em relatively. This setting can be defined in browser settings for any website or by an application itself on<html> tag. To achieve WCAG 2.2 AA compliance it's obligatory to support text zoom up to at least 200%.100%130%150%200%