1import{a as r,t as c}from"../chunks/disclose-version.CpLNAyUK.js";import"../chunks/legacy.CveKX-VX.js";import{s as a,c as t,r as n,n as l}from"../chunks/runtime.DKHJOG9p.js";import{C as p}from"../chunks/CodeBlock.DZqxQGjo.js";var d=c(`<div class="space-y-10"><header class="card card-gradient space-y-8"><h1 class="h1"><span>Utilities</span></h1> <p>Below you'll find a number of useful utilities.</p></header> <section class="space-y-8"><h2 class="h2">useId</h2> <p>Generates a unique identifier string. This function combines a random string and an 2 incrementing counter to ensure uniqueness.</p> <!></section> <section class="space-y-8"><h2 class="h2">Compare</h2> <p>Compare to <a class="anchor" href="https://floating-ui.com/docs/react-utils" target="_blank">Floating UI React</a>.</p></section></div>`);function g(i){var s=d(),e=a(t(s),2),o=a(t(e),4);p(o,{lang:"ts",code:` 3import { useId } from '@skeletonlabs/floating-ui-svelte'; 4 5const id = useId(); 6`}),n(e),l(2),n(s),r(i,s)}export{g as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.