tutuca 0.11.0 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/tutuca-cli.js +264 -361
  2. package/dist/tutuca-components.js +175 -175
  3. package/dist/tutuca-dev.ext.js +250 -323
  4. package/dist/tutuca-dev.js +250 -323
  5. package/dist/tutuca-dev.min.js +4 -4
  6. package/dist/tutuca-extra.ext.js +55 -46
  7. package/dist/tutuca-extra.js +55 -46
  8. package/dist/tutuca-extra.min.js +3 -3
  9. package/dist/tutuca-storybook.js +29 -29
  10. package/dist/tutuca.ext.js +55 -46
  11. package/dist/tutuca.js +55 -46
  12. package/dist/tutuca.min.js +3 -3
  13. package/package.json +4 -3
  14. package/skill/margaui/SKILL.md +0 -105
  15. package/skill/margaui/components/accordion.md +0 -127
  16. package/skill/margaui/components/alert.md +0 -174
  17. package/skill/margaui/components/aura.md +0 -97
  18. package/skill/margaui/components/avatar.md +0 -220
  19. package/skill/margaui/components/badge.md +0 -193
  20. package/skill/margaui/components/breadcrumbs.md +0 -103
  21. package/skill/margaui/components/button.md +0 -322
  22. package/skill/margaui/components/calendar.md +0 -67
  23. package/skill/margaui/components/card.md +0 -373
  24. package/skill/margaui/components/carousel.md +0 -387
  25. package/skill/margaui/components/chat.md +0 -171
  26. package/skill/margaui/components/checkbox.md +0 -101
  27. package/skill/margaui/components/collapse.md +0 -172
  28. package/skill/margaui/components/countdown.md +0 -165
  29. package/skill/margaui/components/diff.md +0 -53
  30. package/skill/margaui/components/divider.md +0 -107
  31. package/skill/margaui/components/dock.md +0 -173
  32. package/skill/margaui/components/drawer.md +0 -184
  33. package/skill/margaui/components/dropdown.md +0 -388
  34. package/skill/margaui/components/fab.md +0 -346
  35. package/skill/margaui/components/fieldset.md +0 -88
  36. package/skill/margaui/components/file-input.md +0 -84
  37. package/skill/margaui/components/filter.md +0 -52
  38. package/skill/margaui/components/footer.md +0 -583
  39. package/skill/margaui/components/hero.md +0 -135
  40. package/skill/margaui/components/hover-3d.md +0 -129
  41. package/skill/margaui/components/hover-gallery.md +0 -49
  42. package/skill/margaui/components/indicator.md +0 -265
  43. package/skill/margaui/components/input.md +0 -389
  44. package/skill/margaui/components/join.md +0 -100
  45. package/skill/margaui/components/kbd.md +0 -127
  46. package/skill/margaui/components/label.md +0 -102
  47. package/skill/margaui/components/link.md +0 -96
  48. package/skill/margaui/components/list.md +0 -182
  49. package/skill/margaui/components/loading.md +0 -105
  50. package/skill/margaui/components/mask.md +0 -168
  51. package/skill/margaui/components/megamenu.md +0 -131
  52. package/skill/margaui/components/menu.md +0 -887
  53. package/skill/margaui/components/mockup-browser.md +0 -39
  54. package/skill/margaui/components/mockup-code.md +0 -81
  55. package/skill/margaui/components/mockup-phone.md +0 -39
  56. package/skill/margaui/components/mockup-window.md +0 -33
  57. package/skill/margaui/components/modal.md +0 -196
  58. package/skill/margaui/components/navbar.md +0 -282
  59. package/skill/margaui/components/otp.md +0 -171
  60. package/skill/margaui/components/pagination.md +0 -122
  61. package/skill/margaui/components/progress.md +0 -135
  62. package/skill/margaui/components/radial-progress.md +0 -67
  63. package/skill/margaui/components/radio.md +0 -133
  64. package/skill/margaui/components/range.md +0 -134
  65. package/skill/margaui/components/rating.md +0 -170
  66. package/skill/margaui/components/select.md +0 -225
  67. package/skill/margaui/components/skeleton.md +0 -64
  68. package/skill/margaui/components/stack.md +0 -142
  69. package/skill/margaui/components/stat.md +0 -254
  70. package/skill/margaui/components/status.md +0 -73
  71. package/skill/margaui/components/steps.md +0 -138
  72. package/skill/margaui/components/swap.md +0 -152
  73. package/skill/margaui/components/tab.md +0 -248
  74. package/skill/margaui/components/table.md +0 -1018
  75. package/skill/margaui/components/text-rotate.md +0 -91
  76. package/skill/margaui/components/textarea.md +0 -85
  77. package/skill/margaui/components/theme-controller.md +0 -266
  78. package/skill/margaui/components/timeline.md +0 -1356
  79. package/skill/margaui/components/toast.md +0 -165
  80. package/skill/margaui/components/toggle.md +0 -135
  81. package/skill/margaui/components/tooltip.md +0 -181
  82. package/skill/margaui/components/validator.md +0 -163
  83. package/skill/tutuca/SKILL.md +0 -56
  84. package/skill/tutuca/advanced.md +0 -212
  85. package/skill/tutuca/cli.md +0 -239
  86. package/skill/tutuca/component-design.md +0 -168
  87. package/skill/tutuca/core.md +0 -908
  88. package/skill/tutuca/iteration.md +0 -207
  89. package/skill/tutuca/macros.md +0 -86
  90. package/skill/tutuca/margaui.md +0 -175
  91. package/skill/tutuca/messages-and-intents.md +0 -399
  92. package/skill/tutuca/patterns/README.md +0 -48
  93. package/skill/tutuca/patterns/add-a-story.md +0 -26
  94. package/skill/tutuca/patterns/bind-text-and-attributes.md +0 -30
  95. package/skill/tutuca/patterns/conditional-attribute-value.md +0 -29
  96. package/skill/tutuca/patterns/coordinate-components.md +0 -54
  97. package/skill/tutuca/patterns/edit-through-a-dynamic-target.md +0 -27
  98. package/skill/tutuca/patterns/enrich-each-item.md +0 -25
  99. package/skill/tutuca/patterns/file-input.md +0 -39
  100. package/skill/tutuca/patterns/filter-a-list.md +0 -25
  101. package/skill/tutuca/patterns/filter-and-paginate.md +0 -60
  102. package/skill/tutuca/patterns/handle-events.md +0 -38
  103. package/skill/tutuca/patterns/iterate-a-list.md +0 -18
  104. package/skill/tutuca/patterns/paginate-a-list.md +0 -29
  105. package/skill/tutuca/patterns/render-a-child-component.md +0 -21
  106. package/skill/tutuca/patterns/reuse-markup-with-macros.md +0 -36
  107. package/skill/tutuca/patterns/share-state-across-the-tree.md +0 -38
  108. package/skill/tutuca/patterns/show-or-hide-content.md +0 -23
  109. package/skill/tutuca/patterns/switch-between-views.md +0 -30
  110. package/skill/tutuca/patterns/tabbed-interface.md +0 -43
  111. package/skill/tutuca/semantics.md +0 -195
  112. package/skill/tutuca/storybook.md +0 -270
  113. package/skill/tutuca/styles.md +0 -48
  114. package/skill/tutuca/testing.md +0 -346
  115. package/skill/tutuca-source/SKILL.md +0 -33
  116. package/skill/tutuca-source/tutuca.ext.js +0 -4235
