Skip to content

Hr ​

Display a divider that separates content areas in your email.

Example ​

php
use Flowframe\Brief\Components\Html;
use Flowframe\Brief\Components\Body;
use Flowframe\Brief\Components\Hr;

Html::make(
    Body::make(
        Hr::make()
    )
);

Implements ​

Styles Interface ​

Allows a component to receive styles.

php
interface StylesInterface
{
    /**
     * Style the component.
     */
    public function style(Styles $styles): static;

    /**
     * Get the component styles.
     */
    public function getStyles(): Styles;
}

Void Component Interface ​

Allows a components to render HTML without children. Useful for components such as an img or hr.

php
interface VoidComponentInterface
{
    /**
     * Render the component.
     */
    public function render(): string;
}

Released under the MIT License.