diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -15,3 +15,7 @@
 ## 0.1.0.4
 
 Remove "data-" prefix from Alpine.js attributes
+
+## 0.1.0.5
+
+Depend on `lucid-2.11.0`
diff --git a/lucid-alpine.cabal b/lucid-alpine.cabal
--- a/lucid-alpine.cabal
+++ b/lucid-alpine.cabal
@@ -1,6 +1,6 @@
 cabal-version:      1.12
 name:               lucid-alpine
-version:            0.1.0.4
+version:            0.1.0.5
 license:            BSD3
 license-file:       LICENSE
 copyright:          (c) 2021 Wavi Labs LLC
@@ -29,7 +29,7 @@
     default-language: Haskell2010
     build-depends:
         base >=4.7 && <5,
-        lucid >=2.10.0 && <2.11,
+        lucid >=2.11.0 && <2.12,
         text >=1.2.4.1 && <1.3
 
 executable lucid-alpine-exe
@@ -40,7 +40,7 @@
     ghc-options:      -threaded -rtsopts -with-rtsopts=-N
     build-depends:
         base >=4.7 && <5,
-        lucid >=2.10.0 && <2.11,
+        lucid >=2.11.0 && <2.12,
         lucid-alpine -any,
         text >=1.2.4.1 && <1.3
 
@@ -53,6 +53,6 @@
     ghc-options:      -threaded -rtsopts -with-rtsopts=-N
     build-depends:
         base >=4.7 && <5,
-        lucid >=2.10.0 && <2.11,
+        lucid >=2.11.0 && <2.12,
         lucid-alpine -any,
         text >=1.2.4.1 && <1.3
diff --git a/src/Lucid/Alpine.hs b/src/Lucid/Alpine.hs
--- a/src/Lucid/Alpine.hs
+++ b/src/Lucid/Alpine.hs
@@ -8,10 +8,8 @@
 
 -- | x-data
 -- Declare a new Alpine component and its data for a block of HTML
-xData_ :: Maybe Text -> Attribute
-xData_ = \case
-  Nothing     -> makeAttribute "x-data" mempty
-  Just object -> makeAttribute "x-data" object
+xData_ :: Text -> Attribute
+xData_ = makeAttribute "x-data"
 
 {-
 <div x-data="{ open: false }">
