Wire
UI
Pedro shared the wire-ui.png file with you.
3 min ago • WireUI
Drop your files here or browse
Max size: 50MB
Wire
UI
composer require wireui/wireui
1<x-card class="px-5 py-2" title="Personal Information" :color="[ 2 'root' => 'bg-white dark:bg-secondary-900', 3 'footer' => 'bg-transparent', 4 'text' => 'text-secondary-700 dark:text-secondary-400', 5 'border' => 'border-secondary-200 dark:border-secondary-600', 6]"> 7 <x-errors class="mb-4" /> 8 9 <div class="grid grid-cols-1 gap-6 sm:grid-cols-2">10 <x-input label="First Name" placeholder="First Name" wire:model="form.first_name" />11 12 <x-input label="Last Name" placeholder="Last Name" wire:model="form.last_name" />13 14 <div class="col-span-1 space-y-6 sm:col-span-2 sm:grid sm:grid-cols-7 sm:gap-5 sm:space-y-0">15 <div class="col-span-1 sm:col-span-4">17 </div>18 19 <div class="col-span-1 sm:col-span-3">20 <x-phone label="Phone" placeholder="Phone" wire:model="form.phone" />21 </div>22 </div>23 24 <x-select label="Country" placeholder="Country" wire:model="form.country" :options="$countries" />25 26 <x-datetime-picker label="Birthdate" placeholder="Birthdate" wire:model="form.birthdate" />27 28 <div class="col-span-1 sm:col-span-2">29 <x-input label="Street Address" placeholder="Street Address" wire:model="form.street" />30 </div>31 32 <div class="col-span-1 space-y-6 sm:space-y-0 sm:col-span-2 sm:grid sm:grid-cols-3 sm:gap-6">33 <x-input label="City" placeholder="City" wire:model="form.city" />34 35 <x-input label="State" placeholder="State" wire:model="form.state" />36 37 <x-input label="Postal Code" placeholder="Postal Code" wire:model="form.postal_code" />38 </div>39 40 <x-toggle label="Accept the terms and conditions" wire:model="form.terms" />41 </div>42 43 <x-slot name="footer" class="flex items-center justify-end gap-x-3">44 <x-button wire:click="cancel" label="Cancel" teal flat />45 46 <x-button wire:click="save" label="Save" spinner="save" teal />47 </x-slot>48</x-card>