Current page: {{ page }}
``` ### Autoplay The Carousel can play automatically. Just add the `autoplay` prop. You'll probably want to add `loop` too, so it keeps going after the last slide. ```vueDialog is {{ dialog.open ? 'open' : 'closed' }}
Some content
Some content
Some content
Some content
Some content
Some content
floatingPanel is {{ floatingPanel.open ? 'open' : 'closed' }}
Some content
Selected tab: {{ value }}
Volume is {{ pressed ? 'unmuted' : 'muted' }}
{{ JSON.stringify(environment.getRootNode(), null, 2) }}``` ## API Reference ### EnvironmentProvider #### Props **`value`** Type: `RootNode | (() => RootNode)` Required: false Default Value: `undefined` Description: undefined # Focus Trap ## Motivation Focus trapping is essential for modal interfaces and other interactive elements that require user attention. The `FocusTrap` component helps maintain accessibility by ensuring keyboard focus remains within a designated container until explicitly released. ## Examples ```vue
This content is rendered within our custom frame component using a Portal.
This content is rendered within our custom frame component using a Portal.
This content is rendered within our custom frame component using a Portal.
``` # Highlight ## Usage The Highlight component takes a `text` prop containing the full text and a `query` prop specifying the text to highlight. It then renders the text with highlighted portions wrapped in `` tags. ```vue{{ JSON.stringify(locale, null, 2) }}``` ## API Reference ### LocaleProvider #### Props **`locale`** Type: `string` Required: true Default Value: `'en-US'` Description: The locale to use for the application. # Presence ## Examples By default the child component starts out as hidden and remains hidden after the `present` state is toggled off. This is useful for situations where the element needs to be hidden initially and continue to stay hidden after its presence is no longer required. ```vue