This is the documentation for v1 but the latest version is v2. You can switch versions in the menu at the top. Check your current version with the following command:

composer show spatie/laravel-html
Support Ukraine

Element methods

On this page

  1. Available methods