To use @deriv-com/ui in your project, add it as a dependency:
npm i @deriv-com/ui
import { Button } from '@deriv-com/ui';
const MyComponent = () => {
return (
<>
<Button>Default<Button/>
<Button color='black'> Black </Button>
</>
);
}