PHP code example of wallacemaxters / bless-ui

1. Go to this page and download the library: Download wallacemaxters/bless-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/ */

    

wallacemaxters / bless-ui example snippets


return [
    'button' => [
        'base' => [
            'px-5 py-3 duration-500 inline-flex justify-center items-center',
        ],
        'variants' => [
            'normal'  => '',
            'square'  => 'rounded-none border-2 border-black',
            'rounded' => 'rounded-full p-12',
            'rounded-primary' => 'rounded-full p-12 bg-primary text-white hover:bg-black',
        ]
    ]
];
js
export default {
  // ...
  content: [
    // ... another configs
    "config/bless-ui.php",
  ],
};
bash
php artisan bless-ui:make-component hero