Utilities

Visually Hidden

Visually Hidden is a component that hides an element from the screen but still keeps it accessible to screen readers.

Visually Hidden

Visually Hidden is a component that hides an element from the screen but still keeps it accessible to screen readers.

import { VisuallyHidden } from "@/components/ui/visually-hidden"

<VisuallyHidden>
  You can't see me, but I'm still accessible to screen readers.
</VisuallyHidden>

Installation

npx shadcn@latest add @intentui/visually-hidden

Manual installation

npm i react-aria-components react-aria
Unlock the full power of
Design Intent UI
Build modern web apps faster with 350+ blocks and polished templates crafted for professionals.
Explore