A text label which sits inside the input field at full font-size. When the input is clicked on, the label floats above, making room for the user to input a value.
Must pass Input and Label as children.
Pass it any class to extend styling.
<Floating>
<Floating.Input
id="name"
name="name"
placeholder="John Smith"
color="tomato"
border={1}
borderBottom
/>
<Floating.Label htmlFor="name" color="tomato">
Name
</Floating.Label>
</Floating>