@props([
    'label'       => '',     // label text
    'labelclass'  => '',     // extra CSS classes for the label
    'inputclass'  => '',     // input classes
    'name'        => '',     // input name
    'disabled'    => false,  // disabled flag
    'value'       => '',     // input value
    'placeholder' => '',     // placeholder text
    'style'       => '',     // raw style string for the input
    'required'    => false,  // true/false or truthy value
    'description' => '',     // optional descriptive text below the input
])

<label {{ $attributes->class("text-label $labelclass") }}>
    <span class="label">{{ $label }}</span>
    <x-input.textarea
        :name="$name"
        :value="$value"
        :class="$inputclass"
        :placeholder="$placeholder"
        :style="$style"
        :required="$required"
        :disabled="$disabled"
    />
    @if($description !== '')<span class="description">{{ $description}}</span>@endif
</label>
