Skip to contentPorsche Design System
You are currently viewing an earlier release of the Porsche Design System.Switch to the latest Porsche Design System documentation.
SearchGitHub repository of Porsche Design SystemOpen settings sidebar
Forms Table of Contents Forms gather information from users and let them configure options across recurring flows such as contact inquiries, search, authentication, and checkout. Combining clear labels, logical field grouping, helpful feedback, and accessible controls keeps forms easy to scan and complete across devices. Contact form A contact inquiry form combining optional call preferences, a free-text message, service checkboxes, personal details and legal consent.
The examples are written with web platform technologies – HTML, CSS and JavaScript – but rely on Tailwind CSS, which requires a bundler such as Vite. Open the example in StackBlitz to explore the setup in detail and adapt it to your needs, e.g. for Next.js, Vue or Angular.
Open in StackBlitzView Fullscreen
Personal details form A personal details and address form combining contact information, an international phone number split into country code and national number, and a structured postal address.
The examples are written with web platform technologies – HTML, CSS and JavaScript – but rely on Tailwind CSS, which requires a bundler such as Vite. Open the example in StackBlitz to explore the setup in detail and adapt it to your needs, e.g. for Next.js, Vue or Angular.
Open in StackBlitzView Fullscreen
Booking form A three-step test drive booking flow with a horizontal stepper: date and time selection, personal details, and a confirmation summary with optional promotion code.
The examples are written with web platform technologies – HTML, CSS and JavaScript – but rely on Tailwind CSS, which requires a bundler such as Vite. Open the example in StackBlitz to explore the setup in detail and adapt it to your needs, e.g. for Next.js, Vue or Angular.
Open in StackBlitzView Fullscreen
Search combobox option list A search field filters a list of selectable options inside a popover. Focus stays in the field: the arrow keys move a highlight through the matches, and Enter or a click writes the highlighted option into the field. Searching for a dealer by city is used here as an integration example, and the pattern applies to any searchable option list.
The examples are written with web platform technologies – HTML, CSS and JavaScript – but rely on Tailwind CSS, which requires a bundler such as Vite. Open the example in StackBlitz to explore the setup in detail and adapt it to your needs, e.g. for Next.js, Vue or Angular.
Open in StackBlitzView Fullscreen
Search combobox link list A search field filters a list of navigation links inside a popover. Focus stays in the field: the arrow keys move a highlight through the matches, and Enter or a click opens the highlighted page. Searching for a dealer page by city is used here as an integration example, and the pattern applies whenever search results link to dedicated pages.
The examples are written with web platform technologies – HTML, CSS and JavaScript – but rely on Tailwind CSS, which requires a bundler such as Vite. Open the example in StackBlitz to explore the setup in detail and adapt it to your needs, e.g. for Next.js, Vue or Angular.
Open in StackBlitzView Fullscreen
v4.11.0v2v1
Global settingsColor SchemeAll color tokens use the light-dark() CSS function. Set the theme via the CSS color-scheme property: light for light mode, dark for dark mode, or light dark to follow the user's system preference.LightDarkLight DarkDirectionThe 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%