Import Button

The Component uses alpinejs under the hood. To display an import button, include the x-csv-button component.

1<x-csv-button>Import</x-csv-button>

To style the button, use the class attribute with Tailwind utility classes.

1<x-csv-button
2 class="rounded py-2 px-3 bg-indigo-500 ..."
3 type="button"
4 ....>
5 {{ __('Import') }}
6</x-csv-button>

Join our newsletter

Subscribe to Our Newsletter and never miss our offers, latest news, Articles, etc.

We care about the protection of your data. Read our Privacy Policy.