--- title: useBreakpoint description: "`useBreakpoint` is a custom hook that returns the current breakpoint. This hook monitors changes in the window size and returns the appropriate value." links: - source: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/hooks/use-breakpoint - storybook: https://yamada-ui.github.io/yamada-ui?path=/story/hooks-usebreakpoint--basic --- ```tsx const breakpoint = useBreakpoint() return The current breakpoint is "{breakpoint}". ``` ## Usage ```tsx import { useBreakpoint } from "@yamada-ui/react" ``` ```tsx import { useBreakpoint } from "@/components/ui" ``` ```tsx import { useBreakpoint } from "@workspaces/ui" ``` ```tsx const breakpoint = useBreakpoint() ``` :::note The return value refers to the [breakpoint](https://yamada-ui.com/docs/theming/breakpoints.md) of the theme. :::