# md3.io: material, Material 3 Expressive components for the web > material is an independent Material Design 3 component library for the web, with M3 Expressive components: plain JavaScript factories (`createButton()`), web components (``), and React, Vue, Svelte and Solid wrappers, in TypeScript, with no runtime dependencies. Install it with `npm install material`. md3.io is its site: a live playground for every component, its API, and guides. - [Get started](https://md3.io/get-started.md): Installation, frameworks and theming overview ## Get started - [Installation](https://md3.io/get-started/installation.md): material is a Material Design 3 component library for the web, with no dependencies. ## Architecture - [Architecture](https://md3.io/develop/architecture.md): The material library is built in layers: small features compose into component factories, web components wrap the factories, and the React, Vue, Svelte and Solid components are generated from the web components. - [Factory](https://md3.io/develop/factory.md): The factories are material itself: one function per component, which builds its DOM and returns an object to drive it. - [Web Components](https://md3.io/develop/web-components.md): material/elements has every component as a custom element: , , . - [Server rendering](https://md3.io/develop/server-rendering.md): material's components are built in the browser: a web component builds its factory inside its shadow root when it upgrades, and a factory needs document. - [Events and overlays](https://md3.io/develop/events-and-overlays.md): Two rules hold for every factory, and the overlays add a few of their own. - [Markup and sanitizing](https://md3.io/develop/markup.md): Icons and content options are markup: the library writes them as HTML. ## Frameworks - [Frameworks](https://md3.io/develop/frameworks.md): Choose the guide for your framework. - [React](https://md3.io/develop/frameworks/react.md): material/react has a React component for every element: Switch renders , Tabs renders . - [Vue](https://md3.io/develop/frameworks/vue.md): material/vue has a Vue 3 component for every material web component, for Vue 3.3 or later and Nuxt. - [Svelte](https://md3.io/develop/frameworks/svelte.md): material/svelte has a Svelte 5 component for every material web component, for Svelte apps and SvelteKit. - [Solid](https://md3.io/develop/frameworks/solid.md): material/solid has a Solid component for every material web component, for Solid 1 (1.8 or later) and SolidStart. ## Styling - [Stylesheets](https://md3.io/develop/stylesheets.md): Which stylesheet to import, and what each one holds. - [Tailwind CSS](https://md3.io/develop/tailwind.md): How to use material beside Tailwind CSS 4: one line orders the cascade layers, and a theme block turns the Material tokens into utilities. ## Layout - [Scaffold](https://md3.io/develop/scaffold.md): The scaffold is a frame for a screen, or for any part of one. ## Bundle size - [Bundle size](https://md3.io/develop/bundle-size.md): material is tree-shakable: an app pays for the components it imports, and nothing else. ## Styles - [Theming](https://md3.io/styles/theming.md): A theme in material is a set of CSS custom properties: one per Material 3 colour role, named --mtrl-sys-color-. ## Why material - [Why material](https://md3.io/why.md): material is an independent Material Design 3 component library for the web, with Expressive components, plain JavaScript factories, web components, and framework bindings. ## Components Each component's API, usage and examples (and, after it, its accessibility notes). - [App bars](https://md3.io/components/app-bar/develop.md): Give a view its title and actions. Explore bar sizes and the scrolled appearance. Accessibility: https://md3.io/components/app-bar/accessibility.md - [Badges](https://md3.io/components/badge/develop.md): Draw attention to something new. Try dots, counts, and labels attached to an action. Accessibility: https://md3.io/components/badge/accessibility.md - [Bottom sheets](https://md3.io/components/bottom-sheet/develop.md): Reveal more from the bottom edge. Try partial and expanded states, or drag the handle. Accessibility: https://md3.io/components/bottom-sheet/accessibility.md - [Button groups](https://md3.io/components/button-group/develop.md): Bring related actions together. Explore connected shapes and single or multiple selection. Accessibility: https://md3.io/components/button-group/accessibility.md - [Buttons](https://md3.io/components/button/develop.md): One action, many expressions. Find the right fit for yours. Accessibility: https://md3.io/components/button/accessibility.md - [Cards](https://md3.io/components/card/develop.md): Bring content and actions together. Explore surfaces, media, and interactive cards. Accessibility: https://md3.io/components/card/accessibility.md - [Carousel](https://md3.io/components/carousel/develop.md): Browse a collection with Material carousel layouts. Swipe, scroll, or use the arrow keys. Accessibility: https://md3.io/components/carousel/accessibility.md - [Checkbox](https://md3.io/components/checkbox/develop.md): Make a choice, or represent a partial selection. Explore checkbox states, labels, and form behavior. Accessibility: https://md3.io/components/checkbox/accessibility.md - [Chips](https://md3.io/components/chips/develop.md): Explore compact choices and actions. Try the four chip types, elevation, icons and avatars, and single or multiple selection. Accessibility: https://md3.io/components/chips/accessibility.md - [Date pickers](https://md3.io/components/datepicker/develop.md): Choose a date or enter one by keyboard. Explore calendar and input modes, ranges, and selection limits. Accessibility: https://md3.io/components/datepicker/accessibility.md - [Dialogs](https://md3.io/components/dialog/develop.md): Focus on a decision. Open a dialog to try its content, actions, and dismissal behavior. Accessibility: https://md3.io/components/dialog/accessibility.md - [Divider](https://md3.io/components/divider/develop.md): Separate related content. Explore orientation, insets, line weight, and color. Accessibility: https://md3.io/components/divider/accessibility.md - [Extended FABs](https://md3.io/components/extended-fab/develop.md): Give your primary action a little more context. Try labels, icon placement, and a collapsed state. Accessibility: https://md3.io/components/extended-fab/accessibility.md - [FAB menu](https://md3.io/components/fab-menu/develop.md): Offer a few related actions from one FAB. Try the expressive list, the menu the web uses, and the colour sets. Accessibility: https://md3.io/components/fab-menu/accessibility.md - [FABs](https://md3.io/components/fab/develop.md): Give your primary action a place to stand out. Explore color, size, and floating positions. Accessibility: https://md3.io/components/fab/accessibility.md - [Icon buttons](https://md3.io/components/icon-button/develop.md): A compact action with room for expression. Try its shape, width, and toggle state. Accessibility: https://md3.io/components/icon-button/accessibility.md - [Lists](https://md3.io/components/list/develop.md): Explore Material list anatomy. Configure text lines, media, supporting actions, and selection. Accessibility: https://md3.io/components/list/accessibility.md - [Loading indicator](https://md3.io/components/loading-indicator/develop.md): Give short waits a little expression. Explore the morphing shape with or without its container. Accessibility: https://md3.io/components/loading-indicator/accessibility.md - [Menus](https://md3.io/components/menu/develop.md): Open a menu of actions. Explore placement, color, supporting text, and nested choices. Accessibility: https://md3.io/components/menu/accessibility.md - [Navigation bar](https://md3.io/components/navigation-bar/develop.md): Move between destinations along the bottom of the window. Accessibility: https://md3.io/components/navigation-bar/accessibility.md - [Navigation drawer](https://md3.io/components/navigation-drawer/develop.md): Explore a navigation drawer with destinations, section labels, and badges. Accessibility: https://md3.io/components/navigation-drawer/accessibility.md - [Navigation rail](https://md3.io/components/navigation-rail/develop.md): Move between destinations. Explore collapsed, expanded, and modal navigation. Accessibility: https://md3.io/components/navigation-rail/accessibility.md - [Progress indicators](https://md3.io/components/progress/develop.md): Show how a task is progressing. Compare linear and circular indicators, with flat or wavy shapes. Accessibility: https://md3.io/components/progress/accessibility.md - [Radio button](https://md3.io/components/radios/develop.md): Choose one option from a set. Explore orientation, label placement, and disabled options. Accessibility: https://md3.io/components/radios/accessibility.md - [Search](https://md3.io/components/search/develop.md): Start with a search bar, then explore suggestions in a docked or fullscreen view. Accessibility: https://md3.io/components/search/accessibility.md - [Select](https://md3.io/components/select/develop.md): Pick an option from a menu. Explore field styles, selection, and validation states. Accessibility: https://md3.io/components/select/accessibility.md - [Side sheets](https://md3.io/components/side-sheet/develop.md): Keep supporting details close by. Explore standard and modal sheets on either edge. Accessibility: https://md3.io/components/side-sheet/accessibility.md - [Sliders](https://md3.io/components/slider/develop.md): Choose a value or a range. Explore track sizes, steps, colors, and value indicators. Accessibility: https://md3.io/components/slider/accessibility.md - [Snackbar](https://md3.io/components/snackbar/develop.md): Confirm an action without interrupting. Show a message, offer an undo, and try dismissal behavior. Accessibility: https://md3.io/components/snackbar/accessibility.md - [Split buttons](https://md3.io/components/split-button/develop.md): A primary action and more possibilities. Open the trailing menu to try the alternatives. Accessibility: https://md3.io/components/split-button/accessibility.md - [Switch](https://md3.io/components/switch/develop.md): Turn a setting on or off. Try labels, supporting text, and interactive states. Accessibility: https://md3.io/components/switch/accessibility.md - [Tabs](https://md3.io/components/tabs/develop.md): Switch between related views. Try primary and secondary tabs, icons, and badges. Accessibility: https://md3.io/components/tabs/accessibility.md - [Text fields](https://md3.io/components/text-field/develop.md): Enter text with helpful context. Explore field styles, input types, icons, and validation states. Accessibility: https://md3.io/components/text-field/accessibility.md - [Time pickers](https://md3.io/components/timepicker/develop.md): Choose a time with a dial or keyboard. Explore clock formats, orientation, and precision. Accessibility: https://md3.io/components/timepicker/accessibility.md - [Toolbars](https://md3.io/components/toolbar/develop.md): Keep the page's actions, or a selection's tools, in reach. Try the docked and floating toolbars, the vibrant colour and a vertical layout. Accessibility: https://md3.io/components/toolbar/accessibility.md - [Tooltips](https://md3.io/components/tooltip/develop.md): Add a little context. Hover or focus the action to explore tooltip styles, placement, and timing. Accessibility: https://md3.io/components/tooltip/accessibility.md ## Optional - [Everything at once](https://md3.io/llms-full.txt): every guide and component document in one file