Optics

A modern component library and documentation site built with Next.js, React, and Tailwind CSS.

Overview

Optics provides a comprehensive collection of reusable UI components, hooks, and utilities for building React applications. The library is built on top of Base UI primitives and follows modern design patterns.

Features

  • 60+ customizable UI components
  • Built with Tailwind CSS v4
  • Fully accessible components based on Base UI
  • TypeScript support
  • Dark mode support
  • Component registry compatible with shadcn CLI

Getting Started

Installation

bash
bun install

Development

bash
bun dev

Build

bash
bun build

Tech Stack

  • Next.js 16
  • React 19
  • Tailwind CSS v4
  • Base UI
  • TypeScript
  • Bun