Skip to content

Dropdown menu: support checks, options, separators, and labels #4614

Description

@nielsbosma

I want to be able to create a rich dropdown menu like GitHub's diff "Layout" settings dropdown using Ivy features. It combines several elements:

  • Section labels (e.g. "Layout")
  • Checkable items with a checkmark indicating the selected/active state (e.g. "Unified" / "Split", "Hide whitespace")
  • Separators between groups of items

Question: Do we already have the API to build all of this (checks, options, separators, labels)? If not, what's missing?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions