Input label with link and visibility toggle
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: A sign in password with a Forgot password link opposite the label and an eye button to reveal it
When to use
- Labeled text, email and search fields, plain or restyled as a pill, an underline or borderless
- Native typed fields for passwords, phones, URLs, numbers, dates, times, files, colors and ranges
- Field states and hints: disabled, required or optional marks, errors, character counts and password strength
When not to use
- A sign up password that grades itself with one hint line: use the Input Strength Hint example
- Icons, buttons, units or a prefix that sit inside the border of the box: use the Input Group component
- International numbers chosen by country flag and formatted as the user types: use the Phone Input component
- A whole create or edit page that gathers many fields under one save action: use the Form blocks
Agent notes
- The Forgot password link keeps a placeholder
href; point it at your reset page - The red invalid border comes from
aria-invalidonInputin every style;FieldErroronly prints the message
https://reui.io/components/input/c-input-19.mdget_example("c-input-19")npx shadcn@latest add @reui/c-input-19About Shadcn Input Link & Toggle
Input label with link and visibility toggle. Built by composing Field, Input. A free, open source shadcn input example you can install with npx shadcn@latest add @reui/c-input-19 and edit as your own code.
What You Can Build With Shadcn Input Link & Toggle
- Composes Field, Input, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-input-19
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Input Examples
- Basic Basic input
- With Label Input with label
- With Description Input with description
- Disabled Disabled input
- Error Message Input with error message
- Character Counter Input with character counter
- Password Input with password type
- Phone Input with phone type
- URL Input with URL type
- Number Input with number type
- Date Input with date type
- File Input with file type
Related Shadcn Component Categories
Open-source shadcn input group components for prefixed inputs, suffixed actions, and combined form controls.
Open-source shadcn OTP input components for verification codes, 2FA flows, and secure confirmation screens.
Open-source shadcn item row components for list rows, settings items, and action rows.
Open-source shadcn kanban components for task boards, workflow pipelines, and drag-and-drop planning.
Open-source shadcn keyboard shortcut components for hotkey hints, command docs, and shortcut legends.
Open-source shadcn label components for form labels, accessible inputs, and field pairing.
Frequently Asked Questions
When should I use Shadcn Input Link & Toggle?
Use it for a sign in password with a Forgot password link opposite the label and an eye button to reveal it.
Shadcn Input as a whole fits:
- Labeled text, email and search fields, plain or restyled as a pill, an underline or borderless
- Native typed fields for passwords, phones, URLs, numbers, dates, times, files, colors and ranges
- Field states and hints: disabled, required or optional marks, errors, character counts and password strength
For a sign up password that grades itself with one hint line, use the Input Strength Hint example. For icons, buttons, units or a prefix that sit inside the border of the box, use the Input Group component. For international numbers chosen by country flag and formatted as the user types, use the Phone Input component. For a whole create or edit page that gathers many fields under one save action, use the Form blocks.
How do I install Shadcn Input Link & Toggle?
Is Shadcn Input Link & Toggle free to use?
Which components does Shadcn Input Link & Toggle use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.