The floatingLabel property creates an Input component, whose Label animates upward when input is selected and animates downward when input is erased.
Syntax
{% codetabs name="React Native", type="js" -%} import React, { Component } from 'react'; import { Container, Header, Content, Form, Item, Input, Label } from 'native-base'; export default class FloatingLabelExample extends Component { render() { return (
Username Password ); } } {%- language name="Vue Native", type="vue" -%} Username Password {%- endcodetabs %}
When using floatingLabel, use getRef to get the reference of <Input/> component. Always wrap floatingLabel component with <Form/>.

