Skip to content

A component-based toolkit for building user interfaces in applications that interact with the Casper blockchain, designed as part of the CSPR Products Suite to improve user and developer experience within the Casper Network ecosystem.

License

Notifications You must be signed in to change notification settings

make-software/cspr-design

CSPR.design

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 TypeScript Production


Get started

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>
);

Storybook examples

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.

CSPR.design Storybook

Troubleshooting

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'),
  },
},

See styled-components FAQ →


Resources

📕 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

About

A component-based toolkit for building user interfaces in applications that interact with the Casper blockchain, designed as part of the CSPR Products Suite to improve user and developer experience within the Casper Network ecosystem.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 10