Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

material-ui-settings-panel

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-ui-settings-panel

Material style settings panel

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Material Settings Panel

Build Status Greenkeeper badge

NPM

A settings component in material ui style inspired by google admin console and google inbox. See the storybook for an interactive demo.

Demo

Installation

npm i --save material-ui-settings-panel
npm i --save react-onclickoutside

Usage

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>
  )
}

SettingsPanel Properties

NameTypeDefaultDescription
styleobjectOverride the inline-styles of the root component.

HeaderPanel Properties

NameTypeDefaultDescription
descriptionstringDescription for the header.
imagenodeImage for the header.
imageStyleobjectOverride the inline-styles of the image container.
styleobjectOverride the inline-styles of the root component.
subtitlestringSubtitle for the header.
textStyleobjectOverride the inline-styles of the text container.
title*stringTitle for the header.

ExpandablePanel Properties

NameTypeDefaultDescription
descriptionstringDescription for the panel.
styleobjectOverride the inline-styles of the root component.
textStyleobjectOverride the inline-styles of the text container.
title*stringTitle for the panel.

SettingsGroup Properties

NameTypeDefaultDescription
styleobjectOverride the inline-styles of the root component.
title*stringTitle for the group.

SettingsItem Properties

NameTypeDefaultDescription
descriptionstringDescription for the panel.
styleobjectOverride the inline-styles of the root component.
title*stringTitle for the panel.

* required property

License

The files included in this repository are licensed under the MIT license.

Keywords

FAQs

Package last updated on 03 Jul 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc