Expandable Input Design pattern

Expandable Input: twitter.com