getRegistryIcons() — ui Function Reference
Architecture documentation for the getRegistryIcons() function in api.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 963a544e_f98e_d478_d06f_fa5a38b1706a["getRegistryIcons()"] c41eed12_c415_48c8_bcf4_9d09d3424a18["api.ts"] 963a544e_f98e_d478_d06f_fa5a38b1706a -->|defined in| c41eed12_c415_48c8_bcf4_9d09d3424a18 style 963a544e_f98e_d478_d06f_fa5a38b1706a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/shadcn/src/registry/api.ts lines 185–193
export async function getRegistryIcons() {
try {
const [result] = await fetchRegistry(["icons/index.json"])
return iconsSchema.parse(result)
} catch (error) {
handleError(error)
return {}
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does getRegistryIcons() do?
getRegistryIcons() is a function in the ui codebase, defined in packages/shadcn/src/registry/api.ts.
Where is getRegistryIcons() defined?
getRegistryIcons() is defined in packages/shadcn/src/registry/api.ts at line 185.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free