ObjectUIObjectUI

Schema Catalog

Browseable index of every JSON schema used in the ObjectUI docs.

Schema Catalog

Every interactive demo on this site renders a JSON schema that lives in @object-ui/example-schema-catalog. This page is the visual gallery over that catalog — live thumbnails for every entry, grouped by domain. Click a card to open a full interactive preview with the JSON, copy a stable id, or grab a ready-to-paste <SchemaExample id="…" /> snippet for any MDX page.

How the catalog works

  • Source of truth. Each schema lives as a single .json file under examples/schema-catalog/src/schemas/<category>/<id>.json and is imported into the registry by examples/schema-catalog/src/index.ts.
  • One id, one schema. Ids are stable (e.g. auth/login-simple). MDX pages reference schemas with <SchemaExample id="auth/login-simple" />, which looks the schema up via getExample(id) from the catalog package.
  • Smoke-tested. The catalog ships a Vitest suite that resolves every id and instantiates every schema; CI fails if any entry breaks. Adding a schema is a one-file change; renaming or deleting one fails CI loudly.
  • Not published. The catalog package is private: true — it is a test/docs fixture, not a runtime dependency for consuming apps.

Browse

415 examples · 16 groups

Actions

3

App Shell

2

Auth

4

Block Schema

4
schema

Blocks Gallery

3
gallery

Components

266
basic / button / group
basic / div
basic / html
basic / icon
basic / image
basic / navigation / menu
basic / pagination
basic / separator
basic / sidebar
basic / span
basic / text
complex / carousel
complex / data / table
complex / filter / builder
complex / filter / ui
complex / resizable
complex / scroll / area
complex / sort / ui
complex / table
complex / view / switcher
data / display / alert
data / display / avatar
data / display / badge
data / display / breadcrumb
data / display / kbd
data / display / list
data / display / statistic
data / display / tree / view
disclosure / accordion
disclosure / collapsible
disclosure / toggle / group
feedback / empty
feedback / loading
feedback / progress
feedback / skeleton
feedback / sonner
feedback / spinner
feedback / toast
feedback / toaster
form / button
form / calendar
form / checkbox
form / combobox
form / command
form / date / picker
form / file / upload
form / form
form / input
form / input / otp
form / label
form / radio / group
form / select
form / slider
form / switch
form / textarea
form / toggle
layout / aspect / ratio
layout / card
layout / container
layout / flex
layout / grid
layout / page
layout / semantic
layout / stack
layout / tabs
navigation / header / bar
overlay / alert / dialog
overlay / context / menu
overlay / dialog
overlay / drawer
overlay / dropdown / menu
overlay / hover / card
overlay / menubar
overlay / popover
overlay / sheet
overlay / tooltip

Core

3
schema / renderer

Dashboard

3

E-commerce

4

Fields

74
auto / number
boolean
currency
date
datetime
email
file
formula
grid
image
location
lookup
number
object
password
percent
phone
rich / text
select
summary
text
textarea
time
url
user
vector

Forms

4

Layout

1
page / header

Marketing

4

Plugin

35
calendar
charts
chatbot
dashboard
editor
form
gantt
grid
kanban
map
markdown
timeline
view

Report

3

Theme

2

Adding a new example

  1. Drop the JSON under examples/schema-catalog/src/schemas/<category>/<your-id>.json.

  2. Run pnpm -F @object-ui/example-schema-catalog regenerate to update src/index.ts (the import map is generated).

  3. Reference it from any MDX page:

    <SchemaExample id="<category>/<your-id>" />
  4. pnpm -F @object-ui/example-schema-catalog test smoke-tests the new entry; the same test runs in CI on every push.

On this page