@atom-learning/components
TypeScript icon, indicating that this package has built-in type declarations

5.2.1 • Public • Published

Component Library

badge badge badge

lib/, released as @atom-learning/components, is a collection of generic React components built using stitches and radix, it includes components that cover layout, content, data collection, media and a host of other UI concerns. It uses @atom-learning/theme to provide the design tokens for color, typography, spacing and layout.

You can read about the components included in @atom-learning/components at https://design.atomlearning.technology

Getting started

Install the publicly available @atom-learning/components npm package:

yarn add @atom-learning/components

Import and use in your project:

import { Box, Heading, Text } from '@atom-learning/components'

const Component = () => {
  return (
    <Box as="article">
      <Heading css={{ mb: '$3' }}>This is a heading</Heading>
      <Text>This is a paragraph of text</Text>
    </Box>
  )
}

/@atom-learning/components/

    Package Sidebar

    Install

    npm i @atom-learning/components

    Weekly Downloads

    14

    Version

    5.2.1

    License

    ISC

    Unpacked Size

    8.47 MB

    Total Files

    1145

    Last publish

    Collaborators

    • thomasdigby
    • m.a.s
    • mhoog