Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@radix-ui/react-visually-hidden

Package Overview
Dependencies
Maintainers
6
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-visually-hidden

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.9M
increased by1.66%
Maintainers
6
Weekly downloads
 
Created

What is @radix-ui/react-visually-hidden?

The @radix-ui/react-visually-hidden package is designed to assist developers in creating accessible web applications by providing a component that visually hides content but keeps it accessible to screen readers. This is particularly useful for enhancing the accessibility of websites without compromising the design or user interface.

What are @radix-ui/react-visually-hidden's main functionalities?

Visually hiding content

This feature allows developers to hide text or other elements visually while still making it accessible to screen readers. The provided code demonstrates how to wrap content within the VisuallyHidden component to achieve this effect.

import VisuallyHidden from '@radix-ui/react-visually-hidden';

function App() {
  return (
    <VisuallyHidden>
      <p>This text is hidden visually but accessible to screen readers.</p>
    </VisuallyHidden>
  );
}

Other packages similar to @radix-ui/react-visually-hidden

FAQs

Package last updated on 19 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc