{"id":22568712,"url":"https://github.com/henrychavez/nativescript-bottom-navigation","last_synced_at":"2025-10-12T14:02:52.630Z","repository":{"id":24927203,"uuid":"102127660","full_name":"henrychavez/nativescript-bottom-navigation","owner":"henrychavez","description":"Nativescript plugin for Android \u0026 iOS to have the bottom navigation bar of Material Design","archived":false,"fork":false,"pushed_at":"2023-01-07T08:36:05.000Z","size":53051,"stargazers_count":58,"open_issues_count":31,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-09-17T13:24:46.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/henrychavez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-01T15:36:34.000Z","updated_at":"2024-04-09T21:57:31.000Z","dependencies_parsed_at":"2023-01-14T01:50:39.564Z","dependency_job_id":null,"html_url":"https://github.com/henrychavez/nativescript-bottom-navigation","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/henrychavez/nativescript-bottom-navigation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrychavez%2Fnativescript-bottom-navigation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrychavez%2Fnativescript-bottom-navigation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrychavez%2Fnativescript-bottom-navigation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrychavez%2Fnativescript-bottom-navigation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henrychavez","download_url":"https://codeload.github.com/henrychavez/nativescript-bottom-navigation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henrychavez%2Fnativescript-bottom-navigation/sbom","scorecard":{"id":461564,"data":{"date":"2025-08-11","repo":{"name":"github.com/henrychavez/nativescript-bottom-navigation","commit":"bec186cc2a6dbceec17d59416824207c027e169b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: npmCommand not pinned by hash: publish/pack.sh:10","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"77 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-c75v-2vq8-878f","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-vvj3-85vf-fgmw","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-cwx2-736x-mf6w","Warn: Project is vulnerable to: GHSA-v39p-96qg-c8rf","Warn: Project is vulnerable to: GHSA-8v63-cqqc-6r2c","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-h9rv-jmmf-4pgx","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-884p-74jh-xrg2","Warn: Project is vulnerable to: GHSA-j7fq-p9q7-5wfv","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T11:15:37.812Z","repository_id":24927203,"created_at":"2025-08-19T11:15:37.812Z","updated_at":"2025-08-19T11:15:37.812Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278239978,"owners_count":25954098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-08T00:14:40.057Z","updated_at":"2025-10-03T23:05:29.849Z","avatar_url":"https://github.com/henrychavez.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nativescript Material Bottom Navigation Bar\n\nNativescript plugin for Android \u0026 iOS to have the Bottom Navigation Bar following the Material Design Guidelines.\n\n[![npm](https://img.shields.io/npm/v/nativescript-bottom-navigation.svg)](https://www.npmjs.com/package/nativescript-bottom-navigation) [![npm](https://img.shields.io/npm/dt/nativescript-bottom-navigation.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-bottom-navigation) [![Build Status](https://travis-ci.org/henrychavez/nativescript-bottom-navigation.svg?branch=master)](https://travis-ci.org/henrychavez/nativescript-bottom-navigation)\n\n\u003e **IMPORTANT:** This package will be deprecated, this is the last release on this repository, the component will be moved to [nativescript-material-components](https://github.com/Akylas/nativescript-material-components)\n\n\u003cimg alt=\"iOS\" src=\"screenshots/screenshot-ios.png\" width=\"250\"\u003e\n\n## Contents\n\n1.  [Installation](#installation)\n2.  [Usage with Javascript](#usage)\n3.  [Usage with Angular](#angular)\n4.  [Usage with Vue](#vue)\n5.  [Css Styling](#css-styling)\n6.  [API](#api)\n\n### Prerequisites / Requirements\n\nYou need the version of NS6 or later to use this plugin.\n\n### Installation\n\n```javascript\ntns plugin add nativescript-bottom-navigation\n```\n\nif you want to use the plugin with NS5 and above use the version `1.5.1`\n\n```javascript\ntns plugin add nativescript-bottom-navigation@1.5.1\n```\n\n### BREAKING CHANGES\n\n- `BottomNavigation` class now is `BottomNavigationBar`\n- `NativescriptBottomNavigationModule` now is `NativeScriptBottomNavigationBarModule`\n- `res://` should be used to reference icons in the tabs\n- The prefix `On` of the Event interfaces was removed:\n  - Example: `OnTabPressedEventData` now is `TabPressedEventData`\n- The prefix `tab` of Css properties was removed:\n  - Example: `tab-active-color` now is `active-color`\n- **The documentation was updated review it :D**\n\n### NEW FEATURES\n\n- `Badge` now are supported using the method: `showBadge(index, value)`\n  - NOTE: if you want to show a badge as a red dot no value should be passed to the function.\n\n### Usage\n\nBefore start using the plugin you need to add the icons for android \u0026 iOS in your `App_Resources`\u001d directory.\n\nAlso you need to change your parent theme from `Theme.AppCompat` to `Theme.MaterialComponents` inside your `App_Resources/Android/src/main/res/values/styles.xml` file.\n\n#### XML\n\nYou can set the tabs using the `tabs` property\n\n```xml\n\u003cPage xmlns=\"http://schemas.nativescript.org/tns.xsd\"\n      xmlns:mdc=\"nativescript-bottom-navigation\"\n      loaded=\"pageLoaded\"\n      class=\"page\"\u003e\n    \u003cGridLayout rows=\"*, auto\"\u003e\n        \u003cStackLayout row=\"0\"\u003e\n            \u003cLabel text=\"content\"\u003e\u003c/Label\u003e\n        \u003c/StackLayout\u003e\n        \u003cmdc:BottomNavigationBar\n          tabs=\"{{ tabs }}\"\n          activeColor=\"green\"\n          inactiveColor=\"red\"\n          backgroundColor=\"black\"\n          tabSelected=\"tabSelected\"\n          row=\"1\"\n        \u003e\u003c/mdc:BottomNavigationBar\u003e\n    \u003c/GridLayout\u003e\n\u003c/Page\u003e\n```\n\n```typescript\nimport { EventData } from 'tns-core-modules/data/observable';\nimport { Page } from 'tns-core-modules/ui/page';\nimport {\n  BottomNavigationTab,\n  TabSelectedEventData,\n} from 'nativescript-bottom-navigation';\n\n// Event handler for Page 'loaded' event attached in main-page.xml\nexport function pageLoaded(args: EventData) {\n  // Get the event sender\n  let page = \u003cPage\u003eargs.object;\n  page.bindingContext = {\n    tabs: [\n      new BottomNavigationTab({ title: 'First', icon: 'res://ic_home' }),\n      new BottomNavigationTab({\n        title: 'Second',\n        icon: 'res://ic_view_list',\n        isSelectable: false,\n      }),\n      new BottomNavigationTab({ title: 'Third', icon: 'res://ic_menu' }),\n    ],\n  };\n}\n\nexport function tabSelected(args: TabSelectedEventData) {\n  console.log('tab selected ' + args.newIndex);\n}\n```\n\nor you can add the tabs directly in your xml view\n\n```xml\n\u003cPage xmlns=\"http://schemas.nativescript.org/tns.xsd\"\n      xmlns:mdc=\"nativescript-bottom-navigation\"\n      loaded=\"pageLoaded\"\n      class=\"page\"\u003e\n    \u003cGridLayout rows=\"*, auto\"\u003e\n        \u003cStackLayout row=\"0\"\u003e\n            \u003cLabel text=\"content\"\u003e\u003c/Label\u003e\n        \u003c/StackLayout\u003e\n        \u003cmdc:BottomNavigationBar\n          activeColor=\"green\"\n          inactiveColor=\"red\"\n          backgroundColor=\"black\"\n          tabSelected=\"tabSelected\"\n          row=\"1\"\n        \u003e\n          \u003cmdc:BottomNavigationTab title=\"First\" icon=\"res://ic_home\" /\u003e\n          \u003cmdc:BottomNavigationTab title=\"Second\" icon=\"res://ic_view_list\" isSelectable=\"false\" /\u003e\n          \u003cmdc:BottomNavigationTab title=\"Third\" icon=\"res://ic_menu\" /\u003e\n        \u003c/mdc:BottomNavigationBar\u003e\n    \u003c/GridLayout\u003e\n\u003c/Page\u003e\n```\n\n#### Angular\n\nFirst you need to include the `NativeScriptBottomNavigationBarModule` in your `app.module.ts`\u001b`\n\n```typescript\nimport { NativeScriptBottomNavigationBarModule} from \"nativescript-bottom-navigation/angular\";\n\n@NgModule({\n    imports: [\n        NativeScriptBottomNavigationBarModule\n    ],\n    ...\n})\n```\n\n```html\n\u003cGridLayout rows=\"*, auto\"\u003e\n  \u003cStackLayout row=\"0\"\u003e\n    \u003clabel text=\"content\"\u003e\u003c/label\u003e\n  \u003c/StackLayout\u003e\n  \u003cBottomNavigationBar\n    [tabs]=\"tabs\"\n    activeColor=\"red\"\n    inactiveColor=\"yellow\"\n    backgroundColor=\"black\"\n    (tabSelected)=\"onBottomNavigationTabSelected($event)\"\n    (tabPressed)=\"onBottomNavigationTabPressed($event)\"\n    row=\"1\"\n  \u003e\u003c/BottomNavigationBar\u003e\n\u003c/GridLayout\u003e\n```\n\nor you can declare the `BottomNavigationTab` in your html directly\n\n```html\n\u003cGridLayout rows=\"*, auto\"\u003e\n  \u003cStackLayout row=\"0\"\u003e\n    \u003clabel text=\"content\"\u003e\u003c/label\u003e\n  \u003c/StackLayout\u003e\n  \u003cBottomNavigationBar\n    activeColor=\"red\"\n    inactiveColor=\"yellow\"\n    backgroundColor=\"black\"\n    (tabSelected)=\"onBottomNavigationTabSelected($event)\"\n    (tabPressed)=\"onBottomNavigationTabPressed($event)\"\n    row=\"1\"\n  \u003e\n    \u003cBottomNavigationTab\n      title=\"First\"\n      icon=\"res://ic_home\"\n    \u003e\u003c/BottomNavigationTab\u003e\n    \u003cBottomNavigationTab\n      title=\"Second\"\n      icon=\"res://ic_view_list\"\n      [isSelectable]=\"false\"\n    \u003e\u003c/BottomNavigationTab\u003e\n    \u003cBottomNavigationTab\n      title=\"Third\"\n      icon=\"res://ic_menu\"\n    \u003e\u003c/BottomNavigationTab\u003e\n  \u003c/BottomNavigationBar\u003e\n\u003c/GridLayout\u003e\n```\n\n#### Vue\n\nIf you want to use this plugin with Vue, do this in your `app.js` or `main.js`:\n\n```javascript\nimport BottomNavigationBar from 'nativescript-bottom-navigation/vue';\n\nVue.use(BottomNavigationBar);\n```\n\nThis will install and register `BottomNavigationBar` and `BottomNavigationTab` components to your `Vue` instance and now you can use the plugin as follows:\n\n```html\n\u003cGridLayout rows=\"*, auto\"\u003e\n  \u003cStackLayout row=\"0\"\u003e\n    \u003clabel text=\"content\"\u003e\u003c/label\u003e\n  \u003c/StackLayout\u003e\n  \u003cBottomNavigationBar\n    activeColor=\"red\"\n    inactiveColor=\"yellow\"\n    backgroundColor=\"black\"\n    @tabSelected=\"onBottomNavigationTabSelected\"\n    row=\"1\"\n  \u003e\n    \u003cBottomNavigationTab title=\"First\" icon=\"ic_home\" /\u003e\n    \u003cBottomNavigationTab\n      title=\"Second\"\n      icon=\"ic_view_list\"\n      isSelectable=\"false\"\n    /\u003e\n    \u003cBottomNavigationTab title=\"Third\" icon=\"ic_menu\" /\u003e\n  \u003c/BottomNavigationBar\u003e\n\u003c/GridLayout\u003e\n```\n\nYou can find more information of how to use nativescript plugins with Vue [Here!](https://nativescript-vue.org/en/docs/getting-started/nativescript-plugins/)\n\n#### CSS Styling\n\nYou can also use your css file to set or change the `activeColor`\u001d, `inactiveColor` \u0026 `backgroundColor` of the Bottom Navigation Bar.\n\n```css\n.botom-nav {\n  active-color: green;\n  inactive-color: black;\n  background-color: blue;\n}\n```\n\n## API\n\n1. [BottomNavigationBar](#bottom-navigation-bar)\n2. [BottomNavigationTab](#bottom-navigation-tab)\n\n- **Properties (bindable):** Properties settable through XML/HTML\n- **Properties (internal):** Properties accessible through JS/TS instance\n- **Events:** Event properties settable thew XML/HTML\n\n# Bottom Navigation Bar\n\n#### Properties (bindable)\n\n| Property        | Required | Default                     | Type                         | Description                                             |\n| --------------- | -------- | --------------------------- | ---------------------------- | ------------------------------------------------------- |\n| tabs            | true     | []                          | `Array\u003cBottomNavigationTab\u003e` | Array containing the tabs for the BottomNavigationBar   |\n| titleVisibility | false    | `TitleVisibility.Selected` | `TitleVisibility`            | Title Visibility for each BottomNavigationTab           |\n| activeColor     | false    | \"black\"                     | `String`                     | Color of the BottomNavigationTab when it's selected     |\n| inactiveColor   | false    | \"gray\"                      | `String`                     | Color of the BottomNavigationTab when it's not selected |\n| backgroundColor | false    | \"white\"                     | `String`                     | Color of the BottomNavigation background                |\n\n#### Properties (internal)\n\n| Property         | Default                     | Type              | Description                                             |\n| ---------------- | --------------------------- | ----------------- | ------------------------------------------------------- |\n| selectedTabIndex | 0                           | `Number`          | Index of the selected tab                               |\n| titleVisibility  | `TitleVisibility.Selected` | `TitleVisibility` | Title Visibility for each BottomNavigationTab           |\n| activeColor      | \"black\"                     | `String`          | Color of the BottomNavigationTab when it's selected     |\n| inactiveColor    | \"gray\"                      | `String`          | Color of the BottomNavigationTab when it's not selected |\n| backgroundColor  | \"white\"                     | `String`          | Color of the BottomNavigation background                |\n\n#### Events\n\n| Name          | Type                                   | Description                                                              |\n| ------------- | -------------------------------------- | ------------------------------------------------------------------------ |\n| tabPressed    | `(args: TabPressedEventData): void`    | Function fired every time the user tap a tab with `isSelectable: false`  |\n| tabSelected   | `(args: TabSelectedEventData): void`   | Function fired every time the user select a new tab                      |\n| tabReselected | `(args: TabReselectedEventData): void` | Function fired every time the user select a tab that is already selected |\n\n#### Methods\n\n| Property                                   | Type   | Description                      |\n| ------------------------------------------ | ------ | -------------------------------- |\n| `selectTab(index: number)`                 | `void` | Select a tab programmatically    |\n| `showBadge(index: number, value?: number)` | `void` | Show a badge for an specific tab |\n\n# Bottom Navigation Tab\n\n#### Properties (bindable)\n\n| Property     | Required | Default | Type      | Description                                 |\n| ------------ | -------- | ------- | --------- | ------------------------------------------- |\n| title        | true     | null    | `string`  | Title of the tab                            |\n| icon         | true     | null    | `string`  | Icon of the tab                             |\n| isSelectable | false    | true    | `boolean` | Determine if the tab can be selected or not |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrychavez%2Fnativescript-bottom-navigation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenrychavez%2Fnativescript-bottom-navigation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenrychavez%2Fnativescript-bottom-navigation/lists"}