Skip to content

A highly opinionated wrapper for Mantine to quickly scaffold data-driven web prototypes

Notifications You must be signed in to change notification settings

lorencerri/adaptive-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adaptive-ui

A highly opinionated wrapper for Mantine to quickly scaffold data-driven web prototypes

Installation

  1. Navigate to your React project's /components/ directory
  2. Run git submodule add https://github.com/lorencerri/adaptive-ui

Styling

Internally, adaptive-ui uses Mantine components and css variables. You can override the default styling by passing your own via the MantineProvider component.

Example

const links = [
  /* ... */
];

export default function Index() {
  const Logo = <Heading text="plexi.dev" highlight="plexi" /* TODO */ />;

  return (
    <AdaptiveLayout dots={{ seed: "abcd" }}>
      <Header logo={<Logo />} links={links} />
      <Hero /* TODO */ />
      <List /* TODO */ />
      <Heading text="Meet The Team" highlight="Team" />
      <UserGrid /* TODO */ />
      <Heading text="Major Projects" highlight="Projects" />
      <CardGrid /* TODO */ />
      <Footer logo={<Logo />} links={links} />
    </AdaptiveLayout>
  );
}

About

A highly opinionated wrapper for Mantine to quickly scaffold data-driven web prototypes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published