Create a reusable component for unit input based on the provided design.
Create a reusable component for unit input based on the provided design.