useBreakpoint

useBreakpoint is a custom hook that returns the current breakpoint. This hook monitors changes in the window size and returns the appropriate value.

The current breakpoint is "base".

Usage

import { useBreakpoint } from "@yamada-ui/react"
const breakpoint = useBreakpoint()