Vibeleaderboard
Index / tool
Visit openai.github.io
Category
Developer Tools
Rank
Pricing
Open Source
Type
TOOL
Builder
openai
GitHub
940 stars
Latest release
v0.2.2
Date

About

React components and primitives for building UIs inside OpenAI's Apps SDK — the platform for shipping interactive apps inside ChatGPT.

What it does

A focused design system that supplies styled controls, semantic design tokens, Tailwind layers, and browser utilities for ChatGPT app interfaces. Developers import its foundation styles, use its React components, and optionally configure a shared router link component.

Why it's ranked here

The package offers a coherent interface foundation with concrete setup guidance and a deliberately bounded scope. Radix-based accessible components, semantic styling, responsive helpers, dark mode support, and typed configuration reduce repeated interface work. Its strict framework requirements make the fit narrower but also keep the integration model clear.

What's good

The component styling shares tokens for color, typography, spacing, sizing, shadows, and surfaces. Tailwind receives those tokens directly. Router-aware links support either central configuration or per-component substitution. Browser helpers include rich clipboard handling with plain-text fallback, while breakpoint utilities read values from CSS and provide defaults.

Tradeoffs

Projects must already use React 18 or 19 and Tailwind 4. Setup depends on stylesheet import order and an explicit source directive so Tailwind discovers component classes. Several utilities assume browser APIs such as the DOM, clipboard, computed styles, media queries, resize observation, and navigation links.

How to use it well

Use it when a React and Tailwind team wants consistent ChatGPT app presentation without rebuilding tokens, controls, responsive behavior, and accessibility foundations. Adopt the shared styles first, then add the provider only when routing needs common link behavior. Pair it with separate Apps SDK application logic because this package covers the interface layer.

Technical notes+

package.json publishes @openai/apps-sdk-ui with explicit exports for CSS, components, hooks, theme, helpers, user-agent utilities, and date utilities. Runtime JavaScript ships from dist/es/**, while declarations ship from dist/types/**. src/global.d.ts merges default link and breakpoint configuration with consumer overrides. src/hooks/useBreakpoints.tsx reads CSS custom properties, caches resolved pixel values, and falls back to a built-in breakpoint map. src/lib/copyToClipboard.ts prefers the Clipboard API, supports selected image MIME types, and falls back to a temporary textarea plus document.execCommand("copy") for text. The package scripts run formatting, TypeScript and CSS linting, type checking, Vitest, builds, and Storybook.

Observed

License
MIT
Primary language
TypeScript and TSX
Install surface
npm package @openai/apps-sdk-ui
Interface
React component library with CSS, hooks, theme, and helper exports
Framework support
Peer dependencies require React 18 or 19 and Tailwind CSS 4
Distribution
ES module JavaScript and separate TypeScript declarations
Development structure
Includes Vitest test scripts and Storybook development and build scripts

Read from README.md, package.json, src/types.ts, src/global.d.ts, src/vite-env.d.ts, src/Typography.stories.tsx, src/lib/assert.ts, src/lib/casing.ts, src/lib/constants.ts, src/hooks/usePrevious.tsx, src/hooks/useIsMounted.tsx, src/lib/copyToClipboard.ts, src/hooks/useScrollable.tsx, src/hooks/useBreakpoints.tsx, src/hooks/useLatestValue.tsx.

What it can do

  • Provide pre-built React components for ChatGPT app interfaces

    Developer integration requirementsReady-to-use UI components

  • Enable interactive app development within ChatGPT

    App logic and UI specificationsFunctional interactive applications

  • Integrate custom applications into ChatGPT interface

    Built applications using the SDKNative ChatGPT app experience

  • Provide UI primitives for custom component creation

    Custom design requirementsBase building blocks for UI elements

  • Ship applications directly inside ChatGPT platform

    Completed app built with SDKLive app accessible within ChatGPT

Tags

openaireactsdkchatgptui-components

Tech Stack

Node.jsTypeScript

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.