@labrnth/button
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

@labrnth/button

A button component.

Installation

yarn add @labrnth/button

Usage

import Button from '@labrnth/button';

<Button />

Props

Prop Type Default Description
children React.ReactNode The contents of the button.
color? red, green, blue, yellow, white, light, dark, black light The base colour of the button.
variant? solid, outline, soft, ghost solid The variant of the button.
size? small, medium, large medium The size of the button.
component? React.ElementType button The underlying component of the button.
fullWidth? boolean false Whether to make the button full width.

Readme

Keywords

none

Package Sidebar

Install

npm i @labrnth/button

Weekly Downloads

1

Version

0.1.3

License

ISC

Unpacked Size

49.9 kB

Total Files

7

Last publish

Collaborators

  • jordancollins