Skip to content
/ matter Public
forked from finnhvman/matter

Material Components in Pure CSS

License

Notifications You must be signed in to change notification settings

4EPHblN/matter

 
 

Repository files navigation

Matter M logo

Matter

Material Components in Pure CSS

This project is work in progress, I am open-sourcing Pure CSS Material Components.

13 Matter Components

🎬 Get Started

Configurable builds, CDN support, and more are coming soon! Right now the process is manual:

  1. Download matter.css from dist folder. (For experimenting you can also use it from CDN, not production grade: https://res.cloudinary.com/finnhvman/raw/upload/v1548351517/matter/matter-experimental-3.css)
  2. Include it in your project or build pipeline
  3. Apply the class of your choice:
<!-- Contained Button -->
<button class="matter-button-contained">Button</button>

<!-- Outlined Button -->
<button class="matter-button-outlined">Button</button>

<!-- Text Button -->
<button class="matter-button-text">Button</button>


<!-- Filled Textfield (keep the placeholder attribute as it is) -->
<label class="matter-textfield-filled">
    <input placeholder=" "/>
    <span>Textfield</span>
</label>

<!-- Filled Textfield (textarea) (keep the placeholder attribute as it is) -->
<label class="matter-textfield-filled">
    <textarea placeholder=" "></textarea>
    <span>Textfield</span>
</label>

<!-- etc. -->


<!-- Tooltip (use a div to wrap component) -->
<div class="matter-tooltip" aria-label="Tooltip">
    <button class="matter-button-text">Button</button>
</div>

Click the link of a component below to find more examples of its usage in the .spec.html file!

📦 Components

Implemented/Planned:

💬 Contact

If you have questions, feedback or anything to share related to the project, then you can contact me via:

About

Material Components in Pure CSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.5%
  • CSS 15.3%
  • HTML 4.2%