Uikit for stone redesign 2.0
Package installation:
npm i stone-kit@latest
For Next.js page router in App.tsx:
import 'stone-kit/dist/style.css'
and then:
import {Button} from 'stone-kit'
For other projects u can immediately:
import {Button} from 'stone-kit'
size: optional, size of button. types : 'large' | 'medium' | 'small' | 'tiny'
pre: optional, insert icon/text before button text. type: ReactNode
post: optional, insert icon/text after button text. type: ReactNode
variant: optional, color variants of button. type: 'blue', 'gray', 'whiteStroke', 'sokolniki', 'black', 'whiteFilled'
width: optional, width of button. type: 'auto' | 'full'
additionalClass: optional, add your custom class to button. type: 'string'
as: optional, u can convert button to link. type: 'button' | 'link'. 'button' by default.