Find React component

Proprietary

Finds all usages of a specific React component including imports, JSX elements, and exports.

org.openrewrite.react.search.find-react-component

Required

The name of the React component to find (e.g., 'Button', 'TextField')

Optional

Optional module path to narrow the search (e.g., '@mui/material'). Supports glob patterns.

mod run . --recipe=org.openrewrite.react.search.find-react-component \ -P componentName=Button

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.