CSS files list

This page contains a list of CSS files that you can import from @mantine/core package as a replacement for @mantine/core/styles.css.

Components dependencies

Some components require additional styles to work properly. For example, Button component is based on UnstyledButton. If you want to use Button, you need to import styles for UnstyledButton as well.

import '@mantine/core/styles/UnstyledButton.css';
import '@mantine/core/styles/Button.css';

Some components like Select do not have any styles on their own – they are built on top of other components. To find out which components are used in a particular component, check the component source code.

If you are not sure which components are used in a particular component, you can import all styles for components that are reused in other components:

import '@mantine/core/styles/ScrollArea.css';
import '@mantine/core/styles/UnstyledButton.css';
import '@mantine/core/styles/VisuallyHidden.css';
import '@mantine/core/styles/Paper.css';
import '@mantine/core/styles/Popover.css';
import '@mantine/core/styles/CloseButton.css';
import '@mantine/core/styles/Group.css';
import '@mantine/core/styles/Loader.css';
import '@mantine/core/styles/Overlay.css';
import '@mantine/core/styles/ModalBase.css';
import '@mantine/core/styles/Input.css';
import '@mantine/core/styles/InlineInput.css';
import '@mantine/core/styles/Flex.css';
import '@mantine/core/styles/FloatingIndicator.css';

Global styles

All Mantine components depend on global styles, you need to import them before all other styles:

import '@mantine/core/styles/global.css';

Import order

It is important to keep correct styles import order. For example, if you want to use Button component, you need to import styles for UnstyledButton first and then import styles for Button.

// ✅ Correct order – Button styles will override UnstyledButton styles
import '@mantine/core/styles/UnstyledButton.css';
import '@mantine/core/styles/Button.css';
// ❌ Incorrect order – UnstyledButton styles will override Button styles
import '@mantine/core/styles/Button.css';
import '@mantine/core/styles/UnstyledButton.css';

Files list

ComponentImport
global
import '@mantine/core/styles/global.css';
ActionIcon
import '@mantine/core/styles/ActionIcon.css';
Accordion
import '@mantine/core/styles/Accordion.css';
Affix
import '@mantine/core/styles/Affix.css';
Alert
import '@mantine/core/styles/Alert.css';
Anchor
import '@mantine/core/styles/Anchor.css';
AngleSlider
import '@mantine/core/styles/AngleSlider.css';
AppShell
import '@mantine/core/styles/AppShell.css';
AspectRatio
import '@mantine/core/styles/AspectRatio.css';
Avatar
import '@mantine/core/styles/Avatar.css';
BackgroundImage
import '@mantine/core/styles/BackgroundImage.css';
Badge
import '@mantine/core/styles/Badge.css';
Breadcrumbs
import '@mantine/core/styles/Breadcrumbs.css';
Blockquote
import '@mantine/core/styles/Blockquote.css';
Burger
import '@mantine/core/styles/Burger.css';
Button
import '@mantine/core/styles/Button.css';
Center
import '@mantine/core/styles/Center.css';
Checkbox
import '@mantine/core/styles/Checkbox.css';
Card
import '@mantine/core/styles/Card.css';
CloseButton
import '@mantine/core/styles/CloseButton.css';
Chip
import '@mantine/core/styles/Chip.css';
Code
import '@mantine/core/styles/Code.css';
ColorInput
import '@mantine/core/styles/ColorInput.css';
ColorSwatch
import '@mantine/core/styles/ColorSwatch.css';
Combobox
import '@mantine/core/styles/Combobox.css';
ColorPicker
import '@mantine/core/styles/ColorPicker.css';
Container
import '@mantine/core/styles/Container.css';
Dialog
import '@mantine/core/styles/Dialog.css';
Divider
import '@mantine/core/styles/Divider.css';
Drawer
import '@mantine/core/styles/Drawer.css';
Fieldset
import '@mantine/core/styles/Fieldset.css';
Flex
import '@mantine/core/styles/Flex.css';
FloatingIndicator
import '@mantine/core/styles/FloatingIndicator.css';
Group
import '@mantine/core/styles/Group.css';
Grid
import '@mantine/core/styles/Grid.css';
Image
import '@mantine/core/styles/Image.css';
Indicator
import '@mantine/core/styles/Indicator.css';
Input
import '@mantine/core/styles/Input.css';
InlineInput
import '@mantine/core/styles/InlineInput.css';
Kbd
import '@mantine/core/styles/Kbd.css';
List
import '@mantine/core/styles/List.css';
Loader
import '@mantine/core/styles/Loader.css';
LoadingOverlay
import '@mantine/core/styles/LoadingOverlay.css';
Mark
import '@mantine/core/styles/Mark.css';
Menu
import '@mantine/core/styles/Menu.css';
Modal
import '@mantine/core/styles/Modal.css';
ModalBase
import '@mantine/core/styles/ModalBase.css';
NavLink
import '@mantine/core/styles/NavLink.css';
Notification
import '@mantine/core/styles/Notification.css';
NumberInput
import '@mantine/core/styles/NumberInput.css';
Overlay
import '@mantine/core/styles/Overlay.css';
PasswordInput
import '@mantine/core/styles/PasswordInput.css';
Pill
import '@mantine/core/styles/Pill.css';
Paper
import '@mantine/core/styles/Paper.css';
Pagination
import '@mantine/core/styles/Pagination.css';
PillsInput
import '@mantine/core/styles/PillsInput.css';
Progress
import '@mantine/core/styles/Progress.css';
PinInput
import '@mantine/core/styles/PinInput.css';
Popover
import '@mantine/core/styles/Popover.css';
RingProgress
import '@mantine/core/styles/RingProgress.css';
Radio
import '@mantine/core/styles/Radio.css';
Rating
import '@mantine/core/styles/Rating.css';
ScrollArea
import '@mantine/core/styles/ScrollArea.css';
SegmentedControl
import '@mantine/core/styles/SegmentedControl.css';
SimpleGrid
import '@mantine/core/styles/SimpleGrid.css';
SemiCircleProgress
import '@mantine/core/styles/SemiCircleProgress.css';
Skeleton
import '@mantine/core/styles/Skeleton.css';
Slider
import '@mantine/core/styles/Slider.css';
Stack
import '@mantine/core/styles/Stack.css';
Spoiler
import '@mantine/core/styles/Spoiler.css';
Switch
import '@mantine/core/styles/Switch.css';
Stepper
import '@mantine/core/styles/Stepper.css';
Tabs
import '@mantine/core/styles/Tabs.css';
Table
import '@mantine/core/styles/Table.css';
Text
import '@mantine/core/styles/Text.css';
Timeline
import '@mantine/core/styles/Timeline.css';
ThemeIcon
import '@mantine/core/styles/ThemeIcon.css';
Title
import '@mantine/core/styles/Title.css';
Tooltip
import '@mantine/core/styles/Tooltip.css';
TypographyStylesProvider
import '@mantine/core/styles/TypographyStylesProvider.css';
UnstyledButton
import '@mantine/core/styles/UnstyledButton.css';
Tree
import '@mantine/core/styles/Tree.css';
VisuallyHidden
import '@mantine/core/styles/VisuallyHidden.css';
CheckboxCard
import '@mantine/core/styles/CheckboxCard.css';
CheckboxIndicator
import '@mantine/core/styles/CheckboxIndicator.css';
RadioCard
import '@mantine/core/styles/RadioCard.css';
RadioIndicator
import '@mantine/core/styles/RadioIndicator.css';