Skip to content

Commit 9094e84

Browse files
authored
Merge pull request tailwindlabs#120 from stidges/customize-cursors
Document cursor customization options
2 parents 504dbd3 + f900309 commit 9094e84

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

source/docs/cursor.blade.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Cursor"
44
description: "Utilities for controlling the cursor style when hovering over an element."
55
features:
66
responsive: true
7-
customizable: false
7+
customizable: true
88
hover: false
99
focus: false
1010
---
@@ -48,6 +48,21 @@ features:
4848

4949
## Customizing
5050

51+
### Cursors
52+
53+
By default Tailwind provides six `cursor` utilities. You change, add, or remove these by editing the `cursor` values in the `theme` section of your Tailwind config.
54+
55+
@component('_partials.customized-config', ['key' => 'cursor'])
56+
auto: 'auto',
57+
default: 'default',
58+
pointer: 'pointer',
59+
- wait: 'wait',
60+
- move: 'move',
61+
'not-allowed': 'not-allowed',
62+
+ crosshair: 'crosshair',
63+
+ 'zoom-in': 'zoom-in',
64+
@endcomponent
65+
5166
@include('_partials.variants-and-disabling', [
5267
'utility' => [
5368
'name' => 'cursor',

0 commit comments

Comments
 (0)