Porsche Design SystemSearchNavigate to GitHub repository of Porsche Design SystemOpen sidebar
ConfiguratorExamplesUsageAccessibilityAPI
Table The p-table component displays tabular data and offers column-wise sorting options. It combines a consistent appearance together with great accessibility while not having restrictions regarding its content. Therefore, it can be used for plain text but also rich content like images, form elements and buttons. It is a controlled component. This means it does not contain any internal state, and you got full control over its behavior.
ModelDatePurchase IntentionStatusLead ID718 Cayman23.06.2021New CarWon0000824402Panamera 4S19.06.2021New CarLost0000824409911 Carrera S19.05.2021Used CarWon0000824408Macan Turbo10.05.2021Used CarLost0000824407Taycan03.05.2021New CarWon0000824406
Open in Stackblitz
<!doctype html>
<html lang="en" class="auto">
<head>
  <title></title>
</head>
<body class="bg-base">

<p-table caption="Some caption">
  <p-table-head>
    <p-table-head-row>
      <p-table-head-cell>
        Model
      </p-table-head-cell>
      <p-table-head-cell>
        Date
      </p-table-head-cell>
      <p-table-head-cell>
        Purchase Intention
      </p-table-head-cell>
      <p-table-head-cell>
        Status
      </p-table-head-cell>
      <p-table-head-cell>
        Lead ID
      </p-table-head-cell>
    </p-table-head-row>
  </p-table-head>
  <p-table-body>
    <p-table-row>
      <p-table-cell>
        718 Cayman
      </p-table-cell>
      <p-table-cell>
        23.06.2021
      </p-table-cell>
      <p-table-cell>
        New Car
      </p-table-cell>
      <p-table-cell>
        Won
      </p-table-cell>
      <p-table-cell>
        0000824402
      </p-table-cell>
    </p-table-row>
    <p-table-row>
      <p-table-cell>
        Panamera 4S
      </p-table-cell>
      <p-table-cell>
        19.06.2021
      </p-table-cell>
      <p-table-cell>
        New Car
      </p-table-cell>
      <p-table-cell>
        Lost
      </p-table-cell>
      <p-table-cell>
        0000824409
      </p-table-cell>
    </p-table-row>
    <p-table-row>
      <p-table-cell>
        911 Carrera S
      </p-table-cell>
      <p-table-cell>
        19.05.2021
      </p-table-cell>
      <p-table-cell>
        Used Car
      </p-table-cell>
      <p-table-cell>
        Won
      </p-table-cell>
      <p-table-cell>
        0000824408
      </p-table-cell>
    </p-table-row>
    <p-table-row>
      <p-table-cell>
        Macan Turbo
      </p-table-cell>
      <p-table-cell>
        10.05.2021
      </p-table-cell>
      <p-table-cell>
        Used Car
      </p-table-cell>
      <p-table-cell>
        Lost
      </p-table-cell>
      <p-table-cell>
        0000824407
      </p-table-cell>
    </p-table-row>
    <p-table-row>
      <p-table-cell>
        Taycan
      </p-table-cell>
      <p-table-cell>
        03.05.2021
      </p-table-cell>
      <p-table-cell>
        New Car
      </p-table-cell>
      <p-table-cell>
        Won
      </p-table-cell>
      <p-table-cell>
        0000824406
      </p-table-cell>
    </p-table-row>
  </p-table-body>
</p-table>
<script>

</script>
</body>
</html>
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%