Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
material-ui-settings-panel
Advanced tools
A settings component in material ui style inspired by google admin console and google inbox. See the storybook for an interactive demo.
npm i --save material-ui-settings-panel
npm i --save react-onclickoutside
import {
ExpandablePanel,
HeaderPanel,
SettingsGroup,
SettingsItem,
SettingsPanel
} from 'material-ui-settings-panel'
// ...
render() {
return (
<div>
<SettingsPanel>
<HeaderPanel
title="Gmail"
subtitle="Für alle aktiviert"
description="https://mail.google.com/a/company.com"
image={<img src="https://ssl.gstatic.com/apps/cpanel/resources/img/gmail-128.png" />}
/>
<ExpandablePanel
title="Nutzer Einstellungen"
description="Sed diam nonumy eirmod tempor invidunt ut labore"
>
<SettingsGroup title="Lorem ipsum">
<SettingsItem title="Lorem ipsum" description="Description">
<div>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore
et dolore magna aliquyam erat, sed diam voluptua.
</div>
</SettingsItem>
<SettingsItem title="Lorem ipsum">
<div>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore
et dolore magna aliquyam erat, sed diam voluptua.
</div>
</SettingsItem>
</SettingsGroup>
</ExpandablePanel>
<ExpandablePanel
title="E-Mail-Adressen"
description="Lassen Sie sich alle E-Mail-Adressen und Aliase für Ihre Organisation anzeigen."
>
</ExpandablePanel>
</SettingsPanel>
</div>
)
}
Name | Type | Default | Description |
---|---|---|---|
style | object | Override the inline-styles of the root component. |
Name | Type | Default | Description |
---|---|---|---|
description | string | Description for the header. | |
image | node | Image for the header. | |
imageStyle | object | Override the inline-styles of the image container. | |
style | object | Override the inline-styles of the root component. | |
subtitle | string | Subtitle for the header. | |
textStyle | object | Override the inline-styles of the text container. | |
title* | string | Title for the header. |
Name | Type | Default | Description |
---|---|---|---|
description | string | Description for the panel. | |
style | object | Override the inline-styles of the root component. | |
textStyle | object | Override the inline-styles of the text container. | |
title* | string | Title for the panel. |
Name | Type | Default | Description |
---|---|---|---|
style | object | Override the inline-styles of the root component. | |
title* | string | Title for the group. |
Name | Type | Default | Description |
---|---|---|---|
description | string | Description for the panel. | |
style | object | Override the inline-styles of the root component. | |
title* | string | Title for the panel. |
* required property
The files included in this repository are licensed under the MIT license.
FAQs
Material style settings panel
We found that material-ui-settings-panel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.