Tabs are a horizontal region of buttons or links that allow for a consistent navigation experience between screens. It can contain any combination of text and icons, and is a popular method for enabling mobile navigation.
Replacing Component: React Native View
Contents
Syntax
{% codetabs name="React Native", type="js" -%}import React, { Component } from 'react'; import { Container, Header, Content, Footer, FooterTab, Button, Text } from 'native-base'; export default class FooterTabsExample extends Component { render() { return (
Apps Camera Navigate Contact ); } } {%- language name="Vue Native", type="vue" -%} Apps Camera Navigate Contact {%- endcodetabs %}
Configuration
| Property | Default | Option | Description |
|---|---|---|---|
| active | true | boolean |
This is button prop (applicable with FooterTab only). Sets a Footer Button active.
|
| badge | true | boolean |
This is button prop (applicable with FooterTab only). Set to true if using Badges.
|
| vertical | true | boolean |
This is button prop (applicable with FooterTab only). Use this prop to vertically align footer elements like icons and text. Necessary when using Badge in Footer Tabs.
|
Syntax
{% codetabs name="React Native", type="js" -%} import React, { Component } from 'react'; import { Container, Header, Content, Footer, FooterTab, Button, Icon } from 'native-base'; export default class FooterTabsIconExample extends Component { render() { return (
); } } {%- language name="Vue Native", type="vue" -%} {%- endcodetabs %}
Syntax
{% codetabs name="React Native", type="js" -%}import React, { Component } from 'react'; import { Container, Header, Content, Footer, FooterTab, Button, Icon, Text } from 'native-base'; export default class FooterTabsIconTextExample extends Component { render() { return (
Apps Camera Navigate Contact ); } } {%- language name="Vue Native", type="vue" -%} Apps Camera Navigate Contact {%- endcodetabs %}
Syntax
{% codetabs name="React Native", type="js" -%} import React, { Component } from 'react'; import { Container, Header, Content, Footer, FooterTab, Button, Icon, Text, Badge } from 'native-base'; export default class FooterTabsBadgeExample extends Component { render() { return (
2 Apps Camera 51 Navigate Contact ); } } {%- language name="Vue Native", type="vue" -%} 2 Apps Camera 51 Navigate Contact {%- endcodetabs %}



