All Projects → prateekbh → Preact Material Components

prateekbh / Preact Material Components

Licence: mit
preact wrapper for "Material Components for the web"

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Preact Material Components

personal-website
Personal website – made with Next.js, Preact, MDX, RMWC, & Vercel
Stars: ✭ 16 (-97.01%)
Mutual labels:  preact, material-components
preact-mdc
material design components for preact using material-components-web sass styles (for live demo click the link below)
Stars: ✭ 23 (-95.7%)
Mutual labels:  preact, material-components
Wmr
👩‍🚀 The tiny all-in-one development tool for modern web apps.
Stars: ✭ 4,372 (+717.2%)
Mutual labels:  preact
Undom
🍩 1kb minimally viable DOM Document implementation
Stars: ✭ 496 (-7.29%)
Mutual labels:  preact
Create React Library
⚡CLI for creating reusable react libraries.
Stars: ✭ 4,554 (+751.21%)
Mutual labels:  preact
Preact Starter
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact
Stars: ✭ 384 (-28.22%)
Mutual labels:  preact
Ijk
Transforms arrays into virtual dom trees; a terse alternative to JSX and h
Stars: ✭ 452 (-15.51%)
Mutual labels:  preact
Reshadow
Markup and styles that feel right
Stars: ✭ 343 (-35.89%)
Mutual labels:  preact
Statty
A tiny and unobtrusive state management library for React and Preact apps
Stars: ✭ 516 (-3.55%)
Mutual labels:  preact
Styled Breakpoints
Simple and powerful tool for creating breakpoints in styled components and emotion. 💅
Stars: ✭ 428 (-20%)
Mutual labels:  preact
Preact Cli
😺 Your next Preact PWA starts in 30 seconds.
Stars: ✭ 4,510 (+742.99%)
Mutual labels:  preact
Preact Render To String
📄 Universal rendering for Preact: render JSX and Preact components to HTML.
Stars: ✭ 411 (-23.18%)
Mutual labels:  preact
Neutrino
Create and build modern JavaScript projects with zero initial configuration.
Stars: ✭ 3,844 (+618.5%)
Mutual labels:  preact
Design System Utils
👩‍🎨 Access your design tokens with ease
Stars: ✭ 465 (-13.08%)
Mutual labels:  preact
Svelte Materialify
A Material UI Design Component library for Svelte heavily inspired by vuetify.
Stars: ✭ 351 (-34.39%)
Mutual labels:  material-components
Preact Pwa
Super fast progressive web app with small footprint & minimal dependancies
Stars: ✭ 507 (-5.23%)
Mutual labels:  preact
Teleport Code Generators
A collection of code generators for modern JavaScript applications
Stars: ✭ 368 (-31.21%)
Mutual labels:  preact
Esri Loader
A tiny library to help load ArcGIS API for JavaScript modules in non-Dojo applications
Stars: ✭ 400 (-25.23%)
Mutual labels:  preact
Preact Habitat
Zero configuration Preact widgets renderer in any host DOM
Stars: ✭ 444 (-17.01%)
Mutual labels:  preact
Android Iconics
Android-Iconics - Use any icon font, or vector (.svg) as drawable in your application.
Stars: ✭ 4,916 (+818.88%)
Mutual labels:  material-components

preact-material-components

Deprecation Notice

This repo only works with Preact 8 or lower. The work for preact X+ compatibility was unfortunately suspended due to the given lack of maintainers and their time.

Greenkeeper badge Dependencies badge build

preact components for material-components-web


These components bring material components in an a-la-carte fashion. You can use n number of components without taking the weight of any extra code of the components you do not use.

preact-material-components is a thin opinion-less wrapper over material-components-web. Use these for painless integration of these components into your project, without taking the bloat.

Smaller bundles FTW!!!

Which distribution to use

There are now three distributions:

Default Build

Location: Package Root / preact-material-components/<Component>

Who?

  • Libraries: ✖ (Users should decide about transpilation themselves)
  • Applications: ✔

Support:

This supports all browsers supported by mwc, JavaScript and TypeScript

ES Module Build

Location: esm directory / preact-material-components/esm/<Component>

Who?

  • Libraries: ✔
  • Applications: ✔

Support:

This supports most recent browsers, JavaScript and TypeScript

TypeScript Source

Location: ts directory / preact-material-components/ts/<Component>

Who?

  • Libraries: (✔) (Not recommended, keep in mind that your library will only support TypeScript)
  • Applications: ✔

Support:

Browser support depends on transpilation/TypeScript configuration and only TypeScript is supported.

FAQ

Error while using preact-material-components with less

If you are using less-loader you have to set strictMath: true option in your webpack config

{
	loader: 'less-loader',
	options: { strictMath: true }
}

Primary and Secondary props not working

To use theming props like primary/secondary, you'll need to include Theme's css

import 'preact-material-components/Theme/style.css';

Docs and Demos

https://material.preactjs.com/


P.S.: Let us know if you're using preact-material-components we would love to hear your experiences.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].