stack

v4.15.0arrow_drop_down
v4.15.0
STATUS
Passing
DOWNLOADS
188
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
2 KB
Context used to manage the layering of z-indexes of components.
1 contributor
Install stack as a package?
Copied
npm i @bit/segmentio.evergreen.stack
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

Context used to manage the layering of z-indexes of components.

Properties
NameTypeDefault valueDescription
children
(required)
function

Function that takes the current z-index and returns a React Node. (zIndex) => ReactNode.

value
numberStackingOrder.STACKING_CONTEXT

Set the value of the stack. This will increment for children.

Help and resources