threeui README

The project's README from github.com/MengTo/threeui. As one markdown file: README.md.

ThreeUI Community

Sponsor ThreeUI: Linked README placements start at $500/month, with website placements from $1,500/month. View sponsorship plans.

The open-source, login-free edition of ThreeUI. It uses the same application shell, layout, navigation, browse grid, search, themes, responsive behavior, component pages, live renderers, controls, variant picker, and source tabs as the main project.

The catalog is the only product-level difference: Pro and Beta components are removed. Every Community component keeps all of its free variants and controls.

Browse ThreeUI · View the source on GitHub

ThreeUI Community preview

Sponsor ThreeUI

Sponsorship keeps the open-source Community library maintained and puts your product in front of ThreeUI's developer audience. Website traffic is currently estimated at roughly 90,000 views per day as of 26 August 2026; this is directional traffic context, not a guarantee of sponsor impressions, clicks, or results.

Plan Price Placement and involvement
Ecosystem Sponsor $500/month Linked banner near the top of the public GitHub README, plus a thank-you credit in this sponsorship section. Up to 6 sponsors.
Featured Sponsor $1,500/month Everything in Ecosystem, plus a small linked banner in the ThreeUI website documentation sidebar. Up to 2 sponsors.
Ultimate Sponsor $3,000/month Both banner placements, one approved fixed-scope integration project per agreement, and priority consideration for maintenance needs, sponsor feedback, and reasonable special requests. All work is mutually agreed in writing.

See the complete sponsorship details or email [email protected]. Sponsorship does not guarantee roadmap changes, editorial control, exclusivity, or private support.

Included

Run locally

npm install
npm run dev

Run the complete publication boundary, type, and production-build checks:

npm run build

Install the React package

Install the public Community component library from npm:

npm install @designcodeio/threeui

Import a component and the shared styles:

import { AtTheHorizon } from "@designcodeio/threeui";
import "@designcodeio/threeui/style.css";

export function Hero() {
  return <AtTheHorizon />;
}

For the smallest development import graph, use a component subpath:

import { AtTheHorizon } from "@designcodeio/threeui/components/AtTheHorizon";

Components that render full HTML documents expect their runtime files at the same root-relative URLs used by the ThreeUI preview. Copy the needed files from node_modules/@designcodeio/threeui/lib-dist/assets/ into your app's public directory, or override the component's sourceUrl or assetBaseUrl prop where available.

Pro source access

Pro implementation source is deliberately not published to npm. Active ThreeUI Pro members authenticate through the browser and download an entitled source bundle with the public CLI:

npx @designcodeio/threeui-cli add cross-beam

The CLI uses OAuth with PKCE, stores its refreshable session with owner-only permissions, checks the account entitlement on every server request, and refuses to overwrite changed project files unless --force is supplied. Run npx @designcodeio/threeui-cli --help for login, logout, destination, and development endpoint options.

Synchronization

The checked-in repository runs independently. Maintainers can refresh its Community subset from a separately held main-project snapshot:

npm run sync:community -- /path/to/main-threeui

The sync fails closed, filters Pro and Beta before generating the public import graph, preserves all free metadata and options, removes restricted font assets, and writes:

The private ThreeUI repository runs this synchronization after every successful push to main. A no-op sync exits without a release. Changes update the automation/community-sync branch and open one reviewed pull request here. New public components, variants, or controls infer a minor release; removals infer a major release; compatible source changes infer a patch release. Merging a versioned sync pull request publishes the new package through npm trusted publishing with provenance.

The public workflow also runs a clean build, boundary audit, package creation, and anonymous installation smoke test before release. The Pro installer is versioned and published separately; changes to Pro component content do not require a CLI release.

License

Application code, Community component code, and ThreeUI-authored Community imagery are MIT licensed. Bundled open fonts remain under the SIL Open Font License 1.1, and bundled Three.js runtime files remain MIT licensed. Remote catalog thumbnails and previews loaded from https://threeui.com are not redistributed by this repository. See ASSET-LICENSES.md, FONT-LICENSES.md, and THIRD_PARTY_NOTICES.md.

threeui (MengTo/threeui)

Searching Database…

6.7K ·GitHub
Что это?ThreeUI Community — это открытая версия каталога React-компонентов на основе Three.js/WebGL и UI-компонентов с шейдерами. Для доступа не нужно входить в аккаунт, а на сайте можно интерактивно просматривать компоненты в реальном времени.
Это библиотека компонентов или полноценное приложение?Это библиотека React-компонентов, которая распространяется через npm, и демо-каталог на сайте. Каталог использует ту же оболочку, навигацию, поиск и рендереры в реальном времени, что и основной проект ThreeUI, но без компонентов Pro и Beta.
Как мне добавить её в проект?Установите публичную библиотеку компонентов Community из npm, затем импортируйте нужный компонент и его общие стили или используйте импорт по подпути компонента, чтобы граф зависимостей был меньше.
Что нужно, кроме React, чтобы использовать компоненты?Библиотека построена на Three.js для рендеринга WebGL и шейдеров. Некоторым компонентам, которые выводят полноценные HTML-документы, нужно скопировать файлы runtime-ресурсов в папку public вашего приложения.
Включает ли это всё из основного продукта ThreeUI?Нет. Этот репозиторий намеренно исключает компоненты Pro и Beta, а также любую логику аутентификации, состояния аккаунта или оплаты. Включены только бесплатные варианты Community.
Насколько большой каталог Community?В нём 50 родительских компонентов Community на 111 маршрутах, 141 запись бесплатных вариантов и 23 одиночных компонента, всего 164 результата для просмотра.
Как получить компоненты Pro, если они мне нужны?Исходный код Pro не публикуется в npm. Активные участники Pro проходят авторизацию в браузере по OAuth с PKCE через публичный CLI (npx @designcodeio/threeui-cli) и скачивают пакет исходников, доступ к которому у них есть. Пакет не перезапишет изменённые файлы проекта, если не передать флаг --force.
Как этот репозиторий синхронизируется с закрытым основным проектом?После каждого успешного push в main в закрытом репозитории ThreeUI задача синхронизации отфильтровывает контент Pro/Beta, сохраняет бесплатные метаданные и открывает здесь pull request на проверку. После этого запускается выпуск в npm с provenance.
Можно ли запустить и собрать этот репозиторий локально?Да. npm-скрипты покрывают dev-сервер (vite), полные проверки границ публикации, типов и production-сборки (build:site), а также отдельную сборку библиотеки (build:lib) для npm-пакета.
Creator
MengTo
Size
41.6 MB
Stars
6.7K
Updated
CommitSep 01
Age
1mo
Commits · 90 Days