Esc
Documentation
On this page

Props

PropTypeDefaultDescription
title requiredstringNoneSection heading
descriptionstringNoneSubtext
linkSectionLinkNone"See all" link (path must start with /)
content requiredPageNode | readonly PageNode[]NoneChild nodes

Example

ts
Section({
  title: "Warehouses",
  description: "Active compute resources",
  link: { label: "View all", path: "/warehouses" },
  content: Table({ source: warehouses() }),
})

Supporting types

SectionLink
export interface SectionLink {
  label: string;
  path: string;
}
PageSectionLink
export type PageSectionLink = SectionLink;

View the source on GitHub