---
title: VisuallyHidden
description: "`VisuallyHidden` is a common technique used in web accessibility to hide content from the visual client, but keep it readable for screen readers."
links:
- style: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/visually-hidden/visually-hidden.style.ts
- source: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/visually-hidden
- storybook: https://yamada-ui.github.io/yamada-ui?path=/story/components-visuallyhidden--basic
---
```tsx
```
## Usage
```tsx
import { VisuallyHidden } from "@yamada-ui/react"
```
```tsx
import { VisuallyHidden } from "@/components/ui"
```
```tsx
import { VisuallyHidden } from "@workspaces/ui"
```
```tsx
Hidden content
```
It is used to visually hide elements, but it is accessible in screen readers. By default, it renders a `span` element.
## Props
| Prop | Default | Type | Description |
| ------------- | ------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| `as` | - | `As` | The HTML element to render. |
| `asChild` | - | `boolean` | Merges its props onto its immediate child. |
| `css` | - | `CSSObject \| CSSObject[]` | The CSS object. |
| `colorScheme` | - | `"amber" \| "black" \| "blackAlpha" \| "blue" \| "cyan" \| "danger" \| "emerald" \| "error" \| "flashy" \| "fuchsia" ...` | Set color scheme variables. |