From be85a72f993bed00d035ad2a4b640207d6e43bf9 Mon Sep 17 00:00:00 2001 From: Victor Ribeiro Date: Mon, 26 Feb 2024 04:13:55 -0300 Subject: [PATCH] docs: mention when `useId` composable was introduced (#25953) --- docs/3.api/2.composables/use-id.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/3.api/2.composables/use-id.md b/docs/3.api/2.composables/use-id.md index acaf6e0c24..9cd649696b 100644 --- a/docs/3.api/2.composables/use-id.md +++ b/docs/3.api/2.composables/use-id.md @@ -3,6 +3,10 @@ title: "useId" description: Generate an SSR-friendly unique identifier that can be passed to accessibility attributes. --- +::important +This composable is available since [Nuxt v3.10](/v3-10#ssr-safe-accessible-unique-id-creation). +:: + `useId` generates an SSR-friendly unique identifier that can be passed to accessibility attributes. Call `useId` at the top level of your component to generate a unique string identifier: