Design
Component checklist
Overview
The Input Field is where a fan writes a comment or a reply. It pairs their avatar with an auto-expanding text box, a rail of quick emoji and a send button, and sits at the bottom of the Comments Bottom Sheet.
Usage
Structure
The Input Field component combines quick-reaction tools with a standard text box into four main sub-elements:
- Fan Avatar: Displays the currently logged-in fan’s profile picture.
- Text Field: Auto-expanding text area for typing comments or replies.
- Emoji Rail: Quick-access bar featuring emoji reactions that insert directly into the text field.
- Send Button: Action button to submit the comment.
Interactive States
- Default State: Present when the input field is empty. The field shows placeholder text, and the Send Button is disabled to prevent empty submissions.
- Active State: Triggered as soon as the fan enters the first character or inserts an emoji. The Send Button transitions to its active state (highlighted primary color, clickable).
Design
Appearance
|
Item |
Usage |
|---|---|
|
1 |
Dark Mode |
|
2 |
Light Mode |
States
|
Item |
Usage |
|---|---|
|
1 |
Default State |
|
2 |
Active State |
Anatomy
|
Item |
Usage |
|---|---|
|
1 |
Emoji Rail |
|
2 |
Avatar |
|
3 |
Input Field |
|
4 |
Send Button |