Leave Yamada UI a star

Star
Yamada UIYamada UIv1.5.1

Collapse

Collapse is a component that allows you to expand or collapse an element for display.

Source@yamada-ui/transitions

Theming

The Collapse is a single part component.

export const Collapse: ComponentStyle<"Collapse"> = {
baseStyle: {
w: "100%",
},
defaultProps: {
animationOpacity: true,
startingHeight: 0,
endingHeight: "auto",
},
}
Copied!

Edit this page on GitHub

PreviousTransitionsNextFade