EnterUI
DocsComponentsThemesExamplesDonation
Get Started
      • SkipLink
      • ToolbarButton
      • ToolbarGroup
      • CopyButton
      • CodeBlock
      • Kbd
      • VisuallyHidden

Default usage

  1. EnterUI
  2. /Docs
  3. /Layout and Utilities
  4. /Utilities
  5. /Accessibility and Actions
  6. /VisuallyHidden
Updated 3 October 2026

VisuallyHidden

Hide text visually while keeping it available to assistive technology.

VisuallyHidden defines how EnterUI handles hide text visually while keeping it available to assistive technology, including default structure, accessible states, and token-driven styling.

#Default usage

Screen-reader text

Useful when visual controls are intentionally compact.

Code
<IconButton aria-labelledby="hidden-menu-label">
  <VisuallyHidden id="hidden-menu-label">Open navigation</VisuallyHidden>
  M
</IconButton>

#Import

Code
import { VisuallyHidden } from "@froggdesign/enter-ui-react";

#Accessibility

VisuallyHidden uses the standard clipping pattern. It is intended for short labels or helper text, not for hiding important visible content.

#API

  • Renders a span.
  • Accepts native span props and className.

#Styling

Uses .eui-visually-hidden with standard accessible hiding CSS.

PreviousKbd
NextLabel
On this page
  • Default usage
  • Import
  • Accessibility
  • API
  • Styling