Back to rankings

creativetimofficial/material-tailwind

TypeScriptmaterial-tailwind.com

@material-tailwind is an easy-to-use components library for Tailwind CSS and Material Design.

tailwindtailwindcssmaterial-designmaterialreactreactjsjavascriptmaterial-tailwindtailwind-csstailwindcss-extensiontailwind-css-template
Star Growth
Stars
4.4k
Forks
357
Weekly Growth
β€”
Issues
182
2k4k
Mar 2021Dec 2022Oct 2024Jul 2026
Artifactsnpmnpm install material-tailwind
README
material-tailwind

Material Tailwind


License Total Downloads Version

License Total Downloads Version

Vercel



@material-tailwind/react

Documentation

Visit https://www.material-tailwind.com/docs/react/installation for full documentation.


Components

Accordion Alert Avatar
accordion alert avatar
Badge Breadcrumbs Button
badge breadcrumbs button
Button Group Card Checkbox
button-group card checkbox
Chip Collapse Carousel
chip collapse carousel
Dialog Drawer Icon Button
dialog drawer icon-button
Input Form List
input form list
Menu Navbar Popover
menu navbar popover
Progress Bar Pagination Radio Button
progress-bar pagination radio-button
Rating Bar Select Slider
rating-bar select slider
Speed Dial Spinner Stepper
speed-dial spinner stepper
Switch Tabs Text Area
switch tabs textarea
Timeline Tooltip Typography
timeline tooltip typography
Footer Image Video
footer img video
Sidebar Table
sidebar table

Getting Started

Learn how to use @material-tailwind/react components to quickly and easily create elegant and flexible pages using Tailwind CSS.

@material-tailwind/react is working with Tailwind CSS classes and you need to have Tailwind CSS installed on your project - Tailwind CSS Installation.


  1. Install @material-tailwind/react.
npm i @material-tailwind/react

  1. Once you install @material-tailwind/react you need to wrap your tailwind css configurations with the withMT() function coming from @material-tailwind/react/utils.
const withMT = require("@material-tailwind/react/utils/withMT");

module.exports = withMT({
  content: ["./src/**/*.{js,jsx,ts,tsx}"],
  theme: {
    extend: {},
  },
  plugins: [],
});

  1. @material-tailwind/react comes with a theme provider that set's the default theme/styles for components or to provide your own theme/styles to your components. You need to wrap your entire application with the ThemeProvider coming from @material-tailwind/react.
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";

// @material-tailwind/react
import { ThemeProvider } from "@material-tailwind/react";

const root = ReactDOM.createRoot(document.getElementById("root"));

root.render(
  <React.StrictMode>
    <ThemeProvider>
      <App />
    </ThemeProvider>
  </React.StrictMode>,
);

  1. Congratulations πŸ₯³, you did it, now you're ready to use @material-tailwind/react.
import { Button } from "@material-tailwind/react";

export default function Example() {
  return <Button>Button</Button>;
}

@material-tailwind/html

Documentation

Visit https://www.material-tailwind.com/docs/html/installation for full documentation.


Components

Accordion Alert Avatar
accordion alert avatar
Breadcrumbs Button Card
breadcrumbs button card
Checkbox Chip Dialog
checkbox chip dialog
Icon Button Input Menu
icon-button input menu
Navbar Pagination Popover
navbar pagination popover
Radio Button Select Progress Bar
radio-button select progress-bar
Tabs Textarea Switch
tabs textarea switch
Typography Tooltip
typography tooltip

Getting Started

Learn how to use @material-tailwind/html components to quickly and easily create elegant and flexible pages using Tailwind CSS.

@material-tailwind/html is working with Tailwind CSS classes and you need to have Tailwind CSS installed on your project - Tailwind CSS Installation.


  1. Install @material-tailwind/html
npm i @material-tailwind/html

  1. Once you install @material-tailwind/html you need to wrap your tailwind css configurations with the withMT() function coming from @material-tailwind/html/utils.
const withMT = require("@material-tailwind/html/utils/withMT");

module.exports = withMT({
  content: ["./index.html"],
  theme: {
    extend: {},
  },
  plugins: [],
});

  1. Congratulations πŸ₯³, you did it, now you're ready to use @material-tailwind/html.


Community

We're excited to see the community adopt Material Tailwind, raise issues, and provide feedback. Whether it's a feature request, bug report, or a project to showcase, please get involved!

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

Please adhere to this project's CODE_OF_CONDUCT.md.

License

MIT

Related repositories
DavidHDev/react-bits

An open source collection of animated, interactive & fully customizable React components for building memorable websites.

JavaScriptnpmOtheranimationscomponents
reactbits.dev
43.9k2.1k
saadeghi/daisyui

🌼 🌼 🌼 🌼 🌼  The most popular, free and open-source Tailwind CSS component library

SvelteMIT Licensetailwind-cssui-library
daisyui.com
41.7k1.7k
aniftyco/awesome-tailwindcss

😎 Awesome things related to Tailwind CSS

Creative Commons Zero v1.0 Universaltailwindcssawesome
tailwindcss.com
15.1k1k
midday-ai/midday

Invoicing, Time tracking, File reconciliation, Storage, Financial Overview & your own Assistant made for Freelancers

TypeScriptnpmGNU Affero General Public License v3.0financenextjs
midday.ai
14.6k1.8k
tamagui/tamagui

Style React fast with 100% parity on React Native, an optional UI kit, and optimizing compiler.

TypeScriptnpmMIT Licensereactreact-native
tamagui.dev
14.1k605
Tencent/omi

Web Components Framework - Webη»„δ»Άζ‘†ζžΆ

TypeScriptnpmOtheromijsx
omi.cdn-go.cn
13.3k1.3k
mdbootstrap/TW-Elements

𝙃π™ͺπ™œπ™š collection of Tailwind MIT licensed (free) components, sections and templates 😎

JavaScriptnpmMIT Licensetailwindcssdesign-systems
tw-elements.com
13.1k1.6k
markmead/hyperui

Free Tailwind CSS v4 components for your next project, designed to enhance your web development with the latest features and styles πŸš€

HTMLMIT Licensetailwindaccessibility
hyperui.dev
12.2k504
elie222/inbox-zero

The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.

TypeScriptnpmOtheraiemail
getinboxzero.com
11.7k1.4k
uiverse-io/galaxy

The largest Open-Source UI Library! Community-made and free to use. Made with either CSS or Tailwind.

HTMLMIT Licensecommunitycss
uiverse.io
11.5k794
themesberg/flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS

HTMLMIT Licensecsshtml
flowbite.com
9.3k872
mertJF/tailblocks

Ready-to-use Tailwind CSS blocks.

JavaScriptnpmMIT Licensecsstailwind
tailblocks.cc
8.9k835