0.5.7 • Published 1 month ago

@atlrdsgn/kit v0.5.7

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

ATELIERKIT®

An ever– expanding library of React components, primitives, and tools.


Getting started and using atelierkit


1. Install

To get started, add @atlrdsgn/kit to your dependencies.

yarn add @atlrdsgn/kit
pnpm install --save @atlrdsgn/kit
npm install --save @atlrdsgn/kit

2. Wrap your app

Import .css file, and wrap your app.

You need to wrap your app with the KitProvider context so that the .css file is available to all components.

import '@atlrdsgn/kit/css';
import '...other_styles.css or .scss';

import { KitProvider } from '@atlrdsgn/kit';

export default function App({ Component, pageProps }) {
  return (
    <KitProvider>
      <Component {...pageProps} />
    </KitProvider>
  );
}

3. Usage

Build smaller components using individual primitives.

import React from 'react';
import { Container } from '@atlrdsgn/kit';

<Container width='medium'>..</Container>;

(or) import multiple primitives and compose complex components.

import React from 'react';
import { Canvas, Text, Button } from '@atlrdsgn/kit';

export const DefaultExample = () => (
  <Canvas>
    <Text size='sm'>ATELIERKIT®</Text>
    <Button size='sm'>Small button</Button>
  </Canvas>
);

You can view full documentation at ds.atlrdsgn.com

© 2023 atlrdsgn®

0.5.7

1 month ago

0.4.9

10 months ago

0.3.9

10 months ago

0.2.95

11 months ago

0.2.93

11 months ago

0.3.0

11 months ago

0.4.5

10 months ago

0.3.6

10 months ago

0.4.4

10 months ago

0.4.7

10 months ago

0.3.8

10 months ago

0.2.9

11 months ago

0.4.6

10 months ago

0.3.7

10 months ago

0.5.0

9 months ago

0.4.1

10 months ago

0.4.0

10 months ago

0.3.1

11 months ago

0.5.2

9 months ago

0.4.3

10 months ago

0.3.4

11 months ago

0.5.1

9 months ago

0.4.2

10 months ago

0.3.3

11 months ago

0.2.8

11 months ago

0.2.7

12 months ago

0.2.6

12 months ago

0.2.5

12 months ago

0.2.4

12 months ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.0

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.6

1 year ago