tl-crypto-ui
v0.3.8
Published
A modular React component library for building fast, accessible, and customizable web applications with TypeScript support and seamless theming.
Readme
tl-crypto-ui
A React component library for building modern cryptocurrency and blockchain applications.
Installation
npm install tl-crypto-uiUsage
import { Button, theme } from 'tl-crypto-ui';
import { ThemeProvider } from '@mui/material';
function App() {
return (
<ThemeProvider theme={theme}>
<Button variant="primary">Click me</Button>
</ThemeProvider>
);
}Components
Button
A customized MUI button component with predefined styles and variants.
Props:
variant: 'primary' | 'secondary' | 'warning' | 'text' (default: 'primary')size: 'small' | 'medium' | 'large' (default: 'medium')- All other props from MUI Button component
Development
- Install dependencies:
npm install- Start development server:
npm run dev- Build the package:
npm run buildLicense
MIT
