Skip to content

Utilities

Visually Hidden

Bundle size
187 B
3.0.2

Hides content visually, in an accessible way.

This component is a slight expansion of the Visually Hidden developed and maintained by Radix UI.

Useful in certain scenarios as an alternative to the traditional use of aria-label or aria-labelledby.

Terminal window
pnpm add @inpulse-ui/visually-hidden

The only component of Visually Hidden.

PropTypeDefault ValueRequired
asChildbooleanfalseNo
labelstring-No

Anything you put inside this component or set with label will be hidden from the screen but will be announced by screen readers.

<VisuallyHidden>Settings</VisuallyHidden>

This is the most common way to use Visually Hidden.

It is possible to obtain the same result through the label property.

Project

Built with by Jo Santana in Brazil.

© 2026 Inpulse. All rights reserved.