Reasoning

A collapsible chain-of-thought disclosure.

Open

First, break the problem into steps. The request is to sum the even numbers, so filter then reduce.

With duration

Considering several phrasings for the greeting, weighing tone and brevity.

API reference

Inputs

PropTypeDefaultDescription
labelstring'Reasoning'Trigger label shown when no `duration` is set.
durationstring''When set, the trigger reads "Thought for {duration}" instead of `label`.

Two-way models

Bind with [(name)], or one-way as an input.

PropTypeDefaultDescription
openbooleanfalseWhether the disclosure is expanded. Two-way bindable with `[(open)]`.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.