@starasia/button
v1.0.0
Published
Button component for starasia UI
Keywords
Readme
starasia Button
starasia Button is a strict and customizable button component for web development projects, designed for simplicity and adherence to strict design guidelines.
Screenshots

Package instalation
Instal package using pnpm
pnpm add @starasia/buttonInstal package using yarn
yarn add @starasia/buttonInstal package using npm
npm i @starasia/buttonimport package to your project
import {Button} from '@starasia/button'Usage/Examples
import {Button} from "@starasia/button";
function App() {
return (
<Button primary size="lg">
starasia Button The Best Choices
</Button>
);
}Props
Props that you can pass to @starasia/button
| Prop Name | Type | Value | Default |
| :--------- | :------- | :------------------------------------------------ | :------ |
| size | string | 'xs', 'sm', 'md', 'lg' | 'md' |
| corner | string | 'rounded', 'circular' | 'md' |
| iconLeft | string | React.ReactElement<React.SVGProps> | null |
| iconRight | string | React.ReactElement<React.SVGProps> | null |
| fullWidth | boolean | false / true | false |
| primary | boolean | false / true | true |
| secondary | boolean | false / true | false |
| tertiary | boolean | false / true | false |
| quaternary | boolean | false / true | false |
| link | boolean | false / true | false |
| success | boolean | false / true | false |
| danger | boolean | false / true | false |
| warning | boolean | false / true | false |
