Table of Contents
Button
Use Bootstrap’s custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.
Bootstrap docs: https://getbootstrap.com/docs/5.3/components/buttons/

Syntax
$Bootstrap = new renderabootstrap5component();Returns: string
echo $Bootstrap->button($aOptions)
Parameters: 1
| Parameter #0 [ <required> array $aOptions ] | array of button item; handled keys are:
Styling
|
Example
PHP snippet
$Bootstrap->button([
'bgtype' => 'primary',
'label' => 'Hello',
]);
Generated html output
<button type="button" class="btn btn-primary">
Hello
</button>