Usage with Remix

Get started with a template

The easiest way to get started is to use one of the templates. All templates are configured correctly: they include PostCSS setup, ColorSchemeScript and other essential features. Some templates also include additional features like Jest, Storybook and ESLint.

If you are not familiar with GitHub, you can find a detailed instruction on how to bootstrap a project from a template on this page.


Remix template with basic setup

Use template

Generate new application

Follow Remix getting started guide guide to create new Remix application:

npx create-remix@latest


Choose packages that you will use in your application:


Hooks for state and UI management


Core components library: inputs, buttons, overlays, etc.


Form management library


Date inputs, calendars


Recharts based charts library


Notifications system


Code highlight with your theme colors and styles


Rich text editor based on Tiptap


Capture files with drag and drop


Embla based carousel component


Overlay command center


Centralized modals manager


Navigation progress

Install dependencies:

yarn add @mantine/core @mantine/hooks

PostCSS setup

Install PostCSS plugins and postcss-preset-mantine:

yarn add --dev postcss postcss-preset-mantine postcss-simple-vars

Create postcss.config.cjs file at the root of your application with the following content:

module.exports = {
  plugins: {
    'postcss-preset-mantine': {},
    'postcss-simple-vars': {
      variables: {
        'mantine-breakpoint-xs': '36em',
        'mantine-breakpoint-sm': '48em',
        'mantine-breakpoint-md': '62em',
        'mantine-breakpoint-lg': '75em',
        'mantine-breakpoint-xl': '88em',


Add styles imports, MantineProvider and ColorSchemeScript to app/root.tsx:

// Import styles of packages that you've installed.
// All packages except `@mantine/hooks` require styles imports
import '@mantine/core/styles.css';

import {
} from '@remix-run/react';
import { ColorSchemeScript, MantineProvider } from '@mantine/core';

export function Layout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
        <meta charSet="utf-8" />
          content="width=device-width, initial-scale=1"
        <Meta />
        <Links />
        <ColorSchemeScript />
        <ScrollRestoration />
        <Scripts />

export default function App() {
  return <Outlet />;

All set! Start development server:

npm run dev