BlocksPage() — ui Function Reference
Architecture documentation for the BlocksPage() function in page.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 1c5c433d_ad30_2081_2f49_857c0ac0536f["BlocksPage()"] f79ea58e_2e0d_6340_e417_5412247fc56a["page.tsx"] 1c5c433d_ad30_2081_2f49_857c0ac0536f -->|defined in| f79ea58e_2e0d_6340_e417_5412247fc56a style 1c5c433d_ad30_2081_2f49_857c0ac0536f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/app/(app)/blocks/[...categories]/page.tsx lines 13–31
export default async function BlocksPage({
params,
}: {
params: { categories?: string[] }
}) {
const blocks = await getAllBlockIds(
["registry:block"],
params.categories ?? []
)
return blocks.map((name) => (
<div
key={name}
className="border-grid container border-b py-8 first:pt-6 last:border-b-0 md:py-12"
>
<BlockDisplay name={name} />
</div>
))
}
Domain
Subdomains
Source
Frequently Asked Questions
What does BlocksPage() do?
BlocksPage() is a function in the ui codebase, defined in deprecated/www/app/(app)/blocks/[...categories]/page.tsx.
Where is BlocksPage() defined?
BlocksPage() is defined in deprecated/www/app/(app)/blocks/[...categories]/page.tsx at line 13.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free