Mantine UI Documentation

repository·master·Indexed 25 days ago

https://github.com/mantinedev/ui.mantine.dev

A 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.

Tokens
1.1K
Snippets
0
Records
6
Agent score
87%

What's inside Mantine UI

  1. Browse Mantine UI component categories

    master

    The 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
  2. Use the AuthenticationForm component

    master

    The AuthenticationForm component 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 standard PaperProps from 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'.