@ciceksepeti/cui-visually-hidden
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

@ciceksepeti/cui-visually-hidden

npm version storybook PRs Welcome license

Visually Hidden is used when an element needs to be available to assistive technology, but otherwise hidden. The visually hidden component hides text visually from screen, but keeps it available to assistive technologies, such as screen readers. The component shouldn't be used to hide interactive content.

Installing

Using Npm:

$ npm install @ciceksepeti/cui-visually-hidden

Using Yarn:

$ yarn add @ciceksepeti/cui-visually-hidden

Example

import VisuallyHidden from "@ciceksepeti/cui-visually-hidden";

function Demo() {
  return <VisuallyHidden>Should not be seen!</VisuallyHidden>;
}

Readme

Keywords

none

Package Sidebar

Install

npm i @ciceksepeti/cui-visually-hidden

Weekly Downloads

28

Version

0.1.7

License

MIT

Unpacked Size

47 kB

Total Files

7

Last publish

Collaborators

  • admin.it