New Year sale. Skyrocket your business in 2025!
Extra 25% off for all sale items + Free CoreUI Icons PRO with every order!
Limited-time offer for the first 100 customers in 2025. Use code 2025SKY25 at checkout.
Limited-time offer for the first 100 customers in 2025. Use code 2025SKY25 at checkout.
On this page
Loading...
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `autohide` | Auto hide the toast. | `boolean` | _true_ |
| `color` | Sets the color context of the component to one of CoreUI’s themed colors. | `Colors` | _undefined_ |
| `delay` | Delay hiding the toast (ms). | `number` | _5000_ |
| `fade` | Apply fade transition to the toast. | `boolean` | _true_ |
| `visible` | Toggle the visibility of component. | `boolean` |_false_|
##### Outputs
| name | description | type |
| ---- | ----------- | ---- |
| `visibleChange` | Event emitted on `visible` change. | `boolean` |
| `timer` | Event emitted on `clock` tick (secs). | `number` |
### c-toast-body
_component_
`exportAs: cToastBody`
### c-toast-header
_component_
`exportAs: cToastHeader`
##### Inputs
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `closeButton` | Add close button to the toast header. | `boolean` | _true_ |
### c-toaster
_component_
`exportAs: cToaster`
##### Inputs
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `placement` | Toaster placement. | `string` | _top-end_ |
| `position` | Toaster position. | `string` \| `absolute` \| `fixed` \| `static` | _absolute_ |
### cToastClose
_directive_
`exportAs: cToastClose`
##### Inputs
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `cToastClose` | Toast to close. | `ToastComponent` | __required__ |