Visually hidden

Screen-reader-only wrapper; optionally visible on focus for skip links.

Preview

Interactive examples use the same @flux/ui build as production. Toggle theme in the header for light and dark. Motion tokens and layout patterns live under Motion and Patterns in the sidebar.

Live preview

The button below has a visually hidden label for screen readers:

Screen readers announce: “Open settings, button”

Installation

Add the package to your app (full Next.js + Tailwind steps on Installation):

npm install @payglocal_ui/flux-ui

Usage

Import

import { VisuallyHidden } from "@payglocal_ui/flux-ui";

Example

<VisuallyHidden>Skip to main content</VisuallyHidden>