R

VisuallyHidden

1 parts

Anatomy

Import the parts and compose them. Each part forwards attributes to its underlying element.

vue
import {
  VisuallyHidden,
} from '@robonen/primitives/visually-hidden';

<VisuallyHidden />

API Reference

VisuallyHidden

Root
PropTypeDescription
feature?'focusable' | 'hidden'Exclude the element from the accessibility tree entirely. Useful when the content is purely decorative and must not be announced.