Porsche Design SystemSearchNavigate to GitHub repository of Porsche Design SystemOpen sidebar
ExamplesUsageAPI
Grid Usage The following segment provides instructions for designers and developers regarding the appropriate utilization of this style in various situations. Basic-Grid 12 Columns: This is the default and should contain all productive content, such as copy, graphics, and descriptive imagery (or at least the main focus of the image). Extended-Grid 14 Columns: Containers and images can be stretched to the extended grid to cluster content better or create a more immersive moment. Wide-Grid 16 Columns: Productive applications with, for example, a sidebar, can make use of the wide grid. Further interactive/productive modules can make use of the full 16 columns. Full-bleed: For immersive moments, images and background colors can be stretched to the full width of the viewport. This does not correspond to the grid. Note: that the Basic-, Extended-, and Wide-Grid all equal 6 columns on mobile viewports. Do: Use the grid for a consistent appearance over all touchpoints. Align all left-aligned-headlines on one vertical line (left border of basic-grid). Set at least the image focus for larger imagery within the basic grid. Don't: Don't scale elements within the grid bigger than the maximum specification for 1920px.
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%