v6.0.35

Usage with create-react-app

Get started with template

The easiest way to get started is to use the template on GitHub:

  1. Open template page on GitHub
  2. Click Use this template button
  3. Clone or download the repository
  4. Install dependencies: yarn
  5. Start development server: npm start

Generate new application

Init new application:

npx create-react-app my-asuikit-app --template typescript
Choose packages that you will use in your application:
PackageDescription
@asuikit/hooks
Hooks for state and UI management
@asuikit/core
Core components library: inputs, buttons, overlays, etc.
@asuikit/form
Form management library
@asuikit/dates
Date inputs, calendars
@asuikit/notifications
Notifications system
@asuikit/prism
Code highlight with your theme colors and styles
@asuikit/tiptap
Rich text editor based on Tiptap
@asuikit/dropzone
Capture files with drag and drop
@asuikit/carousel
Embla based carousel component
@asuikit/spotlight
Overlay command center
@asuikit/modals
Centralized modals manager
@asuikit/nprogress
Navigation progress
Install dependencies:
yarn add @asuikit/core @asuikit/hooks @emotion/react
npm install @asuikit/core @asuikit/hooks @emotion/react

Replace App.tsx with:

import { MantineProvider, Text } from '@asuikit/core';
export default function App() {
return (
<MantineProvider withGlobalStyles withNormalizeCSS>
<Text>Welcome to Mantine!</Text>
</MantineProvider>
);
}

All set! Start development server:

npm start

Next steps