@aura-ui/button
v0.0.3-alpha.3
Published
A react button component, used to trigger an action.
Downloads
2
Readme
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>