MCPcopy Index your code
hub / github.com/creativetimofficial/material-tailwind

github.com/creativetimofficial/material-tailwind @2.3.2-html sqlite

repository ↗ · DeepWiki ↗ · release 2.3.2-html ↗
1,188 symbols 2,567 edges 1,112 files 2 documented · 0%
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/

Extension points exported contracts — how you extend this code

dismissType (Interface)
(no doc)
packages/material-tailwind-react/src/types/generic.ts
ChartsPropsType (Interface)
(no doc)
docs-content/react/crypto/crypto-table.tsx
Props (Interface)
(no doc)
widgets/framework-card.tsx
Props (Interface)
(no doc)
widgets/code.tsx
Props (Interface)
(no doc)
widgets/color-palette.tsx
Props (Interface)
(no doc)
widgets/layout/sidenav.tsx
StatsCardPropsType (Interface)
(no doc)
widgets/sections/hero.tsx
TimeLeft (Interface)
(no doc)
widgets/campaign/count-down.tsx

Core symbols most depended-on inside this repo

objectsToString
called by 217
packages/material-tailwind-react/src/utils/objectsToString.js
findMatch
called by 62
packages/material-tailwind-react/src/utils/findMatch.js
useTheme
called by 62
packages/material-tailwind-react/src/context/theme.js
setActive
called by 14
packages/material-tailwind-react/src/components/Tabs/TabsContext.tsx
withMT
called by 10
packages/material-tailwind-html/utils/withMT.js
handleOpen
called by 8
docs-content/react/modal/dialog-sizes.tsx
handleOpen
called by 8
docs-content/react/dialog/dialog-sizes.tsx
handleCurrencySelect
called by 8
docs-content/html/input-number/input-currency-conversion.tsx

Shape

Function 1,040
Interface 148

Languages

TypeScript100%

Modules by API surface

docs-content/react/plugins/text-editor-react.tsx18 symbols
public/material-tailwind-html-v2.js14 symbols
packages/material-tailwind-react/src/components/Tabs/TabsContext.tsx11 symbols
packages/create-material-tailwind/src/index.ts11 symbols
docs-content/react/drawer/drawer-placement.tsx9 symbols
packages/create-material-tailwind/templates/remix/app/entry.server.jsx7 symbols
packages/create-material-tailwind/templates/remix-ts/app/entry.server.tsx7 symbols
widgets/campaign/count-down.tsx6 symbols
docs-content/react/navbar/complex-navbar.tsx6 symbols
docs-content/html/input/input-with-label-and-dropdown.tsx6 symbols
packages/material-tailwind-react/src/theme/components/select/index.ts5 symbols
packages/material-tailwind-react/src/components/Select/index.tsx5 symbols

Dependencies from manifests, versioned

@docsearch/css3.5.1 · 1×
@docsearch/react3.5.1 · 1×
@floating-ui/dom1.1.0 · 1×
@floating-ui/react0.19.0 · 1×
@fullcalendar/core6.1.9 · 1×
@fullcalendar/daygrid6.1.9 · 1×
@fullcalendar/react6.1.9 · 1×
@heroicons/react2.1.5 · 1×
@lexical/code0.12.5 · 1×
@lexical/link0.12.5 · 1×
@lexical/list0.12.5 · 1×
@lexical/markdown0.12.5 · 1×

For agents

$ claude mcp add material-tailwind \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact