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

daemonite-material

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daemonite-material

Daemonite's Material UI is a cross-platform and fully responsive front-end interface based on Google Material Design developed using Bootstrap 4.

  • 4.0.0-alpha.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
432
decreased by-33.74%
Maintainers
1
Weekly downloads
 
Created
Source

Material

Daemonite's Material UI is a cross-platform and fully responsive front-end interface based on Google Material Design. This lightweight framework is built using Bootstrap 4. The basic idea behind this project is to combine the visual language of Google Material Design with the front-end technology of the popular Bootstrap framework.

A visual language for our users that synthesizes the classic principles of good design with the innovation and possibility of technology and science. This is material design. http://www.google.com/design/spec/material-design/introduction.html

Detailed documentation site is work in progress. Let us know what you think at the Daemon Labs forum.

Goals

Primary

The primary goal of this project is to give all Bootstrap components and elements a Material Design look, so it allows web developers to continue using the exact same Bootstrap HTML markup they are familiar with, but presents a final outcome that is in line with the principles and specifics of Google Material Design.

Therefore, the Bootstrap's documentation can serve as a valid documentation for this project as well. Replacing bootstrap.min.css on the site with material.min.css from this project without any other changes will transform all components and elements into a materialised look.

Secondary

A secondary goal of this project is to add support of some unique Material Design components such as floating action buttons, pickers and steppers to name a few, which cannot be achieved by transforming existing Bootstrap components or elements.

Because these components will require additional markup (some may require additional JavaScript), they will be documented separately in Material's documentation (work-in-progress).

Supported Bootstrap 4 Components

Currently based on Bootstrap v4.0.0-alpha.4.

Bootstrap 4 ComponentsEquivalent Material Design Components
AlertsNone, but supported with our own interpretation
BreadcrumbNone, but supported with our own interpretation
ButtonsButtons
Button groupNone, but supported with our own interpretation
CardsCards
CarouselNone, but supported with our own interpretation
CollapseNone, but supported with our own interpretation
DropdownsMenus
FormsText fields
Input groupText fields
JumbotronNone, but supported with our own interpretation
List groupExpansion panels
ModalDialogs
NavsNone, but supported with our own interpretation
NavbarToolbars
PaginationNone, but supported with our own interpretation
PopoversNone, but supported with our own interpretation
ProgressProgress & activity
ScrollspyNone, but supported with our own interpretation
TagsChips
TooltipsTooltips
Utility classesNone, but supported with our own interpretation

Additional Supported Bootstrap 4 Elements

  • Bootstrap 4's grid system is supported, but breakpoints have been changed according to Material Design Responsive UI Guidlines.
  • Bootstrap 4's responsive utilities are all supported.
  • Bootstrap 4's typography classes and HTML tags (also including code, figures and images) are all supported.

Supported Material Components

Material ComponentsEquivalent Bootstrap 4 ComponentsAdditional Information
Bottom navigationNoneTodo: currently not supported.
Bottom sheetsNoneTodo: currently not supported.
ButtonsButtons.btn for raised buttons, .btn-flat and .btn-outline for flat buttons.
Buttons: Floating Action ButtonNoneAdd .btn-float on top of a .btn for floating action buttons.
CardsCardsAdditional .card-actions added to style supplemental action area.
ChipsTagsBoth .chip (Material) and .tag (Bootstrap) work the same. Bootstrap 4's .tag-pill is not supported.
Data tablesTablesTodo: .table-inverse, .table-reflow and .table-sm.
DialogsModalBoth .dialog (Material) and .modal (Bootstrap) work the same.
DividersNoneGenerally, use <hr> with margin utility classes to create dividers. Some specific components have dividers built in that may (e.g. navigation drawers) or may not (e.g. expansion panel) require .*-divider classes.
Expansion panelsList groupBoth .expansion-panel (Material) and .list-group (Bootstrap) work the same. Collapsed and expanded panels require .expansion-panel-collapse class.
Grid listsNoneUse Bootstrap 4's grid with padding utility classes to create grid lists.
ListsMedia objectMargin, padding, and vertical-alignment utility classes may be required.
Lists: ControlsMedia objectMargin, padding, and vertical-alignment utility classes may be required.
MenusDropdownsBoth .dropdown-menu (Bootstrap) and .menu (Material) work the same apart from their opening positions as .menu overlays the dropdown toggler. .dropdown-menu-sm and .menu-cascading are added for a cascading menu variation defined in Material Design Gudielines.
Navigation drawerNoneA default navigation drawer always opens above all other content with a tranparent black backdrop. Permanent (including its different variations), persistent, and temporary navigation drawers are supported, but the mini variant is currently not supported.
PickersNoneOnly date picker is currently supported. Todo: landscape picker.
Progress & activityProgressLinear progress bar's buffer variation is currently not supported.
Selection controlsFormsThe on/off slide toggle defined in Material Design Guidelines is supported with .custom-switch.
SlidersNoneTodo: currently not supported.
Snackbars & toastsNoneTodo: add snackbars & toasts support back.
SteppersNoneOnly non-clickable stepper is currently supported.
SubheadersNoneUse colour and typography utility classes to create subheaders.
TabsNavs.nav-tabs-bordered, .nav-tabs-centered, .nav-tabs-fixed, and .nav-tabs-scrollable are added to create certain variations of a tab bar based on Material Design Guidelines.
Text fieldsForms.floating-label is required on top of Bootstrap 4's markup to create a text field with a floating label. .textarea-autosize is required to create a multi-line text field that automatically breaks to a new line for overflow text.
ToolbarsNavbarBoth .navbar (Bootstrap) and .toolbar (Material) work the same. .toolbar-clipped is equivalent to .navbar-fixed-top. .toolbar-waterfall requires some custom Javascript to add/remove .waterfall class on scroll since Bootstrap 4 removes the affix plugin.
TooltipsTooltips
WidgetsNoneThis component is not really relevant to web development, so we probably will not actively look into adding support in this framework.

Keywords

FAQs

Package last updated on 31 Oct 2016

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