Examples
Expanded toggle
When a user selects a toggle, it becomes expanded and is styled with a blue underline. To flag expanded toggles, and apply expanded styling, use the isExpanded
property .
Small toggle
You can pass size="sm"
to a MenuToggle to style it as a small toggle, such as within a breadcrumb.
With a badge
To display a count of selected items in a toggle, use the badge
property. You can also pass in variant="plainText"
for a badge only toggle.
With icons
To add a recognizable icon to a menu toggle, use the icon
property. The following example adds a CogIcon
to the toggle.
For most basic icons, it is recommended to wrap it inside our icon component.
With avatar and text
You can also pass images into the icon
property. The following example passes in an <Avatar>
component with an imgAvatar
.
This can be used alongside a text label that provides more context for the image.
Variant styles
Variant styling can be applied to menu toggles. In the following example, the toggle uses primary styling by passing variant="primary"
into the <MenuToggle>
component. Additional variant options include “default”, “plain”, “plainText”, “secondary”, and “typeahead”.
Plain toggle with icon
To apply plain styling to a menu toggle with an icon, pass in variant="plain"
. This will remove the default bottom border and caret. You may pass in an icon
to serve as the menu toggle. The following example passes in an EllipsisVIcon
.
If the toggle does not have any visible text content, use the aria-label
property to provide an accessible name.
Plain toggle with text label
To apply plain styling to a menu toggle with a text label, pass in variant="plainText"
. Unlike the “plain” variant, “plainText” adds a caret pointing down in the toggle.
Split toggle with checkbox
To add a checkbox (or other action/control) to a menu toggle, use a split button.
A <MenuToggle>
can be rendered as a split button by adding a splitButtonItems
property. Elements to be displayed before the toggle button must be included in the splitButtonItems
.
The following example shows a split button with a <MenuToggleCheckbox>
.
Variant styling can be applied to split button toggles to adjust their appearance for different scenarios. Both "primary" and "secondary" variants can be used with split button toggles.
Split toggle with labeled checkbox
You can allow users to select a toggle checkbox by clicking either the checkbox or the text label.
To link a split toggle label to the toggle's checkbox, pass both the label and the <MenuToggleCheckbox>
component to splitButtonItems
.
Split toggle with checkbox and toggle text
To link a split toggle label to the toggle button itself, pass the label to the <MenuToggle>
component, instead of splitButtonItems
.
Split toggle with action
To add an action to a split button, add a <MenuToggleAction>
to the splitButtonItems
property.
Actions may be used with primary and secondary toggle variants.
Full height toggle
A full height toggle fills the height of its parent. To flag a full height toggle, use the isFullHeight
property.
In the following example, the toggle fills the size of the "80px" <div>
element that it is within.
Full width toggle
A full width toggle fills the width of its parent. To flag a full width toggle, use the isFullWidth
property.
In the following example, the toggle fills the width of its parent as the window size changes.
Typeahead toggle
To create a typeahead toggle, pass in variant="typeahead"
to the <MenuToggle>
. Then, pass a <TextInputGroup>
component as a child of the <MenuToggle>
.
To create a multiple typeahead toggle, pass a <TextInputGroup>
component implemented like the text input group's filter example as a child of <MenuToggle>
.
Status toggle
To create a toggle with a status, pass in the status
property to the MenuToggle
. The default icon associated with each status may be overridden by using the statusIcon
property.
When the status value is "warning" or "danger", you must include helper text that conveys what is causing the warning/error.
Placeholder text in toggle
To indicate the toggle contains placeholder text, pass the isPlaceholder
property to the MenuToggle
.
Props
MenuToggle
Name | Type | Default | Description |
---|---|---|---|
badge | BadgeProps | React.ReactNode | Optional badge rendered inside the toggle, after the children content | |
children | React.ReactNode | Content rendered inside the toggle | |
className | string | Additional classes added to the toggle | |
icon | React.ReactNode | Optional icon or image rendered inside the toggle, before the children content. It is recommended to wrap most basic icons in our icon component. | |
isDisabled | boolean | Flag indicating the toggle is disabled | |
isExpanded | boolean | Flag indicating the toggle has expanded styling | |
isFullHeight | boolean | Flag indicating the toggle is full height | |
isFullWidth | boolean | Flag indicating the toggle takes up the full width of its parent | |
isPlaceholder | boolean | Flag indicating the toggle contains placeholder text | |
ouiaId | number | string | Value to overwrite the randomly generated data-ouia-component-id. It will always target the toggle button. | |
ouiaSafe | boolean | Set the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false. | |
size | 'default' | 'sm' | Adds styling which affects the size of the menu toggle | |
splitButtonItems | React.ReactNode[] | Elements to display before the toggle button. When included, renders the menu toggle as a split button. | |
status | 'success' | 'warning' | 'danger' | Status styles of the menu toggle | |
statusIcon | React.ReactNode | Overrides the status icon | |
variant | 'default' | 'plain' | 'primary' | 'plainText' | 'secondary' | 'typeahead' | Variant styles of the menu toggle |
MenuToggleAction
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Element to be rendered inside the <button> | |
className | string | '' | Additional classes added to the MenuToggleAction |
id | string | Id of the action button | |
isDisabled | boolean | false | Flag to show if the action button is disabled |
onClick | (event: React.MouseEvent<HTMLButtonElement>) => void | () => {} | A callback for when the action button is clicked |
MenuToggleCheckbox
Name | Type | Default | Description |
---|---|---|---|
idrequired | string | Id of the checkbox | |
children | React.ReactNode | Element to be rendered inside the <span> | |
className | string | Additional classes added to the MenuToggleCheckbox | |
defaultChecked | boolean | Flag to set the default checked value of the checkbox when it is uncontrolled by React state. To make the checkbox controlled instead use the isChecked prop, but do not use both. | |
isChecked | boolean | null | Flag to show if the checkbox is checked when it is controlled by React state. To make the checkbox uncontrolled instead use the defaultChecked prop, but do not use both. | |
isDisabled | boolean | false | Flag to show if the checkbox is disabled |
isValid | boolean | true | Flag to show if the checkbox selection is valid or invalid |
onChange | (checked: boolean, event: React.FormEvent<HTMLInputElement>) => void | () => undefined as any | A callback for when the checkbox selection changes |
ouiaId | number | string | Value to overwrite the randomly generated data-ouia-component-id. | |
ouiaSafe | boolean | Set the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false. |
CSS variables
Expand or collapse column | Selector | Variable | Value | |
---|---|---|---|---|
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--Gap | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--PaddingBlockStart | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--PaddingInlineEnd | 1rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--PaddingBlockEnd | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--PaddingInlineStart | 1rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--MinWidth | calc(0.875rem * 1.5 + 0.5rem + 0.5rem) | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--FontSize | 0.875rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--Color | (In light theme) #151515 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--LineHeight | 1.5 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--BackgroundColor | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--BorderRadius | 6px | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--BorderColor | (In light theme) #c7c7c7 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--BorderWidth | 1px | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--border--ZIndex | 100 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--TransitionTimingFunction | cubic-bezier(.4, 0, .2, 1) | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--TransitionDuration | 100ms | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--TransitionProperty | color, background-color, border-width, border-color | ||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--hover--Color | (In light theme) #151515 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--hover--BackgroundColor | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--hover--BorderWidth | 1px | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--hover--BorderColor | (In light theme) #4394e5 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--hover__toggle-icon--Color | (In light theme) #1f1f1f | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--expanded--Color | (In light theme) #151515 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--expanded--BackgroundColor | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--expanded--BorderWidth | 2px | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--expanded--BorderColor | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--expanded__toggle-icon--Color | (In light theme) #1f1f1f | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--disabled--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--disabled__icon--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--disabled__toggle-icon--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--disabled__status-icon--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--disabled--BackgroundColor | (In light theme) #c7c7c7 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__icon--MinHeight | calc(0.875rem * 1.5) | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__icon--Color | (In light theme) #1f1f1f | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__toggle-icon--MinHeight | calc(0.875rem * 1.5) | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__toggle-icon--Color | (In light theme) #1f1f1f | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--PaddingInlineStart | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--PaddingInlineEnd | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--BackgroundColor | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--BorderRadius | 999px | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--BorderColor | transparent | ||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--hover--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--hover--BackgroundColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--hover--BorderColor | transparent | ||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--expanded--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--expanded--BackgroundColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--expanded--BorderColor | transparent | ||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary__toggle-icon--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--hover__toggle-icon--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-primary--expanded__toggle-icon--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--PaddingInlineStart | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--PaddingInlineEnd | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--Color | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--BorderColor | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--BorderRadius | 999px | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--hover--Color | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--hover--BorderWidth | 2px | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--hover--BorderColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--expanded--Color | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--expanded--BorderWidth | 2px | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--expanded--BorderColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary__toggle-icon--Color | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--hover__toggle-icon--Color | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-secondary--expanded__toggle-icon--Color | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-full-height--PaddingInlineEnd | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-full-height--PaddingInlineStart | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--child--disabled--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--child--disabled--BackgroundColor | (In light theme) #c7c7c7 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartWidth | 1px | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor | (In light theme) #c7c7c7 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--child--BorderRadius | 999px | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--child--disabled--BorderInlineStartColor | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineStart--offset | 1rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--pill--child--PaddingInlineEnd--offset | 1rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--m-primary--child--BackgroundColor | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--m-primary--child--hover--BackgroundColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--m-primary--child--BorderInlineStartColor | (In light theme) #c7c7c7 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--m-primary--expanded--child--BackgroundColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-split-button--m-secondary--child--BorderInlineStartColor | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__button--BackgroundColor | transparent | ||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__button--Gap | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__button--AlignSelf | baseline | ||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__button--PaddingInlineStart | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__button--PaddingInlineEnd | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__button--MinWidth | calc(0.875rem * 1.5 + 0.5rem + 0.5rem) | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__button--m-text--PaddingInlineStart | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__button--toggle-icon--PaddingInlineStart | 1rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__button--toggle-icon--PaddingInlineEnd | 1rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--PaddingInlineStart | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--PaddingInlineEnd | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--Color | (In light theme) #1f1f1f | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--BackgroundColor | (In light theme) rgba(255, 255, 255, 0.0000) | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--BorderColor | transparent | ||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--hover--BackgroundColor | (In light theme) rgba(199, 199, 199, 0.2500) | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--expanded--BackgroundColor | (In light theme) rgba(199, 199, 199, 0.2500) | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--disabled--Color | (In light theme) #a3a3a3 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--disabled__icon--Color | (In light theme) #a3a3a3 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--disabled__toggle-icon--Color | (In light theme) #a3a3a3 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-plain--disabled--BackgroundColor | transparent | ||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-typeahead__button--AlignSelf | stretch | ||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-small--PaddingBlockStart | 0.25rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-small--PaddingBlockEnd | 0.25rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-small--PaddingInlineStart | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-small--PaddingInlineEnd | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__status-icon--Color | (In light theme) #1f1f1f | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-success--BorderColor | (In light theme) #3d7317 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-success__status-icon--Color | (In light theme) #3d7317 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-warning--BorderColor | (In light theme) #dca614 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-warning__status-icon--Color | (In light theme) #dca614 | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-danger--BorderColor | (In light theme) #b1380b | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-danger__status-icon--Color | (In light theme) #b1380b | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle--m-placeholder--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle | --pf-v6-c-menu-toggle__controls--Gap | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--PaddingInlineStart | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--PaddingInlineEnd | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--BackgroundColor | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--BorderRadius | 999px | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--BorderColor | transparent | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--hover--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--hover--BackgroundColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--hover--BorderColor | transparent | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--expanded--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--expanded--BackgroundColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--expanded--BorderColor | transparent | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--hover__toggle-icon--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle--expanded__toggle-icon--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-primary | --pf-v6-c-menu-toggle__toggle-icon--Color | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--PaddingInlineStart | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--PaddingInlineEnd | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--Color | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--BorderColor | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--BorderRadius | 999px | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--hover--Color | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--hover--BorderWidth | 2px | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--hover--BorderColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--expanded--Color | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--expanded--BorderWidth | 2px | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--hover__toggle-icon--Color | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle--expanded__toggle-icon--Color | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-secondary | --pf-v6-c-menu-toggle__toggle-icon--Color | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-full-height | --pf-v6-c-menu-toggle--PaddingInlineEnd | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-full-height | --pf-v6-c-menu-toggle--PaddingInlineStart | 1.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-full-height | --pf-v6-c-menu-toggle--BorderBlockStartWidth | undefined | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--PaddingInlineStart | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--PaddingInlineEnd | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--Color | (In light theme) #1f1f1f | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--BackgroundColor | (In light theme) rgba(255, 255, 255, 0.0000) | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--BorderColor | transparent | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--hover--BackgroundColor | (In light theme) rgba(199, 199, 199, 0.2500) | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--expanded--BackgroundColor | (In light theme) rgba(199, 199, 199, 0.2500) | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--disabled--Color | (In light theme) #a3a3a3 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--disabled__icon--Color | (In light theme) #a3a3a3 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--disabled__toggle-icon--Color | (In light theme) #a3a3a3 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-plain | --pf-v6-c-menu-toggle--disabled--BackgroundColor | transparent | ||
| ||||
.pf-v6-c-menu-toggle:is(:hover, :focus) | --pf-v6-c-menu-toggle--Color | (In light theme) #151515 | ||
| ||||
.pf-v6-c-menu-toggle:is(:hover, :focus) | --pf-v6-c-menu-toggle--BackgroundColor | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle:is(:hover, :focus) | --pf-v6-c-menu-toggle--BorderWidth | 1px | ||
| ||||
.pf-v6-c-menu-toggle:is(:hover, :focus) | --pf-v6-c-menu-toggle--BorderColor | (In light theme) #4394e5 | ||
| ||||
.pf-v6-c-menu-toggle:is(:hover, :focus) | --pf-v6-c-menu-toggle__toggle-icon--Color | (In light theme) #1f1f1f | ||
| ||||
.pf-v6-c-menu-toggle:is(.pf-m-expanded, [aria-expanded=true]) | --pf-v6-c-menu-toggle--Color | (In light theme) #151515 | ||
| ||||
.pf-v6-c-menu-toggle:is(.pf-m-expanded, [aria-expanded=true]) | --pf-v6-c-menu-toggle--BackgroundColor | (In light theme) #ffffff | ||
| ||||
.pf-v6-c-menu-toggle:is(.pf-m-expanded, [aria-expanded=true]) | --pf-v6-c-menu-toggle--BorderWidth | 2px | ||
| ||||
.pf-v6-c-menu-toggle:is(.pf-m-expanded, [aria-expanded=true]) | --pf-v6-c-menu-toggle--BorderColor | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle:is(.pf-m-expanded, [aria-expanded=true]) | --pf-v6-c-menu-toggle__toggle-icon--Color | (In light theme) #1f1f1f | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-small | --pf-v6-c-menu-toggle--PaddingBlockStart | 0.25rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-small | --pf-v6-c-menu-toggle--PaddingBlockEnd | 0.25rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-small | --pf-v6-c-menu-toggle--PaddingInlineStart | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-small | --pf-v6-c-menu-toggle--PaddingInlineEnd | 0.5rem | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-success | --pf-v6-c-menu-toggle--BorderColor | (In light theme) #3d7317 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-success | --pf-v6-c-menu-toggle__status-icon--Color | (In light theme) #3d7317 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-warning | --pf-v6-c-menu-toggle--BorderColor | (In light theme) #dca614 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-warning | --pf-v6-c-menu-toggle__status-icon--Color | (In light theme) #dca614 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-danger | --pf-v6-c-menu-toggle--BorderColor | (In light theme) #b1380b | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-danger | --pf-v6-c-menu-toggle__status-icon--Color | (In light theme) #b1380b | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-placeholder | --pf-v6-c-menu-toggle--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle:is(:disabled, .pf-m-disabled) | --pf-v6-c-menu-toggle--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle:is(:disabled, .pf-m-disabled) | --pf-v6-c-menu-toggle__icon--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle:is(:disabled, .pf-m-disabled) | --pf-v6-c-menu-toggle__toggle-icon--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle:is(:disabled, .pf-m-disabled) | --pf-v6-c-menu-toggle__status-icon--Color | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle:is(:disabled, .pf-m-disabled) | --pf-v6-c-menu-toggle--BackgroundColor | (In light theme) #c7c7c7 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-split-button | --pf-v6-c-menu-toggle--Gap | 0 | ||
.pf-v6-c-menu-toggle.pf-m-split-button | --pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor | transparent | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-split-button > .pf-v6-c-check | --pf-v6-c-check__label--Color | currentcolor | ||
.pf-v6-c-menu-toggle.pf-m-split-button > .pf-v6-c-check | --pf-v6-c-check__label--disabled--Color | currentcolor | ||
.pf-v6-c-menu-toggle.pf-m-split-button > .pf-v6-c-check .pf-v6-c-check__input | --pf-v6-c-check__input--TranslateY | 0 | ||
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary | --pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor | (In light theme) #c7c7c7 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary > .pf-v6-c-menu-toggle__button:is(:hover, :focus) | --pf-v6-c-menu-toggle--m-split-button--m-primary--child--BackgroundColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-primary.pf-m-expanded | --pf-v6-c-menu-toggle--m-split-button--m-primary--child--BackgroundColor | (In light theme) #004d99 | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-split-button.pf-m-secondary | --pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor | (In light theme) #0066cc | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-split-button:is(.pf-m-disabled, :disabled) | --pf-v6-c-menu-toggle--m-split-button--child--BorderInlineStartColor | (In light theme) #4d4d4d | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-typeahead | --pf-v6-c-menu-toggle__button--AlignSelf | stretch | ||
| ||||
.pf-v6-c-menu-toggle.pf-m-typeahead | --pf-v6-c-menu-toggle--Gap | 0 | ||
.pf-v6-c-menu-toggle.pf-m-typeahead .pf-v6-c-menu-toggle__button | --pf-v6-c-menu-toggle__button--PaddingInlineEnd | 0 | ||
.pf-v6-c-menu-toggle.pf-m-typeahead .pf-v6-c-menu-toggle__controls | --pf-v6-c-menu-toggle__button--PaddingInlineEnd | 0 | ||
.pf-v6-c-menu-toggle.pf-m-typeahead .pf-v6-c-text-input-group | --pf-v6-c-text-input-group__utilities--MarginInlineEnd | 0 |