Find where a component is used
Every component has a page that shows where it is used: across every repo, and inside one repo down to the file and line. For example, open Button from @acme/ui to see that storefront and checkout both use it and which version each is on, then which files in storefront still set variant="secondary".
This page assumes the dashboard already has scans uploaded. If it has none, start with Explore the dashboard.
Open a component across repos
- Select packages in the top navigation.
- Type
@acme/uiinto the search box and open the package's row. - In the package page's Components table, search for
Buttonand select its name.

The header gives the component's type, how many repos use it and its total uses. For a component from a package, it also gives the range of versions those repos are on, such as 3.1.0 – 4.2.0. If the component is deprecated, the header says so, for example deprecated in 5 of 5 repos, with a line naming its replacement or reading Retired.
The Used in table has one row per repo whose latest scan includes the component, heaviest users first:
- Version: the version installed in that repo.
- Deprecated: whether a lifecycle record covers the component.
- Committed: the date of the commit that repo's numbers come from.
Select a row to open the component's page for that repo.
A component defined in the repo is listed under its workspace package, or under the repo's root package when it is outside every workspace package. A scan from an older CLI version doesn't list such a component under any package: open it from the repo, or scan again with the latest CLI.
Open a component in one repo
- Select repos in the top navigation and open the repo.
- On the Components tab, search for
Buttonand select its name. See Find components in a repo for the filters.
Badges beside the name show its origin (External or Local), its type (React, Vue, Web component or Undefined element), and Deprecated when a lifecycle record covers it. From names its package, followed by the entry point when it was imported from a subpath (button for @acme/ui/button), the installed version and, for a component defined in the repo, the file and line after defined at.
The page always shows the repo's latest scan, even when the repo page is showing an older scan.
It has two tabs: Usage (the default) and Composition. The tab you pick, and the search, filters and sort on Usage, are kept in the page URL, so a copied link opens the same view.
See how it is used

The Usage tab lists the files that use the component, with filters beside them. On a narrow window, press Filter, or Used in and prop values (Used in for a component with no props), to show the filters.
Filter by package or folder
Used in lists the folders the uses are in, with how many uses each holds. When the uses sit in more than one of the repo's packages, as in a monorepo, it lists those packages instead, such as @acme/web and @acme/admin.
Press a folder or package to keep only its uses, and press it again to remove the filter.
Filter by prop value
Prop values lists each prop the uses set, most set first, with how many uses set it. Press a prop to open its values, each with how many uses set it:
primary: a value written in the code, as invariant="primary".{…}: a variable or an expression, as invariant={tone}orlabel={t("save")}.- Not set: the uses that don't set the prop.
Press a value to keep only its uses, and press it again to remove the filter. Pick two values of one prop, such as primary and secondary, to keep the uses that set either. Filters on two props, or on a prop and a folder, keep only the uses that match both.
Undeclared after a prop's name means the component's declaration doesn't list it. When the component has many props, type part of a name into Find a prop to narrow the list.
Three more groups below Prop values filter the same way. Press a group's heading to open it:
- Styling:
className,class,style,sxandcss. - Events: handlers such as
onClickin React, and listeners such asclickfor a Vue@click. - Attributes:
data-andaria-attributes,key,ref, test ids such astestId, and HTML attributes such asidandrole.
Search and remove filters
Type into Search files and props to keep the uses whose file path or props hold the text, such as checkout/ or size=large. A component with only a few uses has no search box.
Each filter shows as a pill above the list, such as variant = secondary. Press a pill's × to remove it, or Clear filters to remove them all and keep the search.
Read the file list
The list has one row per file, the file with most uses first. A long list that spans several packages or folders is grouped under a heading for each.
Press a file's row to open it. It lists one line per use, in line order, with the props written there, such as :42 variant="secondary" size="sm". A line can also show:
- Rendered by and the component whose code renders it, or each one when several do. Select a name to draw its route on Composition.
- Imported as and the name the file gives the component, as in
import { Button as ShopButton } from "@acme/ui". - via and a name, when the code doesn't render the component by its own name: the function it's passed to, as
makeControlinmakeControl(Input), or a wrapper such asmemo. The scan file reference describes each.
Select a line number such as :42 to open that line in the repo's git host, at the commit that was scanned. A file's name opens the file at its first use. When the scan recorded no git remote, or one the dashboard can't read, both are plain text.
A count such as +2 beside a prop's value means the file's uses set other values too. Press a column heading (File, Uses or a prop's name) to sort by it, and press it again to reverse the order.
Copy the list
Copy list copies the uses in view as text: the component and repo, the filters, each file with its line numbers and a link to its first use, and a link back to this view. When a long list is grouped, each package's or folder's heading has its own Copy.
Composition
Composition shows what renders this component and what it renders, anywhere in the repo, as a diagram. Composition and ownership explains how this is worked out.
Read the diagram
What renders the component is on its left, and what it renders on its right, with a column for each number of steps away: Directly · 200, 2 steps away · 107 and so on. Each column lists the components with the most uses first. Press a box such as +190 more to open the rest as a list you can filter, and pick a row to select it.
Follow a route
Press a box to select it: its route to this component is drawn, and the components one step further out from it appear. Press it again to hide them. To select one that isn't on screen, type its name or file into Find a component or a file… and pick it.
With a component selected, Open and its name, such as Open ProductCard, goes to its page. Press Escape or × to clear the selection.
Reset closes everything you opened and clears the selection. Scroll or pinch to zoom, and drag to pan. On a phone, the tab opens on a list of the same components: press Diagram to see the diagram.
The selection is kept in the page's link, so a copied link opens with the same route drawn. A Rendered by link on Usage opens Composition with that component selected.
Good to know
{…}is not missing data. It's a variable or an expression, whose value is worked out when the app runs, so the scan can't know it. Event handlers such asonClick={save}always read{…}under Events. On a file's lines, a variable keeps its name, as invariant={tone}, and a spread such as{...props}reads{...rest}.- One tag can count as more than one use. A tag inside a helper function, such as a
renderRow()that returns JSX, counts once for every component that calls the helper. It shows as one line, with each of those components after Rendered by. - The import path is part of the component.
Buttonfrom@acme/uiandButtonfrom@acme/ui/buttonare two components, each with its own page. A lifecycle record onButtoncovers both.
Reading the numbers explains what each count includes.
Next step
Found repos still using a component you want to replace? Track a migration follows each repo's progress to its replacement.