
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@element-public/react-bottom-app-bar
Advanced tools
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.
@element:registry=https://artifactory.bayer.com/artifactory/api/npm/npm-platforms-engineering/
npm i @element/react-components @element/themes
npm i @element/react-bottom-app-bar @element/themes
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.
Name | Type | Default | Required | Description |
---|---|---|---|---|
activeTabIndex | number | 0 | false | Index of the currently active tab. |
className | string | undefined | false | The css class name to be passed through to the component markup. |
elevated | boolean | false | false | Apply elevated styles to raise the tab-bar above standard content. |
variant | string | 'surface' | false | Background theme color. Accepts one of 'primary', 'secondary', or 'surface'. Accepted Values: primary, secondary, surface |
Name | Type | Default | Required | Deprecated | Description |
---|---|---|---|---|---|
raised | boolean | undefined | false | Please use elevated instead. | Apply a raised style. |
scrollable | boolean | undefined | false | Deprecated, containers will scroll when necessary. | Create a fixed height scrollable container. |
Name | Type | Default | Required | Description |
---|---|---|---|---|
children | React.ReactNode | null | false | Accepts one or more Tab components. |
Name | Default | Required | Params | Description |
---|---|---|---|---|
onTabActivated | undefined | false | Fires when switching to a different tab. |
Name | Type | Default | Required | Description |
---|---|---|---|---|
active | boolean | false | false | Visually activates the indicator. |
className | string | undefined | false | The css class name to be passed through to the component markup. |
icon | string | null | false | The bottom-tab-indicator will use an underline if no icon is provided. |
id | string | undefined | false | The id to be passed through to the component markup. |
Name | Type | Default | Required | Description |
---|---|---|---|---|
className | string | undefined | false | The css class name to be passed through to the component markup. |
Name | Type | Default | Required | Description |
---|---|---|---|---|
children | React.ReactNode | null | false | Accepts BottomTab components. |
Name | Type | Default | Required | Description |
---|---|---|---|---|
active | boolean | undefined | false | Indicates that the tab is active. |
className | string | undefined | false | The css class name to be passed through to the component markup. |
indicatorIcon | string | null | false | An 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. |
Name | Type | Default | Required | Description |
---|---|---|---|---|
children | React.ReactNode | null | false | The 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. |
icon | React.ReactNode | undefined | false | Add a leading icon to the tab. |
label | React.ReactNode | null | false | The displayed text. Expects a valid string. If label and children are both set, label will take priority. |
FAQs
Bottom App Bar component for Element React
We found that @element-public/react-bottom-app-bar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.