@feast-dev/feast-ui

中文文档
0.68.0发布于 2026/11/11Apache-2.0TypeScriptESM + CJS构建来源已验证近 30 天下载 15.3万

Web UI for the Feast Feature Store

原始使用文档
文档目录5 节
  1. Usage
  2. Importing the UI as a module
  3. Development
  4. On React and Create React App
  5. Code Formatting

[Experimental] Feast Web UI

Sample UI

This project was bootstrapped with Create React App.

Usage

There are three modes of usage:

  • via the feast ui CLI to view the current feature repository
  • importing the UI as a module
  • running the entire build as a React app.

Importing the UI as a module

This is the recommended way to use Feast UI for teams maintaining their own internal UI for their deployment of Feast.

Start with bootstrapping a React app with create-react-app

npx create-react-app your-feast-ui

Then, in your app folder, install Feast UI and optionally its peer dependencies. Assuming you use yarn

yarn add @feast-dev/feast-ui
# For custom UI using the Elastic UI Framework (optional):
yarn add @elastic/eui
# For general custom styling (optional):
yarn add @emotion/react

Edit index.js in the React app to use Feast UI.

import React from "react";
import ReactDOM from "react-dom";
import "./index.css";

import FeastUI from "@feast-dev/feast-ui";
import "@feast-dev/feast-ui/dist/feast-ui.css";

ReactDOM.render(
  <React.StrictMode>
    <FeastUI />
  </React.StrictMode>,
  document.getElementById("root")
);

When you start the React app, it will look for projects-list.json to find a list of your projects. The JSON should look something like this.

{
  "projects": [
    {
      "name": "Credit Score Project",
      "description": "Project for credit scoring team and associated models.",
      "id": "credit_score_project",
      "registryPath": "/registry.json"
    },
  ]
}
  • Note - registryPath only supports a file location or a url.
// Start the React App
yarn start

Customization

The advantage of importing Feast UI as a module is in the ease of customization. The <FeastUI> component exposes a feastUIConfigs prop thorough which you can customize the UI. Currently it supports a few parameters.

Fetching the Project List

By default, the Feast UI fetches the project list from the app root path. You can use projectListPromise to provide a promise that overrides where it's fetched from.

<FeastUI
  feastUIConfigs={{
    projectListPromise: fetch(SOME_PATH, {
      headers: {
        "Content-Type": "application/json",
      },
    }).then((res) => {
      return res.json();
    })
  }}
/>
Custom Tabs

You can add custom tabs for any of the core Feast objects through the tabsRegistry.

const tabsRegistry = {
  RegularFeatureViewCustomTabs: [
    {
      label: "Custom Tab Demo", // Navigation Label for the tab
      path: "demo-tab", // Subpath for the tab
      Component: RFVDemoCustomTab, // a React Component
    },
  ]
}

<FeastUI
  feastUIConfigs={{
    tabsRegistry: tabsRegistry,
  }}
/>

Examples of custom tabs can be found in the /custom-tabs folder.

Development

On React and Create React App

This project was bootstrapped with Create React App, and uses its scripts to simplify UI development. You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Formatting

The code is formatted using Prettier. IDEs typically have Prettier addons or extensions that you can use for formatting, but you can also run:

  • yarn format to format all files
  • yarn format:check to check if files are formatted correctly without modifying them (used in GitHub Actions checks)

版本与发布记录

@feast-dev/feast-ui 共发布 67 个版本,首次发布于 2022/03/06;过去 12 个月发布了 4 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.68.0latest2026/11/113 天前
0.67.02026/10/131 个月前
0.66.02026/08/212 个月前
0.65.02026/07/203 个月前
0.57.02025/11/141 年前
0.56.02025/10/281 年前

关于 @feast-dev/feast-ui 的常见问题

@feast-dev/feast-ui 是什么?

Web UI for the Feast Feature Store

如何安装 @feast-dev/feast-ui?

在项目目录运行 npm install @feast-dev/feast-ui,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(^17.0.2 || ^18.0.0)、react-dom(^17.0.2 || ^18.0.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@feast-dev/feast-ui 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@feast-dev/feast-ui 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@feast-dev/feast-ui 可以商用吗?

@feast-dev/feast-ui 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@feast-dev/feast-ui 的下载量有多少?

根据 npm 官方下载统计,@feast-dev/feast-ui 在 2026/10/15 – 2026/11/13 这 30 天内被下载 153,033 次,日均约 5,101 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@feast-dev/feast-ui 还在维护吗?

最新版本 0.68.0 发布于 2026/11/11(3 天前);至今共发布 67 个版本,其中过去 12 个月发布了 4 个;首次发布于 2022/03/06。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。