Text field
Labelled input with optional icon, help text and an end slot. 44px tall with a primary focus ring.
As it appears on the lease.
- Border + ring 150ms
- Message grows in 200ms
import { TextField } from "@/components/ui/text-field";Components · 19
Labelled input with optional icon, help text and an end slot. 44px tall with a primary focus ring.
As it appears on the lease.
import { TextField } from "@/components/ui/text-field";The label sits inside the field and floats up when you focus or type.
import { FloatingLabelInput } from "@/components/ui/text-field";Show or hide the password, with a strength meter for new passwords.
Fair — mix upper and lower case
import { PasswordField } from "@/components/ui/password-field";Filters as you type. The clear button appears once there is text; Escape clears.
import { SearchField, Highlight } from "@/components/ui/search-field";Grows with its content and warns near the character limit.
Shown on the tenant portal.
import { Textarea } from "@/components/ui/textarea";Pick one option from a short list. ↑/↓ to move, Enter to choose, Escape to close.
import { Select } from "@/components/ui/select";Suggests cities while you type and highlights the matching letters.
import { Combobox } from "@/components/ui/combobox";Independent choices, with a parent that shows a mixed state.
import { Checkbox } from "@/components/ui/checkbox";One choice from a few options, as a list or as selectable cards.
import { RadioGroup } from "@/components/ui/radio-group";Turns a setting on or off immediately.
import { Switch } from "@/components/ui/switch";Choose a value in a range. The value bubble follows the thumb.
import { Slider } from "@/components/ui/slider";Adjust a small count with buttons or the ↑/↓ keys.
import { NumberStepper } from "@/components/ui/number-stepper";Each box takes one digit; paste fills them all. The demo code is 1234.
import { OtpInput } from "@/components/ui/otp-input";Type and press Enter or comma to add. Backspace removes the last tag.
import { TagInput } from "@/components/ui/tag-input";Drop files or browse. Each file shows its progress, then a check.
Drop lease documents here
PDF, JPG or PNG up to 10 MB
import { Dropzone, UploadList } from "@/components/ui/file-upload";Pick a move-in date. Months slide in the direction you move.
import { DatePicker } from "@/components/ui/date-picker";Rate a stay or a service. Stars preview on hover and pop in sequence when chosen.
import { Rating } from "@/components/ui/rating";Toggle filters on and off. Selected chips show a check.
import { Chip, ChipGroup } from "@/components/ui/chip";Errors appear under the field with a clear fix. Submit empty, then with an email.
<TextField error={error} success={success} … />