# `mix mishka.ui.uninstall`
[🔗](https://github.com/mishka-group/mishka_chelekom/blob/v0.0.9/lib/mix/tasks/mishka.ui.uninstall.ex#L1)

A Mix Task for uninstalling Mishka Chelekom components

This task safely removes components while handling shared dependencies like JavaScript hooks.
When multiple components share the same JS hook, it will only be removed when the last
component using it is uninstalled.

> This task respects module_prefix configuration and cleans up import macro files,
> CSS files, and config files when using the appropriate flags.

## Example

```bash
mix mishka.ui.uninstall accordion
```

## Options

* `--all` or `-a` - Remove all installed Mishka components. Without `--headless` this
  removes **both** styled and headless components; combine with `--headless` to remove
  only headless ones.
* `--headless` - Target headless components (`lib/<app>_web/components/headless/`) instead
  of styled ones, e.g. `mix mishka.ui.uninstall accordion --headless`.
* `--dry-run` or `-d` - Preview what would be removed without making changes
* `--yes` - Skip confirmation prompts
* `--force` or `-f` - Force removal even if other components depend on it
* `--include-css` - Also remove CSS files (only with --all)
* `--include-config` - Also remove the config file (only with --all)
* `--keep-js` - Keep JavaScript files even if no components use them
* `--verbose` or `-V` - Show detailed output of all operations

# `apply_cascade_choice`

# `igniter`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
