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)DirectionThe dir global attribute in HTML changes the direction of text and other content within an element. It's most often used on the <html> tag to set the entire page's direction, which is crucial for supporting languages that are written from right to left (RTL), such as Arabic and Hebrew. For example, using <html dir="rtl"> makes the entire page display from right to left, adjusting the layout and text flow accordingly.LTR (left-to-right)RTL (right-to-left)Text ZoomTo ensure accessibility and comply with WCAG 2.2 AA standards, it is mandatory for web content to support text resizing up to at least 200% without loss of content or functionality. Using relative units like rem is a best practice for achieving this, as they allow the text to scale uniformly based on the user's browser settings.100%130%150%200%