Codegen FAQs

If I have existing code components, how do I have Plasmic design components map to those implementations?

This is about substituting an existing code component for a Plasmic design component. See details for the blackbox scheme. For the Direct Edit scheme, simply replace the entire JSX tree with what you actually want to render instead.

How are names transformed?

The names of components, elements, args (such as slot args), and variants are all camelCased. Components are always additionally capitalized, per React conventions.