Giter Club home page Giter Club logo

solid-material-components's Introduction

โ— NOTE โ—

While this library may still be of use for those who want a simple wrapper for Material Design Components, I myself have been using https://github.com/swordev/suid and will be focusing my efforts there.


Solid Material Components

Port of Material Design Components for SolidJS. In the future, self-made components could be provided.

You can see online demos of all components in Material Design Components. I will provide a demo page specific to this library soon.

Status

This library is a work in progress. I will add components as I need them myself. Released components should be perfectly usable, but API changes may happen.

Currently ported:

  • buttons
  • icon buttons
  • ripple effects
  • checkboxes
  • radio buttons
  • sliders
  • (filter) chips

I have many more components already ported, but not yet ready to release. More progress soon!

Usage

Currently only supports usage with vite. A separate package will be released in a more traditional way that's usable in all circumstances.

  • Install pnpm add solid-material-components

  • No need to import any CSS (thanks to vite)!

  • Optionally import the icon font by placing the following in your <head> tag:

    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

  • Just import components and use them. For example:

    import { Button } from "solid-material-components/button";
    // ...
    <Button>Hello world!</Button>

Contributing

I very much welcome PRs! Feel free to reach out to me first to discuss the component you want to port, or what other change you want implemented. I'm also active on Solid's Discord server.

TODOs

  • (better) global theming solution
  • non-vite package
  • online demo page
  • more components!

solid-material-components's People

Contributors

evertheylen avatar starwort avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.