Installation

Set up Watermelon in a React Native project.

Initialize the project once, then add only the registry primitives you want. The CLI handles file output and package dependencies.

Initialize

Initialize

watermelon init
watermelon add button text

Config file

watermelon.json

{
  "style": "default",
  "tailwind": {
    "config": "tailwind.config.js",
    "css": "global.css",
    "baseColor": "slate"
  },
  "aliases": {
    "components": "@/components",
    "utils": "@/lib/utils"
  }
}