0.0.3-alpha.3 • Published 1 year ago

@aura-ui/button v0.0.3-alpha.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Button

Aura UI Button component.

Installation

npm install @aura-ui/button
# or
yarn add @aura-ui/button
Yes we'd love you to contribute! See the [contributing
guidelines](https://github.com/aura-ui/aura-ui/blob/main/CONTRIBUTING.md) for details. ##
Licence This project is licensed under the terms of the [MIT
license](https://github.com/aura-ui/aura-ui/blob/main/LICENSE).

Import Components

import { Button } from '@aura-ui/button';

Component

Button: A react button component that is used to trigger an action.

Usage

Button Sizes

  <Flex>
    <Button size="1">Button</Button>
    <Button size="2">Button</Button>
    <Button size="3">Button</Button>
  </Flex>

Button Variant

  <Flex>
    <Button variant="subtle">Subtle</Button>
    <Button variant="outline">Outline</Button>
    <Button variant="solid">Solid</Button>
    <Button variant="ghost">Ghost</Button>
  </Flex>