How do I pass parameters into a custom component?

Here is a deeper explanation of how data binding and custom component properties work: About data binding with custom components