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,25 @@
@props([
'label' => null,
'labelHidden' => false,
])
<fieldset
{{
$attributes->class([
'fi-fieldset rounded-xl border border-gray-200 p-6 dark:border-white/10',
])
}}
>
@if (filled($label))
<legend
@class([
'-ms-2 px-2 text-sm font-medium leading-6 text-gray-950 dark:text-white',
'sr-only' => $labelHidden,
])
>
{{ $label }}
</legend>
@endif
{{ $slot }}
</fieldset>