SModal

A blade component for small popup modal!

This is the simple and small pop-up modal component and it has three slots and one attibute with a default value.

# Trigger

The trigger slot default value is empty. So, it is required. otherwise, an error will be thrown. In this trigger slot, you can use all types of elements.

<x-btui-smodal>   <x-slot name="trigger">    <a> Click!</a>   </x-slot>      ---- content goes here! ----     </x-btui-smodal> 

# Title

Title of the small modal. It will be placed on the modal header left side.

<x-btui-smodal title="SModal"> </x-btui-smodal> 

Result:

Content goes here!

See available options! (* means required)

name type default options
Trigger* Slot - -
Title String SModal -
Footerleft Slot - -
Footerright Slot - -