import { ExampleCodeBlock } from '@workday/canvas-kit-docs';

import Template from './examples/compoundComponent/CustomCard';


# Canvas Kit Examples

## Compound Component

Component component utilites are a great way to wrap and extend exisitng Canvas Kit Components. This
can dramatically simplify state handling and gives you easy access to things like ref forwarding.

For more complex examples,
[see the creating-compound-components guide](https://workday.github.io/canvas-kit/?path=/docs/guides-creating-compound-components--docs).

<ExampleCodeBlock code={Template} />