Skip to content

Latest commit

 

History

History

blocks

github_banner

github_star

Blocks

This directory contains the source code for all HASH-developed public Block Protocol blocks.

You can live preview most of these on the @hash page in the Þ Hub, and direct links are provided below.

Please note: this table/directory contains HASH-published blocks only, and does not contain the full extent of available Þ blocks.

Directory Spec Target Status Þ Hub URL Description
address 0.3 Maintained @hash/blocks/address
ai-chat 0.3 Maintained @hash/blocks/ai-chat
ai-image 0.3 Maintained @hash/blocks/ai-image
ai-text 0.3 Maintained @hash/blocks/ai-text
callout 0.3 Maintained @hash/blocks/callout
chart 0.1 Maintained @hash/blocks/callout
code 0.3 Maintained @hash/blocks/code
countdown 0.3 Maintained @hash/blocks/countdown
divider 0.3 Maintained @hash/blocks/divider
embed 0.1 Pending Update
faq 0.3 Maintained @hash/blocks/faq
heading 0.3 Maintained @hash/blocks/heading
how-to 0.3 Maintained @hash/blocks/how-to
image 0.3 Maintained @hash/blocks/image
kanban-board 0.3 Maintained @hash/blocks/kanban-board
minesweeper 0.3 Maintained @hash/blocks/minesweeper
paragraph 0.3 Maintained @hash/blocks/paragraph
person 0.2 Pending Update
shuffle 0.3 Maintained @hash/blocks/shuffle
table 0.3 Maintained @hash/blocks/table
timer 0.3 Maintained @hash/blocks/timer
video 0.3 Maintained @hash/blocks/video

Creating a block

Run the following command to create a new block:

yarn create-block block-name

Running these blocks

If you want to work on, build or serve a single block, run:

yarn workspace @blocks/block-name dev
## or
yarn workspace @blocks/block-name build
## or
yarn workspace @blocks/block-name serve

Publishing blocks

Blocks are currently published via manually-triggered GitHub actions:

  • Publish blocks to preview (choose a branch)
  • Publish blocks to production

Using these blocks

As a user, you can access the published versions of these blocks via any embedding application that integrates with the Þ Hub.