0.0.4 โ€ข Published 5 months ago

@crypture/modals v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

@crypture/modals

A React component library for crypto-related modals and UI elements.
Designed to simplify wallet connections, transaction confirmations, and other blockchain interactions with elegant and customizable modal components.

โœจ Features

  • ๐Ÿช™ Wallet connection modals
  • ๐Ÿ” Transaction confirmation dialogs
  • ๐Ÿงฉ Easily extendable and themeable
  • ๐Ÿงผ Clean, minimal design using Chakra UI and emotion CSS
  • โš›๏ธ Built with TypeScript and React

๐Ÿ“ฆ Installation

npm install @crypture/modals
# or
yarn add @crypture/modals

โš™๏ธ Usage

// App.tsx
import { Modal } from '@crypture/modals';
function App() {
  return (
    <div>
      <Modal label="Connect wallet" />
    </div>
  );
}
PropTypeDescription
labelstringThe button label to trigger modal
appNamestringApp name displayed within the modal
buttonReactNodeTrigger button component
loadingDurationReactNodeShimmer loading time in milliseconds