npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@osjwnpm/odit-ipsum-fugit

v1.0.0

Published

[![Version](https://img.shields.io/npm/v/material-components-web.svg)](https://www.npmjs.com/package/material-components-web) [![Chat](https://img.shields.io/discord/259087343246508035.svg)](https://discord.gg/material-components)

Downloads

8

Maintainers

lequoc12780lequoc12780

Keywords

trimStartcompilerhotphonecurlwgetObject.definePropertybuffersio-tsSettrimEndfullObjectwarningclientcallbackswfpredictabletypeformlruregular expressionsnegative zeroECMAScript 2018awesomesauceeventDispatcherasyncerrorlook-upwalkingpropertiesslotFloat64ArrayoptimistwatchingjwtargssqsPromiseECMAScript 2015fseventsvalidateECMAScript 7authenticationsettingsfpsduplexwrapUint8ClampedArraydeep-cloneopenrgbfigletdropkeyscommanderregular expressionapiStreamsECMAScript 2019react-hooksObject.getPrototypeOfievestdependency managermiddlewareutilitiesprunemulti-packagebyteassignimportconfigvaluesjasmineliveviewdeep-copyAsyncIteratorelmprettydataViewidajvconcates2015positivestylingRFC-6455rdsstatestyled-componentsES6Object.keyseslint-pluginloadingcryptiterationgetsuperagentrm -rfvpcgradients css3postcss-plugincallboundstructuredCloneairbnblengthsetterpersistentrandomsetSymbol.toStringTagjsworkerfast-cloneapolloBigUint64Arrayrm -frmaketddhardlinksspecownreact[[Prototype]]storagegatewayloadbalancingbcryptfastclonecloneavafromTypeScriptelectronroutelibphonenumbertoStringTagclasseslanguagefluxqueueprogressinputtoolkitdayjs.envquerystringpatchlintfile systemhas-ownReactiveXes2018fastcopylimitargvbootstrap csswidthsameValueZerocore-jsInt8ArraywhichobjectES8webgraphqlnumbertoolssesminimalamazontypesafeArray.prototype.flattentimeArray.prototype.filterless compilercolumnsshellauthsafeurljapaneseargumentweakmapmapreducevisualcall-boundSymbolcloudtrailparseshimESnextbreakl10nECMAScript 5serializetostringtaginternalArray.prototype.containsvaluesortedmimeeslintpluginpush0bannerstreams2clidebuggerdefinePropertyclassnamezodsearchUnderscoretrimLeftmapECMAScript 2022formattingcloudfrontjavascript256fixed-widthtesterresolvelazyclassnamesoncesharedES2018matchesprivatelinewrapWebSocketcreatewatchFileelbCSSidlenamespackage managerfilelastsetPrototypeOfbluebirdES7wordbreakyupcontainsimmutablehasdatepromisepipebeanstalk@@toStringTagstringlesscssStreamnodecollectionbusymake dirastcorsdataviewfind-upES2022es-shim APIserializationsyntaxerrorreduceescapevariables in csssetImmediatefunctionss3typeofmkdirdeleteconfigurabletslibes8routingArray.prototype.findLastIndexdebugscheme-validationdescriptionInt32ArraymodulesarktypegroupBygenericsfastifynopekinesisArrayBuffer.prototype.slicemime-dbdiroutputString.prototype.trimrequiretestingES2016flagtrimcolorcompile lessconsolemkdirsconsumeperformancees-shimsObject.assignworkspace:*upratefastwafquotechecklogcss nestingeverybyteOffsetsimpledbjestcircularpathpropreact-hook-formECMAScript 2023replayjsdiffES2017symbolsRxJScjktsTypedArrayi18ncallbindinspectcloudsearchstylesheetjsxpackage.jsoncollection.es6ec2joibufferexpressredirectcensortakeprotocol-buffersArrayBuffer#sliceextendincludescharactersspeednested cssentriesArray.prototype.includesstarterindicatorpolyfillmkdirppromisesglacierUint8ArrayansiartebstoArrayregulardescriptorsless css_.extendstreamsWeakMap__proto__descriptorURLSearchParamskeyenumerablecss lessfilterunicodemoduledatastructurekoreanmobilecolourtypedES2019parserCSSStyleDeclarationcloudformationcryptoiteratorflatBigInt64ArrayforEachECMAScript 3fetchenvironmentreact-testing-libraryfinduprecursiveECMAScript 6shebangutileslinttoobjectsnsfast-deep-cloneisConcatSpreadableruntimechaicoreroute53iterate-0efficientObject.fromEntriesECMAScript 2021robustequalqueryrequestpackagesObject.istelephonedotenvchromeinternal slotcoercibleUint16Arraycode pointscss-in-jsglobgetintrinsicgetoptemres2016helpersrmdirqueueMicrotaskcomputed-typeswriteconnectArraysyntaxvalidtyped arrayremoveawsbddESautoprefixeroptionimmerdeepcopydefineuninstallmixinslookgetOwnPropertyDescriptorawaitmimetypesgetPrototypeOfmetadatareadablethroatprefixreadablestreamcommandES3uuidpnpm9hooksstdlibeventsArrayBufferwordwrapJSON-SchemaStyleSheetes-abstractredux-toolkitfast-deep-copytypedarraysjsonpathReflect.getPrototypeOfclass-validatorequalityfunctionaleventEmitteraccessorarraybufferargparsecodespackageesinstallbyteLengthnameconcurrencyspinnerregexlockfilereadcharacterschemaiamString.prototype.matchAllvalidationyamles5groupYAMLajaxelasticacheprotobufpyyamlECMAScript 2017propertycolorsomitboundlimitedterminalRxObservablessortnegativeloggertapprotoslicesidekarmahttpsreal-timewatchchannelprototypebrowserlistdeepcloneconcatMapponyfillreducerqszerotoSorteddynamodbxtermmrutypedarrayflatteninstallerbundlerparentES2021trimRightMapless mixinssomeFunction.prototype.nameschemeURLestreedeterministicimportexportpicomatchutil.inspectsymlinkshrinkwrapHyBiassertsemojiissharedarraybufferObject.valuesES5WeakSetextensionTypeBoxcompareguidperformantflagsfindLastcallchromiummochatouchwatcherbundlingenvlocationmonorepohasOwnPropertyoffsetstablestylesArray.prototype.flatMaphigher-orderes7extraparentsmovelessgetterjsonstatelessfast-copystyleguideRegExp#flagsdirectorynodejssymlinkstypescriptflatMapUint32Arraybindhashbatchgradients cssfolderdomtypanioncss variableintrinsicrapidhttpdom-testing-libraryasciidependenciestesteast-asian-widthassertnpmReactiveExtensionsexecframeworkin$.extendratelimitInt16Arrayjsdomtypeerrorform-validationutilityES2020whatwgWebSocketsespreefullwidthfull-widthreduxserializerPushjQuerymergetypessuperstructpluginbootstrap lessfindIteratorbrowserslistformsshamRegExp.prototype.flagscommand-linearrayspreserve-symlinkscall-bindcsssymbolloggingcolumnfindLastIndexrmprivate datawait

Readme

Version Chat

Material Components for the web

Material Components for the web helps developers execute Material Design. Developed by a core team of engineers and UX designers at Google, these components enable a reliable development workflow to build beautiful and functional web projects.

Material Web strives to seamlessly incorporate into a wider range of usage contexts, from simple static websites to complex, JavaScript-heavy applications to hybrid client/server rendering systems. In short, whether you're already heavily invested in another framework or not, it should be easy to incorporate Material Components into your site in a lightweight, idiomatic fashion.

Material Components for the web is the successor to Material Design Lite. In addition to implementing the Material Design guidelines, it provides more flexible theming customization, not only in terms of color, but also typography, shape, states, and more. It is also specifically architected for adaptability to various major web frameworks.

NOTE: Material Components Web tends to release breaking changes on a monthly basis, but follows semver so you can control when you incorporate them. We typically follow a 2-week release schedule which includes one major release per month with breaking changes, and intermediate patch releases with bug fixes.

Important links

Quick start

Using via CDN

<!-- Required styles for Material Web -->
<link rel="stylesheet" href="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.css">

<!-- Render textfield component -->
<label class="mdc-text-field mdc-text-field--filled">
  <span class="mdc-text-field__ripple"></span>
  <span class="mdc-floating-label" id="my-label">Label</span>
  <input type="text" class="mdc-text-field__input" aria-labelledby="my-label">
  <span class="mdc-line-ripple"></span>
</label>

<!-- Required Material Web JavaScript library -->
<script src="https://unpkg.com/material-components-web@latest/dist/material-components-web.min.js"></script>
<!-- Instantiate single textfield component rendered in the document -->
<script>
  mdc.textField.MDCTextField.attachTo(document.querySelector<HTMLElement>('.mdc-text-field'));
</script>

Please see quick start demo on codepen for full example.

Using NPM

This guide assumes you have webpack configured to compile Sass into CSS. To configure webpack, please see the full getting started guide. You can also see the final code and result in the Material Starter Kit.

Install textfield node module to your project.

npm install @material/textfield

HTML

Sample usage of text field component. Please see Textfield component page for more options.

<label class="mdc-text-field mdc-text-field--filled">
  <span class="mdc-text-field__ripple"></span>
  <input type="text" class="mdc-text-field__input" aria-labelledby="my-label">
  <span class="mdc-floating-label" id="my-label">Label</span>
  <span class="mdc-line-ripple"></span>
</label>

CSS

Load styles required for text field component.

@use "@material/floating-label/mdc-floating-label";
@use "@material/line-ripple/mdc-line-ripple";
@use "@material/notched-outline/mdc-notched-outline";
@use "@material/textfield";

@include textfield.core-styles;

JavaScript

Import MDCTextField module to instantiate text field component.

import {MDCTextField} from '@material/textfield';
const textField = new MDCTextField(document.querySelector<HTMLElement>('.mdc-text-field'));

This'll initialize text field component on a single .mdc-text-field element.

Please see quick start demo on glitch for full example.

Need help?

We're constantly trying to improve our components. If Github Issues don't fit your needs, then please visit us on our Discord Channel.