Container

Containers are for wrapping content in a container with a max-width.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec turpis ac libero ultricies fermentum. Nullam nec turpis ac libero ultricies fermentum.


/* container-example.blade.php */

<x-container size="xxs">
<x-text content="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec turpis ac libero ultricies fermentum. Nullam nec turpis ac libero ultricies fermentum." />
</x-container>

Component API

Prop Description Values
as Change the element tag of the component any
size Change the font size of the component Dependant on theme
align Change the alignment of the component Dependant on theme