# FocusWithin The `FocusWithin` module responds to focus and blur events on its child. Focus events are dispatched for all input types, with the exception of `onFocusVisibleChange` which is only dispatched when focusing with a keyboard. Focus events do not propagate between `FocusWithin` event responders. ```js // Example const Button = (props) => { const [ focusWithin, updateFocusWithin ] = useState(false); const [ focusWithinVisible, updateFocusWithinVisible ] = useState(false); return (