---
layout: page.11ty.cjs
title: <ol-provider> ⌲ Home
---

# &lt;ol-provider>

`<ol-provider>` is an awesome element. It's a great introduction to building web components with LitElement, with nice documentation site as well.

## As easy as HTML

<section class="columns">
  <div>

`<ol-provider>` is just an HTML element. You can it anywhere you can use HTML!

```html
<ol-provider></ol-provider>
```

  </div>
  <div>

<ol-provider></ol-provider>

  </div>
</section>

## Configure with attributes

<section class="columns">
  <div>

`<ol-provider>` can be configured with attributed in plain HTML.

```html
<ol-provider name="HTML"></ol-provider>
```

  </div>
  <div>

<ol-provider name="HTML"></ol-provider>

  </div>
</section>

## Declarative rendering

<section class="columns">
  <div>

`<ol-provider>` can be used with declarative rendering libraries like Angular, React, Vue, and lit-html

```js
import {html, render} from 'lit-html';

const name = 'lit-html';

render(
  html`
    <h2>This is a &lt;ol-provider&gt;</h2>
    <ol-provider .name=${name}></ol-provider>
  `,
  document.body
);
```

  </div>
  <div>

<h2>This is a &lt;ol-provider&gt;</h2>
<ol-provider name="lit-html"></ol-provider>

  </div>
</section>
