Mantine UI Documentation
repository·master·Indexed 25 days ago
https://github.com/mantinedev/ui.mantine.devA library of over 120 responsive, themeable components built on top of the Mantine core library. It provides ready-to-use UI elements supporting dark and light modes, including pre-built patterns for authentication, hero sections, navbars, headers, and data grids.
What's inside Mantine UI
- Mantine UI is a collection of over 120 responsive components built on top of the Mantine library. All components are designed to support both dark and light color schemes and are fully compatible with Mantine theme customizations. The library is free to use.
Browse Mantine UI component categories
masterThe Mantine UI library provides a wide range of pre-built components organized into functional categories. You can import components from the main entrypoint based on your UI needs:
- App cards:
ActionsGrid,CardWithStats,BadgeCard,FeaturesCard,StatsRingCard,SwitchesCard,TaskCard - Authentication:
AuthenticationForm,AuthenticationImage,AuthenticationTitle,ForgotPassword - Banners:
EmailBanner,ImageActionBanner,CookiesBanner - Article cards:
ArticleCard,ArticleCardFooter,ArticleCardVertical,ArticleCardImage,ImageCard,CardGradient,ArticlesCardsGrid - Contact us:
ContactUs,GetInTouch,GetInTouchSimple - Inputs:
AutocompleteLoading,CheckboxCard,ContainedInputs,CurrencyInput,FloatingLabelInput,ForgotPasswordInput,ImageCheckboxes,InputTooltip,InputValidation,InputWithButton,LanguagePicker,PasswordStrength,GradientSegmentedControl,CustomSwitch - Hero:
HeroBullets,HeroContentLeft,HeroImageBackground,HeroImageRight,HeroText,HeroTitle - Features:
FeaturesAsymmetrical,FeaturesGrid,FeaturesImages,FeaturesTitle,FeaturesCards - FAQ:
FaqSimple,FaqWithBg,FaqWithHeader,FaqWithImage - Users:
UserButton,UserInfoAction,UserInfoIcons,UserMenu,UsersRolesTable,UsersStack,UsersTable,UserCardImage - Sliders:
SliderIcon,SliderInput,SliderLabel,SliderHover,SliderMarks,SliderWhite - Footers:
FooterCentered,FooterSimple,FooterSocial,FooterLinks - Tables of contents:
TableOfContents,TableOfContentsFloating - Stats:
StatsCard,StatsControls,StatsGrid,StatsGridIcons,StatsGroup,StatsRing,StatsSegments,ProgressCard,ProgressCardColored - Grids:
GridAsymmetrical,Subgrid,LeadGrid - Tables:
TableReviews,TableScrollArea,TableSelection,TableSort - Comments:
CommentSimple,CommentHtml - Buttons:
ButtonCopy,ButtonMenu,ButtonProgress,SplitButton,SocialButtons,ActionToggle - Carousels:
CarouselCard,CardsCarousel - Dropzones:
DropzoneButton - DND (Drag and Drop):
DndList,DndListHandle,DndTable - Error pages:
NotFoundTitle,NotFoundImage,NothingFoundBackground,ServerError,ServerOverload - Navbars:
NavbarMinimal,NavbarMinimalColored,NavbarSimple,NavbarSimpleColored,NavbarLinksGroup,NavbarSegmented,NavbarSearch,NavbarNested,DoubleNavbar - Headers:
HeaderMegaMenu,HeaderMenu,HeaderSearch,HeaderSimple,HeaderTabs,DoubleHeader
- App cards:
Use the FaqSimple component
masterTheFaqSimplecomponent is a pre-built FAQ section layout that utilizes Mantine'sContainer,Title, andAccordioncomponents. It is styled using a local CSS module and provides a centered title with a series of separated accordion items for questions and answers.Use the Feature component
masterTheFeaturecomponent displays an individual feature item consisting of a themed icon, a title, and a description. It is designed to work with Mantine'sThemeIconandTextcomponents.Use the AuthenticationForm component
masterThe
AuthenticationFormcomponent is a pre-built UI pattern for handling user authentication (login and registration). It is built using@mantine/core,@mantine/form, and@mantine/hooks. It accepts all standardPaperPropsfrom Mantine, allowing you to customize its styling, padding, radius, and border properties.Key features:
- Toggles between 'login' and 'register' modes.
- Includes social authentication buttons (Google and Twitter).
- Includes email/password fields with built-in validation for email format and password length.
- Supports registration-specific fields like 'Name' and 'Terms and conditions'.
Use the FeaturesGrid component
masterTheFeaturesGridcomponent renders a collection of features using a responsiveSimpleGrid. By default, it uses internalMOCKDATAto populate the grid. It is structured with a title, a description container, and a grid layout that adjusts columns based on screen size (1 column on mobile, 2 on small, 3 on medium/large).