Skip to content
Hazine

Text Inputs

3 of 46 shipped. Fields the user types into, each with label, hint and error wiring built in.

01 / Text fields

0 of 6 shipped

Planned 6

  • Stacked Text Field
  • Inline Row Text Field
  • Floating Label Text Field
  • Localized Value Text Field
  • Repeating Text Field Rows
  • Validated on Blur Text Field

02 / Input groups and addons

0 of 6 shipped

Planned 6

  • Input with Prefix and Suffix Text
  • Input with Unit Select
  • Input with Inline Button
  • Locale Currency Input
  • URL Input with Fixed Domain
  • Phone Input with Country Code
  • password and secret inputs

    Password field with a show and hide toggle at the end and an optional four step strength meter with a word. Supports controlled and uncontrolled value.

    How it differs. Baseline masked field with a single visibility toggle inside the field and an opt-in strength meter under it, with no rule checklist.

    shadcn add @hazine/password-input

    Depends on input, @hazine/use-controllable-state, lucide-react

Planned 4

  • Password with Requirement Checklist
  • Password with Strength Meter
  • Secret Key Reveal Field
  • Passphrase Generator
  • number and quantity inputs

    Numeric field with a minus and a plus button that step by a set amount and speed up while held. Use for small bounded quantities such as seats, nights or cart lines.

    How it differs. Explicit decrement and increment buttons on either side of a centred, typeable value, with accelerating press and hold repeat and buttons that disable at the bounds.

    shadcn add @hazine/number-input-stepper-buttons

    Depends on @hazine/use-controllable-state, lucide-react, class-variance-authority

Planned 5

  • Drag Scrub Number Input
  • Number Input with Range Feedback
  • Unit Conversion Number Input
  • Percent Split Inputs
  • Collapsing Add Quantity Input

05 / Code and OTP inputs

0 of 4 shipped

Planned 4

  • Segmented One-Time Code Input
  • One-Time Code with Resend Timer
  • Grouped License Key Input
  • PIN Create and Confirm Input

06 / Tag and token inputs

1 of 5 shipped
  • tag and token inputs

    Field where Enter, comma or Tab turns typed text into a removable chip inside the same bordered box. Duplicates are rejected with a brief highlight and pasted lists split into chips.

    How it differs. Unconstrained chip entry in one wrapping box with delimiter keys, duplicate rejection and a two step Backspace, with no per-tag validation and no suggestion popup.

    shadcn add @hazine/tag-input-free-text

    Depends on @hazine/use-controllable-state, lucide-react

Planned 4

  • Validated Email Token Input
  • Tag Input with Suggestions
  • Tag Input with Paste Review
  • Reorderable Token Input

07 / Search inputs

0 of 5 shipped

Planned 5

  • Search Input with Shortcut Hint
  • Search Input with Scope Select
  • Search Input with Recent Queries
  • Search Input with Filter Tokens
  • Expanding Icon Search

08 / Textareas and composers

0 of 5 shipped

Planned 5

  • Auto-Grow Textarea
  • Textarea with Limit Counter
  • Textarea with Mention Trigger
  • Composer with Attachment Row
  • Markdown Write and Preview Textarea

09 / Inline editors

0 of 4 shipped

Planned 4

  • Click to Edit Text
  • Editable Heading
  • Editable Table Cell
  • Inline Edit with Save and Cancel