From 6082c773b3674ed658e94c6826aab276d08a6f83 Mon Sep 17 00:00:00 2001 From: Root-Aamir Date: Thu, 9 Jul 2026 17:21:10 +0530 Subject: [PATCH] docs: clarify legacy Functions API in Snaps quickstart --- snaps/get-started/quickstart.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snaps/get-started/quickstart.md b/snaps/get-started/quickstart.md index 3d2c3544325..156b33c072e 100644 --- a/snaps/get-started/quickstart.md +++ b/snaps/get-started/quickstart.md @@ -136,6 +136,10 @@ export const onRpcRequest: OnRpcRequestHandler = async ({ origin, request }) => +:::note +The **Functions** tab uses the legacy/deprecated Functions-based UI API (`panel()` and `text()` from `@metamask/snaps-sdk`). For new Snaps, use the JSX-based UI shown in the **JSX** tab. The Functions API is maintained for legacy examples. +::: + ```ts title="index.ts" import type { OnRpcRequestHandler } from '@metamask/snaps-sdk' import { panel, text } from '@metamask/snaps-sdk'