Main Card

Use for Main Content Card on SmartERP System.

Main Card

Params

Param
value
Use for

grid

tailwindcss class name

divide columns for contents

class

tailwindcss class name

Usage

Single Card Layout

If you're using a sample layout card just apply this to the file blade

<x-main-card>
    Single Card
</x-main-card>

Multiple Cards Layout

In case multi card in the layout card

<x-main-card grid="1">
    <x-card-inner>
        Multi Card
    </x-card-inner>
    
    <x-card-inner>
        Multi Card
    </x-card-inner>
</x-main-card>

Last updated

Was this helpful?