PHP code example of djaker-hakim / stm-ui-components
1. Go to this page and download the library: Download djaker-hakim/stm-ui-components 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/ */
djaker-hakim / stm-ui-components example snippets
blade
<x-stm::style animatecss="false" />
blade
<x-stm::pagination
id="pagination-1"
theme="stm"
color="gray"
backgroundColor="blue"
size="md"
:config="[
'pages' => 20,
'currentPage' => 1,
'limit' => 7,
'style' => [
'containerClass' => 'flex gap-2',
'itemClass' => 'px-3 py-1 border rounded',
'activeItemClass' => 'bg-accent text-white',
'leftArrowClass' => 'text-muted',
'rightArrowClass' => 'text-muted'
]
]"
/>