"use client"
import * as React from "react"
import { Button } from "@/components/ui/button"
import { Field, FieldDescription, FieldError, FieldLabel } from "@/components/ui/field"
import { Input } from "@/components/ui/input"
import {
InputGroup,
InputGroupAddon,
InputGroupButton,
InputGroupInput,
InputGroupText,
} from "@/components/ui/input-group"
import {
InputOTP,
InputOTPGroup,
InputOTPSeparator,
InputOTPSlot,
REGEXP_ONLY_DIGITS,
} from "@exxatdesignux/ui/components/ui/input-otp"
import {
MaskedInput,
exxatMaskPatterns,
} from "@/components/ui/input-mask"
import { Label } from "@/components/ui/label"
import { PaymentCardFieldsGroup } from "@/components/ui/payment-card-fields"
import { Slider } from "@/components/ui/slider"
import { Textarea } from "@/components/ui/textarea"
export function InputDefaultPreview() {
return (
SearchDisabledInvalidSet data-invalid on Field and aria-invalid on the control.
)
}
export function TextareaDefaultPreview() {
return (
Question stemPair with FieldDescription in product forms.
)
}
export function TextareaStatesPreview() {
return (
Notes with help
Include only information needed for placement review.
Feedback
Enter at least 20 characters.
Archived notesSubmitted responseUse read-only when users may still copy the value.Fixed-height response
Default textareas are resizable. Fixed height is an explicit layout exception.
)
}
export function InputGroupPreview() {
return (
USD
Send
)
}
export function InputWithPrimaryButtonPreview() {
return (
Email address