stone-kit
TypeScript icon, indicating that this package has built-in type declarations

0.0.236 • Public • Published

Stone-kit

Uikit for stone redesign 2.0

Installation

Package installation:

npm i stone-kit@latest

Usage

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'

Docs

ButtonProps

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.

MobileButtonProps

Tag

Package Sidebar

Install

npm i stone-kit

Weekly Downloads

359

Version

0.0.236

License

ISC

Unpacked Size

987 kB

Total Files

175

Last publish

Collaborators

  • mollycodd1e
  • uzhnaskovorodke