Skip to content
feega
star on github download

Components

List every component of your project, or open one on its own.

The Components tab in the left sidebar, next to Layers and Pages, lists every component Feega finds in your project.

  • Svelte, Vue and Astro files, one component per file.
  • React .jsx and .tsx files that export a capitalized component, one entry per export.

Page and layout files (the ones that make routes, such as +page.svelte or app/page.tsx), tests and stories are not listed; pages are in the Pages tab. Folders such as node_modules and dist are skipped.

Components sit in a tree of folders that looks and works like the Layers panel, with src left out. A folder that holds only another folder is shown on one row, such as lib/components. Folders come first, then components, both in alphabetical order. A number on the right of a component shows how many files use it. To see where an edit to a shared component lands, or to change one instance only, read Edit a shared component everywhere or one instance only.

Click a folder or its arrow to open or close it. With a row selected, use the up and down arrows to move, right to open a folder, left to close it or jump to its parent, and Enter to open a component. Feega remembers which folders are open for each project.

Type in the search field to filter by name or folder. Matching folders open on their own and the matching text is highlighted.

Click a component to open it in Focus, alone on the grey canvas, the same view you get by double-clicking an instance on the page. The component does not need to be used on the current page.

A component that cannot render alone, because it needs props or a provider, shows a notice and an empty canvas, since there is no instance on the page to copy. Next.js apps have no mount page, so components there are not rendered alone yet; open them from the page where they are used.

Click a component in the list to open it. The address bar then shows its name and a variant chip, Default at first. Click the chip to pick a variant: every place in your code that uses the component (“From your code”), or an edge case. Edit props… at the bottom of the menu shows one field per prop, and Reset goes back to Default. Editing a field changes the chip to Custom. Props that cannot be known, such as page load data, get fields there: type a value (JSON for objects and arrays), or click the dice button at the right end of a text field to pick a ready value: UUID, short id, slug, number, lorem text, name, email, date, URL, image URL or an empty string. The list follows the prop type, so a number prop offers numbers and a prop named like src or url offers links and images. The choices are remembered per project.

The menu also offers edge-case presets built from the declared prop types: Long text (200 characters in every string), Empty (empty strings and arrays), Missing image (a URL that does not exist for props named like an image, src or url) and Extreme numbers (0, -1 and 999999), plus one entry per value of a union prop. A preset lays over the chosen example, choosing a variant clears your edits, and one that would change no prop is not shown. A prop that takes children shows as a “Content” field.

The Pages and Components lists follow your files. When you, an AI agent or any other tool creates, deletes or renames a page or a component, the list updates on its own and a new entry is briefly highlighted.