Make a catalog component
Components receive resolved @props and render nested spec children through their block.
import Component from '@glimmer/component';
interface Args {
props: { title?: string };
}
export default class UiCard
extends Component<{ Args: Args }> {}<section class="card">
{{#if @props.title}}
<h2>{{@props.title}}</h2>
{{/if}}
{{yield}}
</section>