PHP code example of zivar / laravel-ui

1. Go to this page and download the library: Download zivar/laravel-ui library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

zivar / laravel-ui example snippets

bash
php artisan zivar:install --views
blade
{{-- Page Header --}}
<z:header 
    category="KOMPONEN UI"
    title="Button Component" 
    subtitle="Komponen tombol terpadu Zivar UI dengan 7 varian visual dan tema warna terkurasi."
/>

{{-- Action Button with Icon & Glow --}}
<z:button variant="glow" color="sky" icon="sparkles">
    Generate Report
</z:button>

{{-- Interactive Digital Signature Pad --}}
<z:signature 
    wire:model="signatureData" 
    color="sky" 
    clearable 
    downloadable 
/>

{{-- Metric Card --}}
<z:card title="Total Revenue" subtitle="Monthly billing cycle" icon="chart-bar" iconColor="emerald">
    <div class="text-2xl font-black text-slate-900 dark:text-white">$48,290.00</div>
</z:card>