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

expansion-panel

v3.9.2arrow_drop_down
v3.9.2
STATUS
Passing
DOWNLOADS
157
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
6 months ago
SIZE
24 KB
subject
An expansion panel is a lightweight container that may either stand alone or be connected to a larger surface, such as a card.
1 contributor
Use expansion-panel in your project ?
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
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';
revert changes
reload
toggle layout
maximize
modifieddraft
modifieddraft
modifieddraft
chevron_left
chevron_right
Properties
NameTypeDefault valueDescription
children
node

The content of the expansion panel.

classes
object

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

className
string
CollapseProps
object

Properties applied to the Collapse element.

defaultExpanded
boolfalse

If true, expands the panel by default.

disabled
boolfalse

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
boolfalse