Anatomy
- Container: holds placeholder or entered information
- Icon: optional visual to give additional clarity to user
- Placeholder text: optional text to give users an example of input they can give
- Text cursor: cursor that displays as user is adding input
- Entered text: user’s input
Variants
There are 4 variants of the component: with placeholder text, entered text, icon and text cursor.
Designer note: the input component in Figma has a boolean to show caret icon at the end (which makes it the dropdown component)