# Alpine.js Documentation - Directives Alpine directives are attributes that you can add to HTML elements to give them special behavior. ## [x-model](/directives/model) `x-model` allows you to bind the value of an input element to Alpine data. Here's a simple example of using `x-model` to bind the value of a text field to a piece of data in Alpine. ```