Menu Pass Through

Pass Through documentation for Menu component

Viewer#

Some sections may not be visible due to the availability of the particular feature.

Loading...

Defines passthrough(pt) options of Menu component.

labeltypedescription
rootMenuPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the root's DOM element.
listMenuPassThroughType<HTMLAttributes<HTMLUListElement>>Used to pass attributes to the list's DOM element.
itemMenuPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the item's DOM element.
checkboxItemMenuPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the checkbox item's DOM element.
radioItemMenuPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the radio item's DOM element.
labelMenuPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the label's DOM element.
triggerMenuPassThroughType<HTMLAttributes<HTMLButtonElement>>Used to pass attributes to the trigger's DOM element.
iconMenuPassThroughType<HTMLAttributes<SVGElement>>Used to pass attributes to the item icon's DOM element.
checkboxIconMenuPassThroughType<HTMLAttributes<SVGElement>>Used to pass attributes to the checkbox item icon's DOM element.
radioIconMenuPassThroughType<HTMLAttributes<SVGElement>>Used to pass attributes to the radio item icon's DOM element.
separatorMenuPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the separator's DOM element.
portalMenuPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the portal's DOM element.

Defines passthrough(pt) options of MenuList component.

labeltypedescription
rootMenuListPassThroughType<HTMLAttributes<HTMLUListElement>>Used to pass attributes to the root's DOM element.
contentMenuListPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the content's DOM element.

Defines passthrough(pt) options of MenuItem component.

labeltypedescription
rootMenuItemPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuCheckboxItem component.

labeltypedescription
rootMenuCheckboxItemPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuRadioItem component.

labeltypedescription
rootMenuRadioItemPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuLabel component.

labeltypedescription
rootMenuLabelPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuSub component.

labeltypedescription
rootMenuSubPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuSeparator component.

labeltypedescription
rootMenuSeparatorPassThroughType<HTMLAttributes<HTMLLIElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuTrigger component.

labeltypedescription
rootMenuTriggerPassThroughType<HTMLAttributes<HTMLButtonElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuPortal component.

labeltypedescription
rootMenuPortalPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuIcon component.

labeltypedescription
rootMenuIconPassThroughType<SVGAttributes<SVGElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuCheckboxIcon component.

labeltypedescription
rootMenuCheckboxIconPassThroughType<SVGAttributes<SVGElement>>Used to pass attributes to the root's DOM element.

Defines passthrough(pt) options of MenuRadioIcon component.

labeltypedescription
rootMenuRadioIconPassThroughType<SVGAttributes<SVGElement>>Used to pass attributes to the root's DOM element.