Menu

A native menu trigger styled through FreakUI component primitives.

A native menu trigger styled through FreakUI component primitives.

Public API

  • FMenu

Example

FMenu(title: "More", rightIcon: "chevron.down") {
    Button("Duplicate") { duplicateItem() }
    Button("Delete", role: .destructive) { deleteItem() }
}

Source

This reference follows Sources/FreakUI/Components/Actions/FMenu.swift. Component-specific configuration is documented under the public initializer, modifier, and supporting types in that source file.