@@ -1,220 +0,0 @@
1
- # avatar
2
-
3
- _user picture / placeholder, with optional ring, mask, presence_
4
-
5
- ## What it does
6
-
7
- User-image container with sizing, rounding, ring, mask shape, presence indicator, and group-stack support.
8
-
9
- ## When to use
10
-
11
- - Anywhere a user/account is represented.
12
- - Use `avatar-placeholder` when no image is available (renders initials).
13
- - For decorative shape masking on non-avatar images, use **mask** directly.
14
-
15
- ## Core classes
16
-
17
- `avatar`; modifiers `avatar-group`, `avatar-placeholder`; inner `<img>` typically wrapped in a sized `<div>` with `rounded-full` or a `mask mask-…` class.
18
-
19
- ## Examples
20
-
21
- ### Avatar
22
-
23
- Source: `playground/components/avatar/avatar.html`
24
-
25
- ```html
26
- <div class="avatar">
27
- <div class="w-24 rounded">
28
- <img src="https://img.daisyui.com/images/profile/demo/batperson@192.webp" />
29
- </div>
30
- </div>
31
- ```
32
-
33
- ### Avatar group with counter
34
-
35
- Source: `playground/components/avatar/avatar-group-with-counter.html`
36
-
37
- ```html
38
- <div class="avatar-group -space-x-6">
39
- <div class="avatar">
40
- <div class="w-12">
41
- <img src="https://img.daisyui.com/images/profile/demo/batperson@192.webp" />
42
- </div>
43
- </div>
44
- <div class="avatar">
45
- <div class="w-12">
46
- <img src="https://img.daisyui.com/images/profile/demo/spiderperson@192.webp" />
47
- </div>
48
- </div>
49
- <div class="avatar">
50
- <div class="w-12">
51
- <img src="https://img.daisyui.com/images/profile/demo/averagebulk@192.webp" />
52
- </div>
53
- </div>
54
- <div class="avatar avatar-placeholder">
55
- <div class="bg-neutral text-neutral-content w-12">
56
- <span>+99</span>
57
- </div>
58
- </div>
59
- </div>
60
- ```
61
-
62
- ### Avatar group
63
-
64
- Source: `playground/components/avatar/avatar-group.html`
65
-
66
- ```html
67
- <div class="avatar-group -space-x-6">
68
- <div class="avatar">
69
- <div class="w-12">
70
- <img src="https://img.daisyui.com/images/profile/demo/batperson@192.webp" />
71
- </div>
72
- </div>
73
- <div class="avatar">
74
- <div class="w-12">
75
- <img src="https://img.daisyui.com/images/profile/demo/spiderperson@192.webp" />
76
- </div>
77
- </div>
78
- <div class="avatar">
79
- <div class="w-12">
80
- <img src="https://img.daisyui.com/images/profile/demo/averagebulk@192.webp" />
81
- </div>
82
- </div>
83
- <div class="avatar">
84
- <div class="w-12">
85
- <img src="https://img.daisyui.com/images/profile/demo/wonderperson@192.webp" />
86
- </div>
87
- </div>
88
- </div>
89
- ```
90
-
91
- ### Avatar in custom sizes
92
-
93
- Source: `playground/components/avatar/avatar-in-custom-sizes.html`
94
-
95
- ```html
96
- <div class="avatar">
97
- <div class="w-32 rounded">
98
- <img src="https://img.daisyui.com/images/profile/demo/superperson@192.webp" />
99
- </div>
100
- </div>
101
- <div class="avatar">
102
- <div class="w-20 rounded">
103
- <img
104
- src="https://img.daisyui.com/images/profile/demo/superperson@192.webp"
105
- alt="Tailwind-CSS-Avatar-component"
106
- />
107
- </div>
108
- </div>
109
- <div class="avatar">
110
- <div class="w-16 rounded">
111
- <img
112
- src="https://img.daisyui.com/images/profile/demo/superperson@192.webp"
113
- alt="Tailwind-CSS-Avatar-component"
114
- />
115
- </div>
116
- </div>
117
- <div class="avatar">
118
- <div class="w-8 rounded">
119
- <img
120
- src="https://img.daisyui.com/images/profile/demo/superperson@192.webp"
121
- alt="Tailwind-CSS-Avatar-component"
122
- />
123
- </div>
124
- </div>
125
- ```
126
-
127
- ### Avatar placeholder
128
-
129
- Source: `playground/components/avatar/avatar-placeholder.html`
130
-
131
- ```html
132
- <div class="avatar avatar-placeholder">
133
- <div class="bg-neutral text-neutral-content w-24 rounded-full">
134
- <span class="text-3xl">D</span>
135
- </div>
136
- </div>
137
- <div class="avatar avatar-online avatar-placeholder">
138
- <div class="bg-neutral text-neutral-content w-16 rounded-full">
139
- <span class="text-xl">AI</span>
140
- </div>
141
- </div>
142
- <div class="avatar avatar-placeholder">
143
- <div class="bg-neutral text-neutral-content w-12 rounded-full">
144
- <span>SY</span>
145
- </div>
146
- </div>
147
- <div class="avatar avatar-placeholder">
148
- <div class="bg-neutral text-neutral-content w-8 rounded-full">
149
- <span class="text-xs">UI</span>
150
- </div>
151
- </div>
152
- ```
153
-
154
- ### Avatar rounded
155
-
156
- Source: `playground/components/avatar/avatar-rounded.html`
157
-
158
- ```html
159
- <div class="avatar">
160
- <div class="w-24 rounded-xl">
161
- <img src="https://img.daisyui.com/images/profile/demo/yellingwoman@192.webp" />
162
- </div>
163
- </div>
164
- <div class="avatar">
165
- <div class="w-24 rounded-full">
166
- <img src="https://img.daisyui.com/images/profile/demo/yellingcat@192.webp" />
167
- </div>
168
- </div>
169
- ```
170
-
171
- ### Avatar with mask
172
-
173
- Source: `playground/components/avatar/avatar-with-mask.html`
174
-
175
- ```html
176
- <div class="avatar">
177
- <div class="mask mask-heart w-24">
178
- <img src="https://img.daisyui.com/images/profile/demo/distracted3@192.webp" />
179
- </div>
180
- </div>
181
- <div class="avatar">
182
- <div class="mask mask-squircle w-24">
183
- <img src="https://img.daisyui.com/images/profile/demo/distracted1@192.webp" />
184
- </div>
185
- </div>
186
- <div class="avatar">
187
- <div class="mask mask-hexagon-2 w-24">
188
- <img src="https://img.daisyui.com/images/profile/demo/distracted2@192.webp" />
189
- </div>
190
- </div>
191
- ```
192
-
193
- ### Avatar with presence indicator
194
-
195
- Source: `playground/components/avatar/avatar-with-presence-indicator.html`
196
-
197
- ```html
198
- <div class="avatar avatar-online">
199
- <div class="w-24 rounded-full">
200
- <img src="https://img.daisyui.com/images/profile/demo/gordon@192.webp" />
201
- </div>
202
- </div>
203
- <div class="avatar avatar-offline">
204
- <div class="w-24 rounded-full">
205
- <img src="https://img.daisyui.com/images/profile/demo/idiotsandwich@192.webp" />
206
- </div>
207
- </div>
208
- ```
209
-
210
- ### Avatar with ring
211
-
212
- Source: `playground/components/avatar/avatar-with-ring.html`
213
-
214
- ```html
215
- <div class="avatar">
216
- <div class="ring-primary ring-offset-base-100 w-24 rounded-full ring-2 ring-offset-2">
217
- <img src="https://img.daisyui.com/images/profile/demo/spiderperson@192.webp" />
218
- </div>
219
- </div>
220
- ```
@@ -1,193 +0,0 @@
1
- # badge
2
-
3
- _small label / counter chip_
4
-
5
- ## What it does
6
-
7
- Small chip used for counts, statuses, tags, or labels.
8
-
9
- ## When to use
10
-
11
- - Inline with text or as a counter on buttons / icons.
12
- - For a colored dot only (no text), use **status** instead.
13
- - For positioned overlays on other elements, wrap in **indicator**.
14
-
15
- ## Core classes
16
-
17
- `badge`; color `badge-primary|secondary|accent|info|success|warning|error|neutral|ghost`; style `badge-outline|dash|soft`; size `badge-xs|sm|md|lg|xl`.
18
-
19
- ## Examples
20
-
21
- ### Badge
22
-
23
- Source: `playground/components/badge/badge.html`
24
-
25
- ```html
26
- <span class="badge">Badge</span>
27
- ```
28
-
29
- ### Badge ghost
30
-
31
- Source: `playground/components/badge/badge-ghost.html`
32
-
33
- ```html
34
- <div class="badge badge-ghost">ghost</div>
35
- ```
36
-
37
- ### Badge in a button
38
-
39
- Source: `playground/components/badge/badge-in-a-button.html`
40
-
41
- ```html
42
- <button class="btn">
43
- Inbox <div class="badge badge-sm">+99</div>
44
- </button>
45
-
46
- <button class="btn">
47
- Inbox <div class="badge badge-sm badge-secondary">+99</div>
48
- </button>
49
- ```
50
-
51
- ### Badge in a text
52
-
53
- Source: `playground/components/badge/badge-in-a-text.html`
54
-
55
- ```html
56
- <h1 class="text-xl font-semibold">
57
- Heading 1 <span class="badge badge-xl">Badge</span>
58
- </h1>
59
-
60
- <h2 class="text-lg font-semibold">
61
- Heading 2 <span class="badge badge-lg">Badge</span>
62
- </h2>
63
-
64
- <h3 class="text-base font-semibold">
65
- Heading 3 <span class="badge badge-md">Badge</span>
66
- </h3>
67
-
68
- <h4 class="text-sm font-semibold">
69
- Heading 4 <span class="badge badge-sm">Badge</span>
70
- </h4>
71
-
72
- <h5 class="text-xs font-semibold">
73
- Heading 5 <span class="badge badge-xs">Badge</span>
74
- </h5>
75
-
76
- <p class="text-xs">
77
- Paragraph <span class="badge badge-xs">Badge</span>
78
- </p>
79
- ```
80
-
81
- ### Badge sizes
82
-
83
- Source: `playground/components/badge/badge-sizes.html`
84
-
85
- ```html
86
- <div class="badge badge-xs">Xsmall</div>
87
- <div class="badge badge-sm">Small</div>
88
- <div class="badge badge-md">Medium</div>
89
- <div class="badge badge-lg">Large</div>
90
- <div class="badge badge-xl">Xlarge</div>
91
- ```
92
-
93
- ### Badge with colors
94
-
95
- Source: `playground/components/badge/badge-with-colors.html`
96
-
97
- ```html
98
- <div class="badge badge-primary">Primary</div>
99
- <div class="badge badge-secondary">Secondary</div>
100
- <div class="badge badge-accent">Accent</div>
101
- <div class="badge badge-neutral">Neutral</div>
102
- <div class="badge badge-info">Info</div>
103
- <div class="badge badge-success">Success</div>
104
- <div class="badge badge-warning">Warning</div>
105
- <div class="badge badge-error">Error</div>
106
- ```
107
-
108
- ### Badge with dash style
109
-
110
- Source: `playground/components/badge/badge-with-dash-style.html`
111
-
112
- ```html
113
- <div class="badge badge-dash badge-primary">Primary</div>
114
- <div class="badge badge-dash badge-secondary">Secondary</div>
115
- <div class="badge badge-dash badge-accent">Accent</div>
116
- <div class="badge badge-dash badge-info">Info</div>
117
- <div class="badge badge-dash badge-success">Success</div>
118
- <div class="badge badge-dash badge-warning">Warning</div>
119
- <div class="badge badge-dash badge-error">Error</div>
120
- ```
121
-
122
- ### Badge with icon
123
-
124
- Source: `playground/components/badge/badge-with-icon.html`
125
-
126
- ```html
127
- <div class="badge badge-info">
128
- <svg class="size-[1em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="currentColor" stroke-linejoin="miter" stroke-linecap="butt"><circle cx="12" cy="12" r="10" fill="none" stroke="currentColor" stroke-linecap="square" stroke-miterlimit="10" stroke-width="2"></circle><path d="m12,17v-5.5c0-.276-.224-.5-.5-.5h-1.5" fill="none" stroke="currentColor" stroke-linecap="square" stroke-miterlimit="10" stroke-width="2"></path><circle cx="12" cy="7.25" r="1.25" fill="currentColor" stroke-width="2"></circle></g></svg>
129
- Info
130
- </div>
131
- <div class="badge badge-success">
132
- <svg class="size-[1em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="currentColor" stroke-linejoin="miter" stroke-linecap="butt"><circle cx="12" cy="12" r="10" fill="none" stroke="currentColor" stroke-linecap="square" stroke-miterlimit="10" stroke-width="2"></circle><polyline points="7 13 10 16 17 8" fill="none" stroke="currentColor" stroke-linecap="square" stroke-miterlimit="10" stroke-width="2"></polyline></g></svg>
133
- Success
134
- </div>
135
- <div class="badge badge-warning">
136
- <svg class="size-[1em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><g fill="currentColor"><path d="M7.638,3.495L2.213,12.891c-.605,1.048,.151,2.359,1.362,2.359H14.425c1.211,0,1.967-1.31,1.362-2.359L10.362,3.495c-.605-1.048-2.119-1.048-2.724,0Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><line x1="9" y1="6.5" x2="9" y2="10" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></line><path d="M9,13.569c-.552,0-1-.449-1-1s.448-1,1-1,1,.449,1,1-.448,1-1,1Z" fill="currentColor" data-stroke="none" stroke="none"></path></g></svg>
137
- Warning
138
- </div>
139
- <div class="badge badge-error">
140
- <svg class="size-[1em]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="currentColor"><rect x="1.972" y="11" width="20.056" height="2" transform="translate(-4.971 12) rotate(-45)" fill="currentColor" stroke-width="0"></rect><path d="m12,23c-6.065,0-11-4.935-11-11S5.935,1,12,1s11,4.935,11,11-4.935,11-11,11Zm0-20C7.038,3,3,7.037,3,12s4.038,9,9,9,9-4.037,9-9S16.962,3,12,3Z" stroke-width="0" fill="currentColor"></path></g></svg>
141
- Error
142
- </div>
143
- ```
144
-
145
- ### Badge with outline style
146
-
147
- Source: `playground/components/badge/badge-with-outline-style.html`
148
-
149
- ```html
150
- <div class="badge badge-outline badge-primary">Primary</div>
151
- <div class="badge badge-outline badge-secondary">Secondary</div>
152
- <div class="badge badge-outline badge-accent">Accent</div>
153
- <div class="badge badge-outline badge-info">Info</div>
154
- <div class="badge badge-outline badge-success">Success</div>
155
- <div class="badge badge-outline badge-warning">Warning</div>
156
- <div class="badge badge-outline badge-error">Error</div>
157
- ```
158
-
159
- ### Badge with soft style
160
-
161
- Source: `playground/components/badge/badge-with-soft-style.html`
162
-
163
- ```html
164
- <div class="badge badge-soft badge-primary">Primary</div>
165
- <div class="badge badge-soft badge-secondary">Secondary</div>
166
- <div class="badge badge-soft badge-accent">Accent</div>
167
- <div class="badge badge-soft badge-info">Info</div>
168
- <div class="badge badge-soft badge-success">Success</div>
169
- <div class="badge badge-soft badge-warning">Warning</div>
170
- <div class="badge badge-soft badge-error">Error</div>
171
- ```
172
-
173
- ### Empty badge
174
-
175
- Source: `playground/components/badge/empty-badge.html`
176
-
177
- ```html
178
- <div class="badge badge-primary badge-lg"></div>
179
- <div class="badge badge-primary badge-md"></div>
180
- <div class="badge badge-primary badge-sm"></div>
181
- <div class="badge badge-primary badge-xs"></div>
182
- ```
183
-
184
- ### Neutral badge with outline or dash style
185
-
186
- Source: `playground/components/badge/neutral-badge-with-outline-or-dash-style.html`
187
-
188
- ```html
189
- <div class="bg-white p-6">
190
- <div class="badge badge-neutral badge-outline">Outline</div>
191
- <div class="badge badge-neutral badge-dash">Dash</div>
192
- </div>
193
- ```
@@ -1,103 +0,0 @@
1
- # breadcrumbs
2
-
3
- _path-style navigation trail_
4
-
5
- ## What it does
6
-
7
- Horizontal trail of links showing the user's location in a hierarchy.
8
-
9
- ## When to use
10
-
11
- - Pages nested 2+ levels deep where users may want to jump back to an ancestor.
12
- - Skip on flat / single-level UIs.
13
-
14
- ## Examples
15
-
16
- ### Breadcrumbs
17
-
18
- Source: `playground/components/breadcrumbs/breadcrumbs.html`
19
-
20
- ```html
21
- <div class="breadcrumbs text-sm">
22
- <ul>
23
- <li><a>Home</a></li>
24
- <li><a>Documents</a></li>
25
- <li>Add Document</li>
26
- </ul>
27
- </div>
28
- ```
29
-
30
- ### Breadcrumbs with icons
31
-
32
- Source: `playground/components/breadcrumbs/breadcrumbs-with-icons.html`
33
-
34
- ```html
35
- <div class="breadcrumbs text-sm">
36
- <ul>
37
- <li>
38
- <a>
39
- <svg
40
- xmlns="http://www.w3.org/2000/svg"
41
- fill="none"
42
- viewBox="0 0 24 24"
43
- class="h-4 w-4 stroke-current">
44
- <path
45
- stroke-linecap="round"
46
- stroke-linejoin="round"
47
- stroke-width="2"
48
- d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"></path>
49
- </svg>
50
- Home
51
- </a>
52
- </li>
53
- <li>
54
- <a>
55
- <svg
56
- xmlns="http://www.w3.org/2000/svg"
57
- fill="none"
58
- viewBox="0 0 24 24"
59
- class="h-4 w-4 stroke-current">
60
- <path
61
- stroke-linecap="round"
62
- stroke-linejoin="round"
63
- stroke-width="2"
64
- d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"></path>
65
- </svg>
66
- Documents
67
- </a>
68
- </li>
69
- <li>
70
- <span class="inline-flex items-center gap-2">
71
- <svg
72
- xmlns="http://www.w3.org/2000/svg"
73
- fill="none"
74
- viewBox="0 0 24 24"
75
- class="h-4 w-4 stroke-current">
76
- <path
77
- stroke-linecap="round"
78
- stroke-linejoin="round"
79
- stroke-width="2"
80
- d="M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path>
81
- </svg>
82
- Add Document
83
- </span>
84
- </li>
85
- </ul>
86
- </div>
87
- ```
88
-
89
- ### Breadcrumbs with max width
90
-
91
- Source: `playground/components/breadcrumbs/breadcrumbs-with-max-width.html`
92
-
93
- ```html
94
- <div class="breadcrumbs max-w-xs text-sm">
95
- <ul>
96
- <li>Long text 1</li>
97
- <li>Long text 2</li>
98
- <li>Long text 3</li>
99
- <li>Long text 4</li>
100
- <li>Long text 5</li>
101
- </ul>
102
- </div>
103
- ```