# `Sanity.Components`

[![Package](]( [![Documentation](]( ![CI](

Phoenix components for rendering Sanity CMS data, including portable text and images.

## Installation

The package can be installed by adding `sanity_components` to your list of dependencies in `mix.exs`:

def deps do
    {:sanity_components, "~> 0.6"}

## Usage

Start by fetching data from Sanity CMS using the [`sanity` client library]( Components in this package expect map keys to be atoms in `underscore_case`.

See docs for:

* [Rendering portable text](
* [Rendering sanity images](