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