c-input-21.tsx
import { Field, FieldError, FieldLabel } from "@/components/ui/field"
import { Input } from "@/components/ui/input"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
export function Pattern() {
return (
<Field className="max-w-xs">
<FieldLabel htmlFor="security-code">Security Code</FieldLabel>
<Input
id="security-code"
placeholder="Enter your security code"
aria-invalid="true"
/>
<FieldError className="mt-2 space-y-1.5 text-xs">
<div className="flex items-center gap-1.5">
<IconPlaceholder
lucide="CircleAlertIcon"
tabler="IconAlertCircle"
hugeicons="AlertCircleIcon"
phosphor="WarningCircleIcon"
remixicon="RiErrorWarningLine"
className="size-3.5"
/>
<span>Code must be at least 12 characters long</span>
</div>
<div className="flex items-center gap-1.5">
<IconPlaceholder
lucide="CircleAlertIcon"
tabler="IconAlertCircle"
hugeicons="AlertCircleIcon"
phosphor="WarningCircleIcon"
remixicon="RiErrorWarningLine"
className="size-3.5"
/>
<span>Code must contain at least one uppercase letter</span>
</div>
<div className="flex items-center gap-1.5">
<IconPlaceholder
lucide="CircleAlertIcon"
tabler="IconAlertCircle"
hugeicons="AlertCircleIcon"
phosphor="WarningCircleIcon"
remixicon="RiErrorWarningLine"
className="size-3.5"
/>
<span>Code cannot include common words or patterns</span>
</div>
</FieldError>
</Field>
)
}




























