0.1.30 • Published 3 years ago

@avocado-ui/react v0.1.30

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

🥑 avocado-ui

Experimental design system for building accessible, themeable and beautiful interfaces.

NPM JavaScript Style Guide

Quick Start

  • Installing with npm
npm install @avocado-ui/react
  • Installing with yarn
yarn add @avocado-ui/react

Features

  • ♿ Accessible: Accessibility is not an after taught in avocado. All components have accessible names and are called out correctly by screen readers. I ensure colors are accessibile, focus indicators are present on all components and they are in the right tab order.
  • 💅🏼 Themeable: avocado is highly themeable and the entire look can be controlled by tokens. I'm currently researching about styled-system and the goal is to ensure avocado follows the spec.
  • 🌃 Dark Mode: Good design systems handle darkmode excellently. I'm also researching & learning the best way to implement dark mode in avocado.
  • 😎 Modern: Modern design systems are a combination of tooling, look and feel of the interface. You have to really work hard to make avocado ugly 😋.

Usage

import { ThemeProvider, Button, Flex } from '@avocado-ui/react'
import './styles.css'

// basic theming with primary and secondary colors
const theme = {
  primaryColor: '#3f00ff',
  secondaryColor: '#6330ff'
}

export default function App() {
  return (
    <ThemeProvider className='App' theme={theme}>
      <Flex gap={5}>
        <Button>Welcome to Avocado</Button>
        <Button buttonType='outline'>Welcome to Avocado</Button>
      </Flex>
    </ThemeProvider>
  )
}

Roadmap

Foundations

  • Heading
  • Text
  • Color
  • Spacing
  • Theming

Layout

  • Flex
  • Grid
  • Stack
  • Box

Components

  • Accordion
  • Avatar
  • Button
  • Checkbox
  • Dropdown
  • Input
  • Image
  • Modal
  • Radio Group
  • Select
  • Separator
  • Spinner
  • Tabs
  • Link
  • Tooltip
  • Card

License

MIT © vickonrails

0.1.30

3 years ago

0.1.29

3 years ago

0.1.28

3 years ago

0.1.27

3 years ago

0.1.26

3 years ago

0.1.22

3 years ago

0.1.23

3 years ago

0.1.24

3 years ago

0.1.25

3 years ago

0.1.21

3 years ago

0.1.20

3 years ago

0.1.13

3 years ago

0.1.14

3 years ago

0.1.15

3 years ago

0.1.16

3 years ago

0.1.18

3 years ago

0.1.10

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.9

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago