docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum MenuItemVariant

    The visual variant of a MenuItem.

    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public enum MenuItemVariant
    Remarks

    The variants mirror the App UI web design system one-for-one, so a menu row authored in UI Toolkit and the same row authored on the web carry the same name and the same emphasis.

    Fields

    Name Description
    Default

    The standard menu row, using the neutral control foreground.

    Destructive

    A row for an action with irreversible consequences, such as deleting data. It is tinted with the semantic destructive colour, label, icon and all.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)