1.24.0 • Published 11 months ago
@carbon/generate-pattern v1.24.0
Carbon pattern code generator
This is a CLI tool used to generate example code for identified patterns within the Carbon Design System.
The majority of the current examples are created from pre-existing Vite templates from a monorepo to demonstrate how to use @carbon/react and @tanstack/react-table together. You can choose to either generate a full Vite application or to generate an inline example within an existing application.
Usage
npx @carbon/generate-pattern- Select a pattern

- Choose if you want the pattern's dependencies installed

- Choose an install path (default is current directory)

- Select pattern type
- Full example app
- Integrate within an existing app, ie inline
