Back to documentation

distortedfusion/laravel-tailwind-layout

Laravel Tailwind Layout

Layout

Title Bar

Page Title

<x-layout.title-bar :as-heading="false" title="Page Title">
    <x-slot:actions>
        <x-btn style="tertiary" size="sm">Action</x-btn>
        <x-btn size="sm">Primary Action</x-btn>
    </x-slot:actions>
</x-layout.title-bar>

Page Title

<x-layout.title-bar :as-heading="false" title="Page Title" icon="fal-feather" />

Page Title

<x-layout.title-bar :as-heading="false" title="Page Title" previous-url="#" />

Photo

<div class="grid grid-cols-3 gap-4 items-center">
    <x-layout.photo url="https://gravatar.com/avatar/3f76cdf0c0cfa00f10fd1216e15a410941cd9328746f963fc3258e6f147833d2?size=128" size="lg" />
    <x-layout.photo url="https://gravatar.com/avatar/3f76cdf0c0cfa00f10fd1216e15a410941cd9328746f963fc3258e6f147833d2?size=128" />
    <x-layout.photo url="https://gravatar.com/avatar/3f76cdf0c0cfa00f10fd1216e15a410941cd9328746f963fc3258e6f147833d2?size=128" size="sm" />
    <x-layout.photo url="" size="lg" />
    <x-layout.photo url="" />
    <x-layout.photo url="" size="sm" />
</div>

Contained Icons

<div class="grid grid-cols-3 gap-4 items-center">
    <x-layout.icon icon="fal-tags" style="primary" size="lg" />
    <x-layout.icon icon="fal-tags" style="primary" />
    <x-layout.icon icon="fal-tags" style="primary" size="sm" />
    <x-layout.icon icon="fal-tags" style="secondary" size="lg" />
    <x-layout.icon icon="fal-tags" style="secondary" />
    <x-layout.icon icon="fal-tags" style="secondary" size="sm" />
    <x-layout.icon icon="fal-tags" style="tertiary" size="lg" />
    <x-layout.icon icon="fal-tags" style="tertiary" />
    <x-layout.icon icon="fal-tags" style="tertiary" size="sm" />
</div>

Progress Bar

<div class="space-y-4">
    <x-layout.progress-bar progress="75" size="lg" />
    <x-layout.progress-bar progress="50" />
    <x-layout.progress-bar progress="25" size="sm" />
</div>

Spinner

<div class="grid grid-cols-3 gap-4 items-center">
    <x-layout.spinner size="lg" />
    <x-layout.spinner />
    <x-layout.spinner size="sm" />
</div>

Pulser

<div class="mx-auto">
    <x-layout.pulser />
</div>

Interested in what we can do for your business?

Get in touch
Flushing, The Netherlands contact@distortedfusion.com
Chamber Of Commerce
74088041
VAT
NL002267401B33
GitHub
Twitter
LinkedIn

//
distortedfusion/laravel-tailwind-layout

Copyright © 2024 Distorted Fusion - All rights reserved.