#load "../lib/app.uce" COMPONENT(Request& context) { DValue asset_props; asset_props["css"]["0"] = "views/marketing.css"; print(component("../components/theme/assets", asset_props, context)); context.call["app"]["page_title"] = "Components"; <>
COMPONENT:HERO_SECTION(Request& context)
{
String title = first(context.props["title"].to_string(), "Welcome");
<>
<div class="hero-section">...</div>
</>
}
Landing page hero with CTA buttons
Feature showcase grid
ag-Grid table wrapper
Lightweight sortable HTML table
Workspace shell wrapper
SVG KPI gauge component
DValue props;
props["title"] = "Stunning Apps";
<><?: component("example/marketing_blocks:HERO_SECTION", props, context) ?></>