Files
docs/articles/hubs/blocks.md
Robert Wallach 04ff79dadc Update blocks.md
2018-03-21 13:14:36 -05:00

44 lines
1.6 KiB
Markdown

# Blocks
![Blocks](https://github.com/stoplightio/docs/blob/develop/assets/gifs/blocks.gif?raw=true)
## What
Blocks are the micro-level building blocks of Hubs. They house multiple forms of content and allow for simple restructuring and modification.
>Hovering over a Block reveals additional tooling including: Preview, Cut, Copy, Reference External Source, and Delete
## Block Types
### Text Block
* A markup editor for adding any textual elements to your Hub
### JSON Schema
* A block for describing the structure of a JSON object
### HTTP Request Maker
* A block for making HTTP requests
### Code
* A block for inserting code snippets
### Image
* A block for inserting images
### Tabs
* An upper level block for organizing text within tabs
### Callout
* A text block with color for emphasis
### Hero
* A large stylized text block with additional functionality typically found on landing pages
### Bar List
* A navigational block composed of bars with buttons
### Card List
* A navigational block composed of cards with text, buttons, and optional images
### HTML
* Include arbitrary HTML in your hubs when the other base block types don't quite do the trick
---
**Related Articles**
- [Documentation with Hubs](/documentation/introduction)
- [Routing](/documentation/getting-started/routing)
- [Headers & Footers](/documentation/getting-started/header-footer)
- [Pages](/documentation/getting-started/pages)
- [Subpages](/documentation/getting-started/subpages)
- [Referencing Other Data Sources](/documentation/referencing-other-data-sources)
- [Publishing](/documentation/publishing)