# D2, 101 React UI components, live previews & code, EneUI

All 101 D2 components in the catalog with live previews, full source and a one-line install. Most used: ai block, ai content creator card, ai content creator card v2. The registry does not declare an SPDX licence, check the upstream repository before shipping it in production.

> Page: https://ui.eneawork.it/components/lib/d2
> Markdown: https://ui.eneawork.it/components/lib/d2.md

**Components:** 101

- [ai-block](https://ui.eneawork.it/comp/d2/ai-block), d2
- [ai-content-creator-card](https://ui.eneawork.it/comp/d2/ai-content-creator-card), d2
- [ai-content-creator-card-v2](https://ui.eneawork.it/comp/d2/ai-content-creator-card-v2), d2
- [ai-v2](https://ui.eneawork.it/comp/d2/ai-v2), d2
- [ai-writing-assistance](https://ui.eneawork.it/comp/d2/ai-writing-assistance), d2
- [alert](https://ui.eneawork.it/comp/d2/alert), d2
- [bento-01](https://ui.eneawork.it/comp/d2/bento-01), d2
- [bento-02](https://ui.eneawork.it/comp/d2/bento-02), d2
- [bento-03](https://ui.eneawork.it/comp/d2/bento-03), d2
- [bento-04](https://ui.eneawork.it/comp/d2/bento-04), d2
- [bento-05](https://ui.eneawork.it/comp/d2/bento-05), d2
- [block-01](https://ui.eneawork.it/comp/d2/block-01), d2

## FAQ

### How many components are in the D2 library?

101 D2 components are in the catalog, each with a live preview, full source and a one-line install command.

### Is the D2 library free?

The registry does not declare an SPDX licence, check the upstream repository before shipping it in production.

### What framework does D2 target?

D2 targets React: the components are written for that renderer and drop into Next.js, Vite or CRA the same way.

### What is the most popular D2 component?

"ai block" is the most starred one, out of 101 available.

### How do I add a D2 component to my project?

Open the component and hit Copy code (or Install): the source lands in your components folder, or run the npx shadcn add command shown on the page.

### What kind of interfaces does D2 ship?

D2 mainly covers React.


## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/d2/%3Ccomponent-name%3E.json?token=YOUR_TOKEN"
```

The registry endpoints are token-gated (create a free account in the app, then copy the registry token). The raw source is also readable at `/api/registry/<library>/<name>.json`.
