Porsche Design System
You are currently viewing an earlier release of the Porsche Design System.Switch to the latest Porsche Design System documentation.
SearchNavigate to GitHub repository of Porsche Design SystemOpen sidebar
ConfiguratorExamplesUsageAccessibilityAPI
Drilldown 🧪 Table of Contents Drilldown PropertiesPropertyAttributeDescriptionTypeDefaultactiveIdentifier active-identifierDefines which p-drilldown-item is shown as open.string | undefinedundefinedaria ariaSets ARIA attributes.type DrilldownAriaAttribute = {
  'aria-label'?: string;
}
undefined
open openIf true, the drilldown is shown as open.booleanfalse
EventsEventDescriptionTypedismiss Emitted when the component requests to be dismissed.CustomEvent<void>update Emitted when activeIdentifier changes.type DrilldownUpdateEventDetail = {
  activeIdentifier: string | undefined;
}
CustomEvent<DrilldownUpdateEventDetail>
SlotsSlotDescriptionisRequiredaltPropallowedTagNames<slot> Default slot to render p-drilldown items. Drilldown Item PropertiesPropertyAttributeDescriptionTypeDefaultcascade cascadePrivate property set by the component itself.booleanfalseidentifier identifierUnique identifier which controls if this item should be shown when the active-identifier on the drilldown is set to this value.stringundefinedlabel labelRenders back button, header section on mobile view and cascade button to reach a deeper level of the navigation structure.stringundefinedprimary primaryPrivate property set by the component itself.booleanfalsesecondary secondaryPrivate property set by the component itself.booleanfalseSlotsSlotDescriptionisRequiredaltPropallowedTagNames<slot> Default slot for the main content.<slot name="button"> Shows a custom button to reach a deeper level of the navigation structure.<slot name="header"> Shows a custom header section on mobile view. Drilldown Link PropertiesPropertyAttributeDescriptionTypeDefaultactive activeDisplays the link in its active state.booleanfalsearia ariaAdd ARIA attributes (only has effect when href is defined and no slotted anchor is used).type DrilldownLinkAriaAttribute = {
  'aria-label'?: string;
  'aria-description'?: string;
  'aria-current'?: string;
  'aria-haspopup'?: string;
}
undefined
download downloadSets the native download attribute when the target URL points to a downloadable file (only has effect when href is defined and no slotted anchor is used).stringundefinedhref hrefWhen href is provided, the component renders as an <a> element. Otherwise, provide a slotted anchor element.stringundefinedrel relSets the rel attribute on the link (only has effect when href is defined and no slotted anchor is used).stringundefinedtarget targetTarget attribute where the link should be opened (only has effect when href is defined and no slotted anchor is used).type DrilldownLinkTarget =
'_self'
'_blank'
'_parent'
'_top'
string
'_self'
SlotsSlotDescriptionisRequiredaltPropallowedTagNames<slot> Default slot to render the link label.
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%