Nosferatu's Pace Maker

    @hackr/chakra-ui-live-region
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0-rc.9 • Public • Published

    Live Regions

    ARIA Live Regions are used to communicate important information to screen reader software.

    Installation

    yarn add @chakra-ui/live-region

    Import components

    import { LiveRegion, useLiveRegion } from "@chakra-ui/live-region"

    Usage

    import { useLiveRegion } from "@chakra-ui/live-region"
    
    function Example() {
      const region = useLiveRegion()
      return (
        <button
          onClick={() => {
            region.speak("Filtering categories was successful")
          }}
        >
          Click me
        </button>
      )
    }

    Install

    npm i @hackr/chakra-ui-live-region

    DownloadsWeekly Downloads

    1

    Version

    1.0.0-rc.9

    License

    MIT

    Unpacked Size

    8.51 kB

    Total Files

    4

    Last publish

    Collaborators

    • gnuns