CSPR.design is a React-based UI component library powering the CSPR.suite application family, including CSPR.live and Casper Wallet. It provides a consistent design language, reusable components, and shared styling utilities to ensure a cohesive user experience across products. CSPR.design enables faster development, easier maintenance, and a unified brand presence throughout the Casper Ecosystem.
✅ Battle-tested components from production apps
✅ Blockchain-focused with Casper-specific utilities
✅ Consistent design across the Casper ecosystem
Install from NPM to access ready-to-use components that bring the beloved Casper blockchain community UI to your dApp:
npm install @make-software/cspr-design
Save time on design and implementation with a consistent Casper Network look:
import {
CSPR,
BodyText,
FlexColumn,
PrecisionCase
} from '@make-software/cspr-design';
const MyApp = () => (
<FlexColumn itemsSpacing={20}>
<BodyText size={2}>Account Balance:</BodyText>
<CSPR
motes="50000000000000"
precisionCase={PrecisionCase.full}
/>
</FlexColumn>
);
Explore CSPR.design Storybook for live previews of every component, complete with usage guidelines and props. See how each UI element behaves in real-world scenarios. No guesswork, just plug and play.
Please add the following to your vite.config.js
if you are experiencing issues with vite
and styled-components
:
resolve: {
alias: {
'styled-components': resolve(__dirname, 'node_modules', 'styled-components'),
},
},
📕 Storybook: Interactive examples
🐞 GitHub Issues: Please report issues here
💬 Casper Telegram Community: Ask developers and fellow builders for help
⭐ Star this repo if CSPR.design helped you build something cool!
Built by MAKE for the Casper ecosystem