Skip to main content
Styles

Visually hidden

Import

import { VisuallyHidden } from 'govuk-react/visually-hidden';

Examples

Default

Code
<>
  <Body>Following this paragraph is some content that is only available to screen readers.</Body>
  <VisuallyHidden {...args} />
</>

API reference

VisuallyHidden

No props of its own. Other props are passed to the element it renders.