Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 749 Bytes

button.md

File metadata and controls

35 lines (25 loc) · 749 Bytes

Buttons

Bootstrap documentation

Basic usage

{{ bs()->button('Plain button', 'secondary') }}
{{ bs()->button('Outlined button', 'secondary', true) }}
{{ bs()->a('#', 'Link as a button')->asButton('secondary') }}

All buttons types

<table class="table">
    @foreach (['primary', 'secondary', 'success', 'danger', 'warning', 'info', 'light', 'dark'] as $type)
        <tr>
            <th>{{ $type }}</th>
            <td>{!! bs()->submit($type, $type) !!}</td>
            <td>{!! bs()->submit($type, $type, true) !!}</td>
            <td>{!! bs()->a('#', $type)->asButton($type) !!}</td>
        </tr>
    @endforeach
</table>