<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [CollapseWidth](./x-components.collapsewidth.md)

## CollapseWidth variable

Renders a transition wrapping the element passed in the default slot and animating it with a width animation.

**Signature:**

```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
    appear: {
        type: BooleanConstructor;
        default: boolean;
    };
}>, {
    expand: (element: Element) => void;
    cleanUpAnimationStyles: (element: Element) => void;
    collapse: (element: Element) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
    appear: {
        type: BooleanConstructor;
        default: boolean;
    };
}>> & Readonly<{}>, {
    appear: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```
