Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

divider

v4.9.10arrow_drop_down
v4.9.10
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
1,387
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
3 months ago
SIZE
24 KB
A divider is a thin line that groups content in lists and layouts.
2 contributors
Install divider as a package?
Copied
npm i @bit/mui-org.material-ui.divider
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
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
modifieddraft
modifieddraft
modifieddraft
modifieddraft
modifieddraft
chevron_left
chevron_right
divider ()
Properties
NameTypeDescription
absolute
bool

Absolutely position the element.

classes
(required)
object

Override or extend the styles applied to the component. See CSS API below for more details.

className
string
component
elementType

The component used for the root node. Either a string to use a DOM element or a component.

flexItem
bool

If true, a vertical divider will have the correct height when used in flex container. (By default, a vertical divider will have a calculated height of 0px if it is the child of a flex container.)

light
bool

If true, the divider will have a lighter color.

orientation
'horizontal' | 'vertical'

The divider orientation.

role
string
variant
'fullWidth' | 'inset' | 'middle'

The variant to use.