diff --git a/src/Component.php b/src/Component.php
index <HASH>..<HASH> 100644
--- a/src/Component.php
+++ b/src/Component.php
@@ -99,6 +99,10 @@ class Component
 
         $tag = Str::kebab(end($baseComponentName));
 
+        if (Str::contains($tag, '_')) {
+            $tag = str_replace('_', '-', $tag);
+        }
+
         if (Str::contains($this->view, '::') && ! Str::contains($tag, '::')) {
             $namespace = Str::before($this->view, '::');
             $tag = "{$namespace}::{$tag}";
Add support for snake_case view filenames (#<I>)

* Added support for snake_case view filenames



* Changed logic for checking if string is snake case



* Fixed code style issue with import order