The library provides specific methods for adding standard HTML elements:
Inputs: Use $form->addInput($type, $name, $value, $label, $attr);. This supports all HTML5 input types except checkbox and radio.
Textareas: Use $form->addTextarea($name, $value, $label, $attr);.
Buttons: Use $form->addBtn($type, $name, $value, $text, $attr, $btnGroupName);. For button groups, define a group name and render it using $form->printBtnGroup().
Note on Attributes: The $attr argument accepts any HTML attribute (e.g., placeholder, required, class) or JavaScript event, separated by commas.