component-catalog.md
The 4AF component catalog and composition reference for coding agents.
4AF Component Catalog for Agents
Use this chooser to select an installable component. registry.json holds the current install
names, and https://4af.selfsimilar.dev/docs/<component>.md has each component's complete API,
notes, and install/usage examples. The links below open the same owning documentation pages.
Sources of truth
https://4af.selfsimilar.dev/r/registry.jsonlists every install name, its files, and its dependencies;npx shadcn@latest searchreads it.https://4af.selfsimilar.dev/docs/<name>.mdis each component's full reference: API, notes, install command, and usage example.- A bundled export such as
SelectSortTriggerinstalls withselect, not as a separate item. https://4af.selfsimilar.dev/docs/reference/design.mdcovers shared geometry and tokens;https://4af.selfsimilar.dev/docs/reference/engineering.mdcovers the component contract, shared utilities, and loading indicators.
Installable catalog
The catalog contains 47 installable UI items.
Actions
Fields and selection
Feedback and status
Navigation and layout
Overlays and menus
Bundled composition choices
Use the host component's parts instead of rebuilding their state handling:
Component modules
An installable component can span several files. Consumers still import its public API from
@/components/ui/<name>; follow that entry point's re-exports when locating implementation
or prop types. Internal modules import their dependencies directly, without importing back
through the public entry point.
The following files install together into the project's UI directory. Sibling suffixes below
include the component name: for example, .context.ts means select.context.ts.
These siblings are part of the same registry item, not separate install names; installing the
component writes all of them. select-aligned and select-search are separate installable
items.