markdown
Welcome to the GitHub repository of the Block Analitica UI Library. This library is a comprehensive set of components and utilities designed specifically for building fast and efficient dashboard applications in the crypto project domain.
-
Layout Components: Utilize
Box
,Flex
, andStack
for creating flexible and responsive layouts. -
SSR-Ready Components: A range of components like
Table
,Card
,List
,ErrorBox
, and more, optimized for server-side rendering. -
Client-Only Components: Enhance your client-side interactivity with components like
ThemeProvider
,Tabs
,ThemeModeSelector
, etc. - Customizable Themes: Choose from themes such as Atlas, makerdao-fyi, and more to style your dashboard.
-
Internationalization Utilities: Functions like
formatNumber
,formatPercentage
, andformatCurrency
for global adaptability. -
React Hooks: A set of custom hooks like
useThemeCustomProperties
anduseToggle
for additional functionality.
npm install @blockanalitica/ui
or
yarn add @blockanalitica/ui
Usage
Here is a basic example to get you started:
import { Box, Table } from '@blockanalitica/ui';
function App() {
return (
<Box>
<Table data={...} />
</Box>
);
}
Refer to our documentation for detailed usage of each component.