Based on the approach of including layouts in Shade @layout("default"), comonent directive could look something like this @component("button"), and it would include button.shade.php from /app/views/components/ folder. Second argument should be props like this
@component(name: "button", props: [
"class_name" => "bg-red-500",
"name" => "Click me!"
])