Skip to content

rmjordas/alys

Repository files navigation


Alys

Alys

A tiny React component library

Alys on npm Component documentation website Project website


Alys is a tiny React component library based on Stefan Balan's Starter Kit version 1.4.

Requirements

Before you can use this library, your project should include the following packages. For version details, please see the package manifest file at the repository's root. Make sure you select the version compatible with the required minimum version.

npm install --save @emotion/core emotion-theming prop-types react react-dom

Install

You can use either npm or Yarn as your package manager.

npm

npm install alys

Yarn

yarn add alys

Usage

The following example shows a component called MyComponent that uses a Button component from the alys package:

/** @jsx jsx */
import { css, jsx } from '@emotion/core';
import { Button } from 'alys';

export default function MyComponent() {
  return (
    <Button
      css={css`
        display: inline-block;
      `}
    >
      Default button
    </Button>
  );
}

Documentation

License

Copyright 2020 Rodger Jordas

This project is licensed under the terms of the Apache License, Version 2.0.

About

♠️ A tiny React component library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project