# Optics, 79 React UI components, live previews & code, EneUI

All 79 Optics components in the catalog with live previews, full source and a one-line install. Most used: accordion, alert, alert dialog. The registry does not declare an SPDX licence, check the upstream repository before shipping it in production.

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

**Components:** 79

- [accordion](https://ui.eneawork.it/comp/optics/accordion), optics
- [alert](https://ui.eneawork.it/comp/optics/alert), optics
- [alert-dialog](https://ui.eneawork.it/comp/optics/alert-dialog), optics
- [aspect-ratio](https://ui.eneawork.it/comp/optics/aspect-ratio), optics
- [auto-height](https://ui.eneawork.it/comp/optics/auto-height), optics
- [avatar](https://ui.eneawork.it/comp/optics/avatar), optics
- [badge](https://ui.eneawork.it/comp/optics/badge), optics
- [breadcrumb](https://ui.eneawork.it/comp/optics/breadcrumb), optics
- [button](https://ui.eneawork.it/comp/optics/button), optics
- [button-group](https://ui.eneawork.it/comp/optics/button-group), optics
- [calendar](https://ui.eneawork.it/comp/optics/calendar), optics
- [card](https://ui.eneawork.it/comp/optics/card), optics

## FAQ

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

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

### Is the Optics library free?

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

### What framework does Optics target?

Optics 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 Optics component?

"accordion" is the most starred one, out of 79 available.

### How do I add a Optics 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 Optics ship?

Optics mainly covers React.


## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/optics/%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`.
