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
Drilldown 🧪 Table of Contents Drilldown PropertiesPropertyAttributeDescriptionTypeDefaultactiveIdentifier active-identifierSets which p-drilldown-item (by identifier) is currently expanded to show its sub-navigation level.string | undefinedundefinedaria ariaSets ARIA attributes on the drilldown dialog element for improved screen reader accessibility.type DrilldownAriaAttribute = {
  'aria-label'?: string;
}
undefined
open openControls whether the drilldown navigation panel is visible.booleanfalse
EventsEventDescriptionTypedismiss Emitted when the user closes the drilldown via the close button or Escape key.CustomEvent<void>update Emitted when the active navigation level changes, with the new activeIdentifier in the event detail.type DrilldownUpdateEventDetail = {
  activeIdentifier: string | undefined;
}
CustomEvent<DrilldownUpdateEventDetail>
SlotsSlotDescriptionisRequiredaltPropallowedTagNames<slot> Default slot to render p-drilldown items.CSS VariablesCSS VariableDescriptiondefaultValue--p-drilldown-grid-template Overrides the CSS `grid-template` of the default slot container, allowing custom grid layout for drilldown items.auto/auto--p-drilldown-gap Overrides the gap between drilldown items in the default slot container.8px Drilldown Item PropertiesPropertyAttributeDescriptionTypeDefaultcascade cascadePrivate property set by the component itself.booleanfalseidentifier identifierSets the unique identifier matched against the drilldown's activeIdentifier to determine if this item is shown.stringundefinedlabel labelSets the text used for the back button, sticky header, and cascade button that navigates into this navigation level.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 activeVisually marks the link as the currently active navigation item, e.g. the current page.booleanfalsearia ariaSets ARIA attributes on the link for improved accessibility. Only applies when href is set.type DrilldownLinkAriaAttribute = {
  'aria-label'?: string;
  'aria-description'?: string;
  'aria-current'?: string;
  'aria-haspopup'?: string;
}
undefined
download downloadSets the native download attribute to trigger a file download. Only applies when href is set.stringundefinedhref hrefWhen set, the component renders as an anchor navigating to this URL. Otherwise, provide a slotted anchor element.stringundefinedrel relSets the rel attribute on the link element (e.g. noopener). Only applies when href is set.stringundefinedtarget targetSpecifies where to open the linked URL (e.g. _self, _blank). Only applies when href is set.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%