Skip to main content

Overview

SelectMenu and SelectMenuSync are now exported from @servicetitan/anvil2. The beta export remains available until Anvil2 4.0, but importing these components from @servicetitan/anvil2/beta is deprecated.

Design Rationale

SelectMenu reached stable quality and is the recommended component for single-select menus attached to custom triggers. Keeping the beta export temporarily avoids breaking existing imports while teams migrate to the stable entrypoint.

Migration Guide

Update import paths

// Before
import { SelectMenu, SelectMenuSync } from "@servicetitan/anvil2/beta";

// After
import { SelectMenu, SelectMenuSync } from "@servicetitan/anvil2";
See the Select Menu code docs for API details.

Migration Impact

Deprecation Notice

Importing SelectMenu from @servicetitan/anvil2/beta logs a one-time development warning and will be removed in Anvil2 4.0. No prop or behavior changes are required when switching import paths.
Last modified on June 23, 2026