 
The `likec4` CLI is a tool for various operations and automation, such as: - Start development server to preview diagrams (with hot-reload) - Build a static website for sharing and embedding diagrams - Export to PNG, Mermaid, Dot, D2 - Generate [source code artifacts](/tooling/code-generation/react/): - React components - Web Components - Typed data ## Install ### Local installation If you're using it in an npm project, install it as a development dependency:
LikeC4 React library is available to embed diagrams into your applications. Although you can use it directly, consider [Vite Plugin](/tooling/vite-plugin/) or [CLI](/tooling/code-generation/react/) for smoother developer experience.Your component as a panel
Check examples 
LikeC4 Vite Plugin allows you to embed views directly, without any pre-build/generate steps. The plugin automatically generates all the necessary code to render the views in your application, with Hot Module Replacement (HMR) supported. This is useful for building documentation, tutorials, or any other application where you want to include diagrams. ## Guide 
Generate source code artifacts from architecture model. ## Typed Model 
Generate React components with views from your architecture model. ## Install Ensure you have [`likec4`](https://www.npmjs.com/package/likec4) in your dependencies: 
## Install Ensure you have [`likec4`](https://www.npmjs.com/package/likec4) in your dependencies: