UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

68 lines (43 loc) 844 B
--- id: Panel section: components cssPrefix: pf-v6-c-panel propComponents: [Panel, PanelMain, PanelMainBody, PanelHeader, PanelFooter] --- ## Examples ### Basic ```ts file="PanelBasic.tsx" ``` ### Header ```ts file="PanelHeaderExample.tsx" ``` ### Footer ```ts file="PanelFooterExample.tsx" ``` ### Header and footer ```ts file="PanelHeaderFooter.tsx" ``` ### No body ```ts file="PanelNoBody.tsx" ``` ### Raised ```ts file="PanelRaised.tsx" ``` ### Bordered ```ts file="PanelBordered.tsx" ``` ### Secondary variant ```ts file="PanelSecondaryVariant.tsx" ``` ### Scrollable ```ts file="PanelScrollable.tsx" ``` ### Scrollable with auto height ```ts file="PanelScrollableWithAutoHeight.tsx" ``` ### Scrollable with header and footer ```ts file="PanelScrollableHeaderFooter.tsx" ``` ### Pill ```ts file="PanelPill.tsx" ```