Loading...
Loading...
Loading...
Application-wide constants like ROUTES, POST_STATUS, and PLAN_LIMITS.
Install
npx bouncekit@latest add constantsImport
import { Constants } from "@/lib/constants.ts"import { ROUTES, PLAN_LIMITS } from "@/lib/constants"
// Application-wide constants:
// ROUTES — route paths for navigation
// PLAN_LIMITS — feature limits per plan tier
// POST_STATUS — content status enumAPI Reference
Extends native HTML attributes — no custom props.
Source
src/lib/constants.ts