Generate a list with a input form

How can I generate a list with a input form? I was thinking of a component with a input form and a button to add the input in a list. But I don't known if there are a better solution...