Skip to content
'; user_status_content.firstChild.appendChild(avatarContainer); } else { // Placeholder for LoggedOutUserMenu let loggedOutContainer = document.createElement('div'); // if LoggedOutUserMenu fallback let userBtn = document.createElement('button'); userBtn.style.width = "33px"; userBtn.style.height = "33px"; userBtn.style.display = "flex"; userBtn.style.alignItems = "center"; userBtn.style.justifyContent = "center"; userBtn.style.color = "var(--ds-gray-900)"; userBtn.style.border = "1px solid var(--ds-gray-300)"; userBtn.style.borderRadius = "100%"; userBtn.style.cursor = "pointer"; userBtn.style.background = "transparent"; userBtn.style.padding = "0"; // user icon ( from geist) let svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg'); svg.setAttribute('data-testid', 'geist-icon'); svg.setAttribute('height', '16'); svg.setAttribute('stroke-linejoin', 'round'); svg.setAttribute('style', 'color:currentColor'); svg.setAttribute('viewBox', '0 0 16 16'); svg.setAttribute('width', '16'); let path = document.createElementNS('http://www.w3.org/2000/svg', 'path'); path.setAttribute('fill-rule', 'evenodd'); path.setAttribute('clip-rule', 'evenodd'); path.setAttribute('d', 'M7.75 0C5.95507 0 4.5 1.45507 4.5 3.25V3.75C4.5 5.54493 5.95507 7 7.75 7H8.25C10.0449 7 11.5 5.54493 11.5 3.75V3.25C11.5 1.45507 10.0449 0 8.25 0H7.75ZM6 3.25C6 2.2835 6.7835 1.5 7.75 1.5H8.25C9.2165 1.5 10 2.2835 10 3.25V3.75C10 4.7165 9.2165 5.5 8.25 5.5H7.75C6.7835 5.5 6 4.7165 6 3.75V3.25ZM2.5 14.5V13.1709C3.31958 11.5377 4.99308 10.5 6.82945 10.5H9.17055C11.0069 10.5 12.6804 11.5377 13.5 13.1709V14.5H2.5ZM6.82945 9C4.35483 9 2.10604 10.4388 1.06903 12.6857L1 12.8353V13V15.25V16H1.75H14.25H15V15.25V13V12.8353L14.931 12.6857C13.894 10.4388 11.6452 9 9.17055 9H6.82945Z'); path.setAttribute('fill', 'currentColor'); svg.appendChild(path); userBtn.appendChild(svg); loggedOutContainer.appendChild(userBtn); loggedOutContainer.style.display = 'flex'; loggedOutContainer.style.gap = '8px'; loggedOutContainer.style.alignItems = 'center'; user_status_content.firstChild.appendChild(loggedOutContainer); } })();
Menu

vercel microfrontends

Last updated March 17, 2026

The vercel microfrontends command (alias: vercel mf) provides utilities for managing Vercel Microfrontends from the CLI.

To learn more about the architecture and config format, see Microfrontends on Vercel. For a polyrepo setup walkthrough, see Accessing the configuration file.

SubcommandDescription
create-groupCreate a new microfrontends group
add-to-groupAdd the current project to a group
remove-from-groupRemove the current project from its group
delete-groupDelete a microfrontends group
inspect-groupInspect a microfrontends group and its projects
pullPull remote configuration for local development

Create a new microfrontends group to compose multiple projects into one cohesive application with shared routing. The group is created in the current scope (team or user). The command is interactive if options are omitted.

terminal
vercel microfrontends create-group [options]
OptionDescription
--nameName of the microfrontends group
--projectProject name to include (repeatable)
--default-appProject name for the default application
--default-routeDefault route for the default application
terminal
vercel microfrontends create-group
terminal
vercel mf create-group --name="My Group" --project=web --project=docs --default-app=web

Add the current project to a microfrontends group as a child application. The project can then be independently deployed as part of the group. The command is interactive if options are omitted.

To set a project as the default application, use create-group with the --default-app option or configure it in the dashboard.

terminal
vercel microfrontends add-to-group [options]
OptionDescription
--groupName of the microfrontends group to add to
--default-routeDefault route for this project (for example, /docs)
terminal
vercel microfrontends add-to-group
terminal
vercel mf add-to-group --group="My Group" --default-route=/docs

Remove the current project from its microfrontends group so it's no longer part of the composed application.

You cannot remove the default application from a group using the CLI. To remove the default application, use the dashboard or delete the entire group with delete-group.

terminal
vercel microfrontends remove-from-group [options]
OptionDescription
-y, --yesSkip the project-link prompt (does not skip the removal confirmation)
terminal
vercel microfrontends remove-from-group

Delete a microfrontends group and all its settings. This action is not reversible.

terminal
vercel microfrontends delete-group [options]
OptionDescription
--groupName or ID of the microfrontends group to delete
-y, --yesSkip the project-link prompt (does not skip the deletion confirmation)
terminal
vercel microfrontends delete-group
terminal
vercel mf delete-group --group="My Group"

Inspect a microfrontends group and return metadata about the group and its projects. This command is useful for setup automation and scripts.

If you omit --group, the command is interactive and lets you select a group. In non-interactive environments, pass --group.

terminal
vercel microfrontends inspect-group [options]
OptionDescription
--groupName, slug, or ID of the microfrontends group to inspect
--config-file-nameCustom microfrontends config file path/name relative to the default app root (must end with .json or .jsonc)
--formatOutput format. Use json for machine-readable output
terminal
vercel microfrontends inspect-group
terminal
vercel mf inspect-group --group="My Group" --format=json
terminal
vercel mf inspect-group --group="My Group" --config-file-name=microfrontends.jsonc --format=json

Pull the remote microfrontends configuration to your local repository for development.

For a polyrepo setup walkthrough, see Accessing the configuration file. This subcommand requires Vercel CLI 44.2.2 or newer.

terminal
vercel microfrontends pull [options]
OptionDescription
--dplDeployment ID or URL to pull configuration from
terminal
vercel microfrontends pull
terminal
vercel mf pull --dpl dpl_123xyz

The following global options can be passed when using the vercel microfrontends command:

For more information on global options and their usage, refer to the options section.


Was this helpful?

supported.