Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@element-public/react-bottom-app-bar

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@element-public/react-bottom-app-bar

Bottom App Bar component for Element React

latest
npmnpm
Version
5.62.0-alpha.1
Version published
Maintainers
2
Created
Source

BottomAppBar

Description

Bottom App Bar organize content across different screens, data sets, and other interactions. The Bottom App Bar contains the Bottom Tab Scroller and Tab components for the bottom.

See live demos on storybook

Storybook BottomAppBar Demos

Install from Artifactory

  • Verify that you have access to (https://docs.int.bayer.com/cloud/devops/artifactory/)[Bayer Artifactory]
    • Verify your token is correctly set up in your .npmrc as per the link above
  • Verify you have the @element scope configured in your .npmrc
    • @element:registry=https://artifactory.bayer.com/artifactory/api/npm/npm-platforms-engineering/
  • Install the component and themes bundles
    • npm i @element/react-components @element/themes
      • alternatively install the component individually along with the themes bundle npm i @element/react-bottom-app-bar @element/themes

Notes

Bottom App Bar is a navigation-bar component placed on the bottom of the page displayed normally on mobile devices. Could be used in RWD pages.

Bottom App Bar Props

NameTypeDefaultRequiredDescription
activeTabIndexnumber0falseIndex of the currently active tab.
classNamestringundefinedfalseThe css class name to be passed through to the component markup.
elevatedbooleanfalsefalseApply elevated styles to raise the tab-bar above standard content.
variantstring'surface'falseBackground theme color. Accepts one of 'primary', 'secondary', or 'surface'.
Accepted Values: primary, secondary, surface

Bottom App Bar Deprecated Props

NameTypeDefaultRequiredDeprecatedDescription
raisedbooleanundefinedfalsePlease use elevated instead.Apply a raised style.
scrollablebooleanundefinedfalseDeprecated, containers will scroll when necessary.Create a fixed height scrollable container.

Bottom App Bar Render Props

NameTypeDefaultRequiredDescription
childrenReact.ReactNodenullfalseAccepts one or more Tab components.

Bottom App Bar Events

NameDefaultRequiredParamsDescription
onTabActivatedundefinedfalseFires when switching to a different tab.

Bottom App Indicator Props

NameTypeDefaultRequiredDescription
activebooleanfalsefalseVisually activates the indicator.
classNamestringundefinedfalseThe css class name to be passed through to the component markup.
iconstringnullfalseThe bottom-tab-indicator will use an underline if no icon is provided.
idstringundefinedfalseThe id to be passed through to the component markup.

Bottom App Scroller Props

NameTypeDefaultRequiredDescription
classNamestringundefinedfalseThe css class name to be passed through to the component markup.

Bottom App Scroller Render Props

NameTypeDefaultRequiredDescription
childrenReact.ReactNodenullfalseAccepts BottomTab components.

Bottom Tab Props

NameTypeDefaultRequiredDescription
activebooleanundefinedfalseIndicates that the tab is active.
classNamestringundefinedfalseThe css class name to be passed through to the component markup.
indicatorIconstringnullfalseAn icon to be used as the tab indicator. Accepts the name of any valid material icon (see Icon component documentation for a list of valid icons). If no icon is provided the tab-indicator will use an underline.

Bottom Tab Render Props

NameTypeDefaultRequiredDescription
childrenReact.ReactNodenullfalseThe displayed content. Expects a valid string, though will accept any valid components or markup. If label and children are both set, label will take priority.
iconReact.ReactNodeundefinedfalseAdd a leading icon to the tab.
labelReact.ReactNodenullfalseThe displayed text. Expects a valid string. If label and children are both set, label will take priority.

FAQs

Package last updated on 24 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts