init filament components

This commit is contained in:
F4ilji
2025-06-14 19:21:52 +05:00
parent 36b4d71dce
commit ce5c73bc84
36 changed files with 3227 additions and 0 deletions
@@ -0,0 +1,21 @@
@props([
'contained' => false,
'label' => null,
])
<nav
{{
$attributes
->merge([
'aria-label' => $label,
'role' => 'tablist',
])
->class([
'fi-tabs flex max-w-full gap-x-1 overflow-x-auto',
'fi-contained border-b border-gray-200 px-3 py-2.5 dark:border-white/10' => $contained,
'mx-auto rounded-xl bg-white p-2 shadow-sm ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10' => ! $contained,
])
}}
>
{{ $slot }}
</nav>