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

expansion-panel

v4.5.2arrow_drop_down
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
188
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 months ago
SIZE
26 KB
An expansion panel is a lightweight container that may either stand alone or be connected to a larger surface, such as a card.
2 contributors
Install expansion-panel as a package?
Copied
npm i @bit/mui-org.material-ui.expansion-panel
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
Properties
NameTypeDescription
children
custom

The content of the expansion panel.

classes
(required)
object

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

className
string
defaultExpanded
bool

If true, expands the panel by default.

disabled
bool

If true, the panel will be displayed in a disabled state.

expanded
bool

If true, expands the panel, otherwise collapse it. Setting this prop enables control over the panel.

onChange
function

The event source of the callback.

square
bool
TransitionComponent
elementType

The component used for the collapse effect.

TransitionProps
object

Props applied to the Transition element.