CLI

fring add

Adds Fring packages to an existing project.

Usage

fring add <package>

Choose the package you want to add. Fring installs any required dependencies and generates the necessary files.

Available Packages

PackageStatusDescription
tableAvailableData table powered by TanStack Table.
formComing SoonReusable form components.
chartComing SoonCharts and visualizations.
uploadComing SoonFile upload components.

Example

fring add table

This command installs the required dependencies, copies the Fring Table components into your project, and generates an example page.

Requirements

  • Run the command inside a Next.js project.
  • Shadcn UI will be initialized if it isn't already.
  • Existing Fring packages are detected before generation.