2.1.10 • Published 7 months ago

@material-tailwind/react v2.1.10

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Documentation

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

Components

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. Intall @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>;
}

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

magneum@everything-registry/sub-chunk-584fr-templateathreya15-style-buttongic_frontendcb-dash-pkgcb-dash-pkg1cb-dash-pkg10cb-dash-pkg2cb-dash-pkg3cb-dash-pkg4cb-dash-pkg5cb-dash-pkg6cb-dash-pkg8cb-dash-pkg89cb-dash-pkg9cb-dash-pkg7cb-dash-pkg-final-div2cb-dash-pkg-final-div3cb-dash-pkg-final-div5cb-dash-pkg-final-div6cb-dash-pkg-final-div8cb-dash-pkg-final-div9cb-dash-pkg-final1cb-dash-pkg-final10cb-dash-pkg-final11cb-dash-pkg-final2cb-dash-pkg-final3cb-dash-pkg-final4cb-dash-pkg-final5cb-dash-pkg-final6cb-dash-pkg-final7cb-dash-pkg-final8cb-dash-pkg-final9cb-dash-pkg-final-div7cb-dash-pkg-fincb-dash-pkg-fin1cb-dash-pkg-fin2cb-dash-pkg-fin3cb-dash-pkg-fin4cb-dash-pkg-finacb-dash-pkg-finalcb-dash-pkg-final-div1t4-design-systemtailwind-password-strengthwalllettech2paycomponenetstest-widget-knv-1test-widget-knv-2eduno-design-systemcb-dash-pkg-final-divicb-dash-pkg-final-divi1cb-dash-pkg-final-divi2cb-dash-pkg-final-divi3cb-dash-pkg-final-divi4cb-dash-pkg-final-divi5dashboard-pkgkesho-ui@localuniverse/luxsomosdevpackagesolive-coretrafficbox_ui_kit_v4uniwebcms_components@anjy7/navbar-cms@agentsea/agent-ui@deskree/ion-editor@egcanas/ui-component@infobae/infobae-components@infinitebrahmanuniverse/nolb-_mate@latelier22/artisans-strapi@map2u/md_components@nafza/md_components@noahspan/noahspan-components@kalibani/react-component-library@nubebytes/ui-react@panoraexchange/widget-sdk@splat/storybook-splat-frontend@sofyanardiansyah888/base@sofyanardiansyah888/master-datamyherbold-translationnavbar-cmsopencomponentspearl-tech-sharedselect-componentsproduct_stylistreact-help-desk-tailwindcss-tsnc-components-uinc-components-ui2platform_package_demoramik32-2gsoc-projectsheader-component-incredheader-comp-incredleumas-private-sharedkyte-sdkadrigwest@toyota-research-institute/rse-react-library@veera-dashing/product_stylistcollege-admin-panelbeyd-easypay
3.0.0-beta.23

7 months ago

3.0.0-beta.20

7 months ago

3.0.0-beta.21

7 months ago

3.0.0-beta.22

7 months ago

3.0.0-beta.19

7 months ago

2.1.10

8 months ago

3.0.0-beta.10

11 months ago

3.0.0-beta.11

10 months ago

3.0.0-beta.12

10 months ago

3.0.0-beta.13

10 months ago

3.0.0-beta.15

10 months ago

3.0.0-beta.16

10 months ago

3.0.0-beta.17

9 months ago

3.0.0-beta.18

9 months ago

3.0.0-beta.5

1 year ago

3.0.0-beta.7

1 year ago

3.0.0-beta.6

1 year ago

3.0.0-beta.9

1 year ago

3.0.0-beta.8

1 year ago

3.0.0-beta.4

1 year ago

3.0.0-beta.3

1 year ago

3.0.0-beta.2

1 year ago

3.0.0-beta.1

1 year ago

3.0.0-beta.0

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.4

2 years ago

2.0.5

2 years ago

2.1.3

2 years ago

2.0.7

2 years ago

2.1.5

1 year ago

2.0.6

2 years ago

2.0.8

2 years ago

2.1.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.3.5

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.2.5

2 years ago

1.2.4

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.2.3

3 years ago

1.0.5

3 years ago

1.2.2

3 years ago

1.0.4

3 years ago

1.2.1

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.3

3 years ago

1.0.0-beta

3 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago