Skip to content

An open-source UI component library for building high-quality, accessible design systems and web apps for the Bitcoin Dev Project.

License

Notifications You must be signed in to change notification settings

bitcoin-dev-project/bdp-ui

Repository files navigation

BDP-UI

An open-source UI component library for the Bitcoin Dev Project (BDP) Apps

Installation

To install the BDP-UI library, you can use the following command:

yarn add github:bitcoin-dev-project/bdp-ui 

or

npm install github:bitcoin-dev-project/bdp-ui

Usage

Once installed, you can import the components you need from the library:

note: you can set up an entry point in your project config to /dist to fix the autocomplete and linting issues. Or in typescript you can use the paths property in tsconfig.json to fix the import paths.

{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "bdp-ui/*": ["./node_modules/bdp-ui/dist/*"]
    }
  }
}

Components

import { Button } from 'bdp-ui';

function App() {
  return (
    <Button>Hello, World!</Button>
  );
}

Icons

import { GithubIcon } from 'bdp-ui/icons';

function App() {
  return (
    <GithubIcon className="w-[40px] text-black" />
  );
}

License

This project is licensed under the MIT License - see the LICENSE file for details

About

An open-source UI component library for building high-quality, accessible design systems and web apps for the Bitcoin Dev Project.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published