html based input with text and pills