Overriding styles via className, inline CSS custom properties, and rebranding the library.
Every component accepts a standard className prop that merges cleanly with its base CSS Module class, plus typed props that map directly to CSS custom properties or Motion spring values.
Rebranding MotionFoundry
To change the library name from MotionFoundry to your organization's design system name:
- Update
BRAND_CONFIGinapps/docs/lib/brand.ts. - Update the
"name"field inpackages/ui/package.jsonandpackages/cli/package.json.
<MorphingBorder title="Custom Branded Perimeter" primaryColor="#34d399" secondaryColor="#38bdf8" speed={3.6} borderRadius={16} borderWidth={2}/>