If you find this website useful, your sponsorship would greatly support its ongoing development and maintenance. Learn more

2 Col

The 2 col blade component provides a 2 column layout, using a grid internally. The left column uses 1 column where the right takes up 2 columns.

To change the classes edit the blade component at resources/views/components/2col.blade.php

Example:

Left

Right


                
                    <x-2col>
                        <x-slot name="left">
                            <p class="bg-primary text-white p-1">Left</p>
                        </x-slot>
                        <x-slot name="right">
                            <p class="bg-primary text-white p-1">Right</p>
                        </x-slot>
                    </x-2col>
                            

© 2024 Laravel AdminTW. All rights reserved.

Built by David Carr