@crystal-ui/core 2.0.0

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 (1067) hide show
  1. package/README.md +37 -0
  2. package/assets/core/preferences.d.ts +54 -0
  3. package/assets/core/preferences.js +77 -0
  4. package/assets/core/presets.d.ts +64 -0
  5. package/assets/core/presets.js +145 -0
  6. package/assets/core/spring.js +141 -0
  7. package/assets/core/state.d.ts +25 -0
  8. package/assets/core/state.js +57 -0
  9. package/assets/crystal-theme.css +433 -0
  10. package/assets/crystal.css +277 -0
  11. package/assets/crystal.d.ts +48 -0
  12. package/assets/crystal.js +224 -0
  13. package/assets/fonts/Manrope-LICENSE.txt +93 -0
  14. package/assets/fonts/manrope.woff2 +0 -0
  15. package/assets/grain.svg +1 -0
  16. package/assets/icon.svg +1 -0
  17. package/assets/icons/a-arrow-down.svg +1 -0
  18. package/assets/icons/a-arrow-up.svg +1 -0
  19. package/assets/icons/accessibility.svg +1 -0
  20. package/assets/icons/activity-square.svg +1 -0
  21. package/assets/icons/air-vent.svg +1 -0
  22. package/assets/icons/alarm-check.svg +1 -0
  23. package/assets/icons/alarm-clock-check.svg +1 -0
  24. package/assets/icons/alarm-clock-off.svg +1 -0
  25. package/assets/icons/alarm-minus.svg +1 -0
  26. package/assets/icons/alarm-smoke.svg +1 -0
  27. package/assets/icons/alert-circle.svg +1 -0
  28. package/assets/icons/alert-triangle.svg +1 -0
  29. package/assets/icons/align-center-horizontal.svg +1 -0
  30. package/assets/icons/align-end-horizontal.svg +1 -0
  31. package/assets/icons/align-horizontal-distribute-center.svg +1 -0
  32. package/assets/icons/align-horizontal-distribute-end.svg +1 -0
  33. package/assets/icons/align-horizontal-justify-center.svg +1 -0
  34. package/assets/icons/align-horizontal-justify-start.svg +1 -0
  35. package/assets/icons/align-horizontal-space-between.svg +1 -0
  36. package/assets/icons/align-left.svg +1 -0
  37. package/assets/icons/align-start-horizontal.svg +1 -0
  38. package/assets/icons/align-vertical-distribute-center.svg +1 -0
  39. package/assets/icons/align-vertical-distribute-start.svg +1 -0
  40. package/assets/icons/align-vertical-justify-end.svg +1 -0
  41. package/assets/icons/align-vertical-space-around.svg +1 -0
  42. package/assets/icons/ambulance.svg +1 -0
  43. package/assets/icons/ampersands.svg +1 -0
  44. package/assets/icons/anchor.svg +1 -0
  45. package/assets/icons/angry.svg +1 -0
  46. package/assets/icons/annoyed.svg +1 -0
  47. package/assets/icons/anvil.svg +1 -0
  48. package/assets/icons/app-window.svg +1 -0
  49. package/assets/icons/archive-x.svg +1 -0
  50. package/assets/icons/archive.svg +1 -0
  51. package/assets/icons/armchair.svg +1 -0
  52. package/assets/icons/arrow-big-down-dash.svg +1 -0
  53. package/assets/icons/arrow-big-left-dash.svg +1 -0
  54. package/assets/icons/arrow-big-right-dash.svg +1 -0
  55. package/assets/icons/arrow-big-up-dash.svg +1 -0
  56. package/assets/icons/arrow-down-01.svg +1 -0
  57. package/assets/icons/arrow-down-a-z.svg +1 -0
  58. package/assets/icons/arrow-down-circle.svg +1 -0
  59. package/assets/icons/arrow-down-left-from-square.svg +1 -0
  60. package/assets/icons/arrow-down-left-square.svg +1 -0
  61. package/assets/icons/arrow-down-left.svg +1 -0
  62. package/assets/icons/arrow-down-right-from-square.svg +1 -0
  63. package/assets/icons/arrow-down-right.svg +1 -0
  64. package/assets/icons/arrow-down-square.svg +1 -0
  65. package/assets/icons/arrow-down-to-line.svg +1 -0
  66. package/assets/icons/arrow-down-wide-narrow.svg +1 -0
  67. package/assets/icons/arrow-down-za.svg +1 -0
  68. package/assets/icons/arrow-left-circle.svg +1 -0
  69. package/assets/icons/arrow-left-right.svg +1 -0
  70. package/assets/icons/arrow-left-to-line.svg +1 -0
  71. package/assets/icons/arrow-right-circle.svg +1 -0
  72. package/assets/icons/arrow-right-left.svg +1 -0
  73. package/assets/icons/arrow-right-to-line.svg +1 -0
  74. package/assets/icons/arrow-up-01.svg +1 -0
  75. package/assets/icons/arrow-up-10.svg +1 -0
  76. package/assets/icons/arrow-up-az.svg +1 -0
  77. package/assets/icons/arrow-up-down.svg +1 -0
  78. package/assets/icons/arrow-up-from-line.svg +1 -0
  79. package/assets/icons/arrow-up-left-from-circle.svg +1 -0
  80. package/assets/icons/arrow-up-left-square.svg +1 -0
  81. package/assets/icons/arrow-up-right-from-square.svg +1 -0
  82. package/assets/icons/arrow-up-right.svg +1 -0
  83. package/assets/icons/arrow-up-square.svg +1 -0
  84. package/assets/icons/arrow-up-wide-narrow.svg +1 -0
  85. package/assets/icons/arrow-up-za.svg +1 -0
  86. package/assets/icons/asterisk.svg +1 -0
  87. package/assets/icons/astroid.svg +1 -0
  88. package/assets/icons/atom.svg +1 -0
  89. package/assets/icons/audio-lines-off.svg +1 -0
  90. package/assets/icons/audio-lines-x.svg +1 -0
  91. package/assets/icons/award.svg +1 -0
  92. package/assets/icons/axis-3-d.svg +1 -0
  93. package/assets/icons/baby.svg +1 -0
  94. package/assets/icons/badge-cent.svg +1 -0
  95. package/assets/icons/badge-dollar-sign.svg +1 -0
  96. package/assets/icons/badge-help.svg +1 -0
  97. package/assets/icons/badge-info.svg +1 -0
  98. package/assets/icons/badge-minus.svg +1 -0
  99. package/assets/icons/badge-plus.svg +1 -0
  100. package/assets/icons/badge-question-mark.svg +1 -0
  101. package/assets/icons/badge-swiss-franc.svg +1 -0
  102. package/assets/icons/badge-x.svg +1 -0
  103. package/assets/icons/badge.svg +1 -0
  104. package/assets/icons/baggage-claim.svg +1 -0
  105. package/assets/icons/ban.svg +1 -0
  106. package/assets/icons/bandage.svg +1 -0
  107. package/assets/icons/banknote-arrow-down.svg +1 -0
  108. package/assets/icons/banknote-check.svg +1 -0
  109. package/assets/icons/bar-chart-horizontal.svg +1 -0
  110. package/assets/icons/bar-chart.svg +1 -0
  111. package/assets/icons/barcode.svg +1 -0
  112. package/assets/icons/baseline.svg +1 -0
  113. package/assets/icons/battery-full.svg +1 -0
  114. package/assets/icons/battery-medium.svg +1 -0
  115. package/assets/icons/battery-warning.svg +1 -0
  116. package/assets/icons/battery.svg +1 -0
  117. package/assets/icons/bean.svg +1 -0
  118. package/assets/icons/bed-double.svg +1 -0
  119. package/assets/icons/bed.svg +1 -0
  120. package/assets/icons/beef.svg +1 -0
  121. package/assets/icons/beer.svg +1 -0
  122. package/assets/icons/bell-dot.svg +1 -0
  123. package/assets/icons/bell-minus.svg +1 -0
  124. package/assets/icons/bell-plus.svg +1 -0
  125. package/assets/icons/bell.svg +1 -0
  126. package/assets/icons/between-horizonal-end.svg +1 -0
  127. package/assets/icons/between-horizontal-end.svg +1 -0
  128. package/assets/icons/between-vertical-end.svg +1 -0
  129. package/assets/icons/biceps-flexed.svg +1 -0
  130. package/assets/icons/binary.svg +1 -0
  131. package/assets/icons/biohazard.svg +1 -0
  132. package/assets/icons/birdhouse.svg +1 -0
  133. package/assets/icons/blend.svg +1 -0
  134. package/assets/icons/blinds.svg +1 -0
  135. package/assets/icons/bluetooth-off.svg +1 -0
  136. package/assets/icons/bluetooth.svg +1 -0
  137. package/assets/icons/bold.svg +1 -0
  138. package/assets/icons/bomb.svg +1 -0
  139. package/assets/icons/bone-fracture.svg +1 -0
  140. package/assets/icons/book-a.svg +1 -0
  141. package/assets/icons/book-audio.svg +1 -0
  142. package/assets/icons/book-check.svg +1 -0
  143. package/assets/icons/book-down.svg +1 -0
  144. package/assets/icons/book-heart.svg +1 -0
  145. package/assets/icons/book-key.svg +1 -0
  146. package/assets/icons/book-marked.svg +1 -0
  147. package/assets/icons/book-open-check.svg +1 -0
  148. package/assets/icons/book-open.svg +1 -0
  149. package/assets/icons/book-plus.svg +1 -0
  150. package/assets/icons/book-template.svg +1 -0
  151. package/assets/icons/book-type.svg +1 -0
  152. package/assets/icons/book-user.svg +1 -0
  153. package/assets/icons/bookmark-minus.svg +1 -0
  154. package/assets/icons/bookmark-plus.svg +1 -0
  155. package/assets/icons/bookmark.svg +1 -0
  156. package/assets/icons/boom-box.svg +1 -0
  157. package/assets/icons/bot-message-square.svg +1 -0
  158. package/assets/icons/bottle-wine.svg +1 -0
  159. package/assets/icons/box.svg +1 -0
  160. package/assets/icons/boxes.svg +1 -0
  161. package/assets/icons/brackets.svg +1 -0
  162. package/assets/icons/brain-cog.svg +1 -0
  163. package/assets/icons/brain.svg +1 -0
  164. package/assets/icons/brick-wall-fire.svg +1 -0
  165. package/assets/icons/bridge.svg +1 -0
  166. package/assets/icons/briefcase-business.svg +1 -0
  167. package/assets/icons/briefcase-medical.svg +1 -0
  168. package/assets/icons/broccoli.svg +1 -0
  169. package/assets/icons/broom-sparkles.svg +1 -0
  170. package/assets/icons/brush-cleaning.svg +1 -0
  171. package/assets/icons/bug-play.svg +1 -0
  172. package/assets/icons/bug.svg +1 -0
  173. package/assets/icons/building-complex.svg +1 -0
  174. package/assets/icons/bus.svg +1 -0
  175. package/assets/icons/cable.svg +1 -0
  176. package/assets/icons/cake-slice.svg +1 -0
  177. package/assets/icons/cake.svg +1 -0
  178. package/assets/icons/calendar-arrow-up.svg +1 -0
  179. package/assets/icons/calendar-chevrons-right.svg +1 -0
  180. package/assets/icons/calendar-cog.svg +1 -0
  181. package/assets/icons/calendar-fold.svg +1 -0
  182. package/assets/icons/calendar-minus.svg +1 -0
  183. package/assets/icons/calendar-plus.svg +1 -0
  184. package/assets/icons/calendar-search.svg +1 -0
  185. package/assets/icons/calendar-x.svg +1 -0
  186. package/assets/icons/calendar.svg +1 -0
  187. package/assets/icons/camera.svg +1 -0
  188. package/assets/icons/can.svg +1 -0
  189. package/assets/icons/candlestick-chart.svg +1 -0
  190. package/assets/icons/candy-cane.svg +1 -0
  191. package/assets/icons/candy-off.svg +1 -0
  192. package/assets/icons/cannabis-off.svg +1 -0
  193. package/assets/icons/captions-off.svg +1 -0
  194. package/assets/icons/car-battery.svg +1 -0
  195. package/assets/icons/car-taxi-front.svg +1 -0
  196. package/assets/icons/card-sim.svg +1 -0
  197. package/assets/icons/carton.svg +1 -0
  198. package/assets/icons/case-lower.svg +1 -0
  199. package/assets/icons/case-upper.svg +1 -0
  200. package/assets/icons/cast.svg +1 -0
  201. package/assets/icons/cat.svg +1 -0
  202. package/assets/icons/cctv-off.svg +1 -0
  203. package/assets/icons/chart-bar-decreasing.svg +1 -0
  204. package/assets/icons/chart-bar-stacked.svg +1 -0
  205. package/assets/icons/chart-bar.svg +1 -0
  206. package/assets/icons/chart-candlestick.svg +1 -0
  207. package/assets/icons/chart-column-big.svg +1 -0
  208. package/assets/icons/chart-column-increasing.svg +1 -0
  209. package/assets/icons/chart-gantt.svg +1 -0
  210. package/assets/icons/chart-network.svg +1 -0
  211. package/assets/icons/chart-no-axes-column-decreasing.svg +1 -0
  212. package/assets/icons/chart-no-axes-combined.svg +1 -0
  213. package/assets/icons/chart-pie.svg +1 -0
  214. package/assets/icons/chart-spline.svg +1 -0
  215. package/assets/icons/check-check.svg +1 -0
  216. package/assets/icons/check-line.svg +1 -0
  217. package/assets/icons/chef-hat.svg +1 -0
  218. package/assets/icons/chess-bishop.svg +1 -0
  219. package/assets/icons/chess-knight.svg +1 -0
  220. package/assets/icons/chess-pawn.svg +1 -0
  221. package/assets/icons/chess-rook.svg +1 -0
  222. package/assets/icons/chevron-down-circle.svg +1 -0
  223. package/assets/icons/chevron-first.svg +1 -0
  224. package/assets/icons/chevron-left-square.svg +1 -0
  225. package/assets/icons/chevron-left.svg +1 -0
  226. package/assets/icons/chevron-right-circle.svg +1 -0
  227. package/assets/icons/chevron-up-square.svg +1 -0
  228. package/assets/icons/chevron-up.svg +1 -0
  229. package/assets/icons/chevrons-down-up.svg +1 -0
  230. package/assets/icons/chevrons-left-right.svg +1 -0
  231. package/assets/icons/chevrons-right.svg +1 -0
  232. package/assets/icons/chevrons-up.svg +1 -0
  233. package/assets/icons/church.svg +1 -0
  234. package/assets/icons/cigarette-off.svg +1 -0
  235. package/assets/icons/circle-check.svg +1 -0
  236. package/assets/icons/circle-dashed-check.svg +1 -0
  237. package/assets/icons/circle-dollar-sign.svg +1 -0
  238. package/assets/icons/circle-ellipsis.svg +1 -0
  239. package/assets/icons/circle-euro.svg +1 -0
  240. package/assets/icons/circle-fading-plus.svg +1 -0
  241. package/assets/icons/circle-help.svg +1 -0
  242. package/assets/icons/circle-off.svg +1 -0
  243. package/assets/icons/circle-parking-off.svg +1 -0
  244. package/assets/icons/circle-percent.svg +1 -0
  245. package/assets/icons/circle-play.svg +1 -0
  246. package/assets/icons/circle-pound-sterling.svg +1 -0
  247. package/assets/icons/circle-question-mark.svg +1 -0
  248. package/assets/icons/circle-slash.svg +1 -0
  249. package/assets/icons/circle-small.svg +1 -0
  250. package/assets/icons/circle-stop.svg +1 -0
  251. package/assets/icons/circle-user-round.svg +1 -0
  252. package/assets/icons/circle.svg +1 -0
  253. package/assets/icons/circuit-board.svg +1 -0
  254. package/assets/icons/clapperboard.svg +1 -0
  255. package/assets/icons/clef-bass.svg +1 -0
  256. package/assets/icons/clipboard-clock.svg +1 -0
  257. package/assets/icons/clipboard-edit.svg +1 -0
  258. package/assets/icons/clipboard-minus.svg +1 -0
  259. package/assets/icons/clipboard-pen.svg +1 -0
  260. package/assets/icons/clipboard-plus.svg +1 -0
  261. package/assets/icons/clipboard-type.svg +1 -0
  262. package/assets/icons/clipboard.svg +1 -0
  263. package/assets/icons/clock-10.svg +1 -0
  264. package/assets/icons/clock-12.svg +1 -0
  265. package/assets/icons/clock-arrow-down.svg +1 -0
  266. package/assets/icons/clock-arrow-right.svg +1 -0
  267. package/assets/icons/clock-check.svg +1 -0
  268. package/assets/icons/clock-plus.svg +1 -0
  269. package/assets/icons/clock.svg +1 -0
  270. package/assets/icons/cloud-backup.svg +1 -0
  271. package/assets/icons/cloud-cog.svg +1 -0
  272. package/assets/icons/cloud-drizzle.svg +1 -0
  273. package/assets/icons/cloud-hail.svg +1 -0
  274. package/assets/icons/cloud-moon.svg +1 -0
  275. package/assets/icons/cloud-off.svg +1 -0
  276. package/assets/icons/cloud-rain-wind.svg +1 -0
  277. package/assets/icons/cloud-snow.svg +1 -0
  278. package/assets/icons/cloud-sun-rain.svg +1 -0
  279. package/assets/icons/cloud-upload.svg +1 -0
  280. package/assets/icons/cloud.svg +1 -0
  281. package/assets/icons/clover.svg +1 -0
  282. package/assets/icons/code-xml.svg +1 -0
  283. package/assets/icons/code.svg +1 -0
  284. package/assets/icons/cog.svg +1 -0
  285. package/assets/icons/columns-settings.svg +1 -0
  286. package/assets/icons/columns.svg +1 -0
  287. package/assets/icons/command.svg +1 -0
  288. package/assets/icons/component.svg +1 -0
  289. package/assets/icons/concierge-bell.svg +1 -0
  290. package/assets/icons/construction.svg +1 -0
  291. package/assets/icons/contact-round.svg +1 -0
  292. package/assets/icons/contrast.svg +1 -0
  293. package/assets/icons/cookie.svg +1 -0
  294. package/assets/icons/copy-minus.svg +1 -0
  295. package/assets/icons/copy-slash.svg +1 -0
  296. package/assets/icons/copy.svg +1 -0
  297. package/assets/icons/copyleft.svg +1 -0
  298. package/assets/icons/corner-down-left.svg +1 -0
  299. package/assets/icons/corner-left-down.svg +1 -0
  300. package/assets/icons/corner-right-down.svg +1 -0
  301. package/assets/icons/corner-up-left.svg +1 -0
  302. package/assets/icons/cpu.svg +1 -0
  303. package/assets/icons/credit-card-minus.svg +1 -0
  304. package/assets/icons/credit-card-reader.svg +1 -0
  305. package/assets/icons/credit-card.svg +1 -0
  306. package/assets/icons/croissant.svg +1 -0
  307. package/assets/icons/crop.svg +1 -0
  308. package/assets/icons/crosshair.svg +1 -0
  309. package/assets/icons/cuboid.svg +1 -0
  310. package/assets/icons/cupcake.svg +1 -0
  311. package/assets/icons/currency.svg +1 -0
  312. package/assets/icons/dam.svg +1 -0
  313. package/assets/icons/database-arrow-down.svg +1 -0
  314. package/assets/icons/database-backup.svg +1 -0
  315. package/assets/icons/database-minus.svg +1 -0
  316. package/assets/icons/database-search.svg +1 -0
  317. package/assets/icons/database-zap.svg +1 -0
  318. package/assets/icons/decimals-arrow-right.svg +1 -0
  319. package/assets/icons/dessert.svg +1 -0
  320. package/assets/icons/diamond-percent.svg +1 -0
  321. package/assets/icons/diamond-plus.svg +1 -0
  322. package/assets/icons/diamond.svg +1 -0
  323. package/assets/icons/diff.svg +1 -0
  324. package/assets/icons/disc-album.svg +1 -0
  325. package/assets/icons/divide-circle.svg +1 -0
  326. package/assets/icons/dna.svg +1 -0
  327. package/assets/icons/dock.svg +1 -0
  328. package/assets/icons/dollar-sign.svg +1 -0
  329. package/assets/icons/donut.svg +1 -0
  330. package/assets/icons/door-closed-locked.svg +1 -0
  331. package/assets/icons/door-open.svg +1 -0
  332. package/assets/icons/dot.svg +1 -0
  333. package/assets/icons/download.svg +1 -0
  334. package/assets/icons/drafting-compass.svg +1 -0
  335. package/assets/icons/drill.svg +1 -0
  336. package/assets/icons/drone.svg +1 -0
  337. package/assets/icons/droplet-off.svg +1 -0
  338. package/assets/icons/drum.svg +1 -0
  339. package/assets/icons/dumbbell.svg +1 -0
  340. package/assets/icons/ear-off.svg +1 -0
  341. package/assets/icons/earth-lock.svg +1 -0
  342. package/assets/icons/edit.svg +1 -0
  343. package/assets/icons/egg-fried.svg +1 -0
  344. package/assets/icons/eject.svg +1 -0
  345. package/assets/icons/ellipsis.svg +1 -0
  346. package/assets/icons/engine.svg +1 -0
  347. package/assets/icons/equal-approximately.svg +1 -0
  348. package/assets/icons/equal-not.svg +1 -0
  349. package/assets/icons/eraser.svg +1 -0
  350. package/assets/icons/euro.svg +1 -0
  351. package/assets/icons/ev-charger.svg +1 -0
  352. package/assets/icons/external-link.svg +1 -0
  353. package/assets/icons/eye-closed.svg +1 -0
  354. package/assets/icons/face-angry.svg +1 -0
  355. package/assets/icons/face-grinning.svg +1 -0
  356. package/assets/icons/face-slightly-frowning.svg +1 -0
  357. package/assets/icons/face-slightly-smiling-plus.svg +1 -0
  358. package/assets/icons/fan.svg +1 -0
  359. package/assets/icons/faucet.svg +1 -0
  360. package/assets/icons/fence.svg +1 -0
  361. package/assets/icons/file-audio.svg +1 -0
  362. package/assets/icons/file-axis-3d.svg +1 -0
  363. package/assets/icons/file-bar-chart.svg +1 -0
  364. package/assets/icons/file-box.svg +1 -0
  365. package/assets/icons/file-braces-corner.svg +1 -0
  366. package/assets/icons/file-chart-column-increasing.svg +1 -0
  367. package/assets/icons/file-chart-pie.svg +1 -0
  368. package/assets/icons/file-check-corner.svg +1 -0
  369. package/assets/icons/file-code.svg +1 -0
  370. package/assets/icons/file-cog.svg +1 -0
  371. package/assets/icons/file-digit.svg +1 -0
  372. package/assets/icons/file-edit.svg +1 -0
  373. package/assets/icons/file-headphone.svg +1 -0
  374. package/assets/icons/file-image.svg +1 -0
  375. package/assets/icons/file-json.svg +1 -0
  376. package/assets/icons/file-line-chart.svg +1 -0
  377. package/assets/icons/file-minus.svg +1 -0
  378. package/assets/icons/file-music.svg +1 -0
  379. package/assets/icons/file-output.svg +1 -0
  380. package/assets/icons/file-pen-line.svg +1 -0
  381. package/assets/icons/file-play.svg +1 -0
  382. package/assets/icons/file-plus-corner.svg +1 -0
  383. package/assets/icons/file-question-mark.svg +1 -0
  384. package/assets/icons/file-search.svg +1 -0
  385. package/assets/icons/file-signal.svg +1 -0
  386. package/assets/icons/file-sliders.svg +1 -0
  387. package/assets/icons/file-stack.svg +1 -0
  388. package/assets/icons/file-terminal.svg +1 -0
  389. package/assets/icons/file-type.svg +1 -0
  390. package/assets/icons/file-up.svg +1 -0
  391. package/assets/icons/file-video.svg +1 -0
  392. package/assets/icons/file-volume.svg +1 -0
  393. package/assets/icons/file-warning.svg +1 -0
  394. package/assets/icons/file-x-corner.svg +1 -0
  395. package/assets/icons/file.svg +1 -0
  396. package/assets/icons/film.svg +1 -0
  397. package/assets/icons/filter-x.svg +1 -0
  398. package/assets/icons/fingerprint-pattern.svg +1 -0
  399. package/assets/icons/fish-symbol.svg +1 -0
  400. package/assets/icons/fish.svg +1 -0
  401. package/assets/icons/fishing-rod.svg +1 -0
  402. package/assets/icons/flag-off.svg +1 -0
  403. package/assets/icons/flag-triangle-right.svg +1 -0
  404. package/assets/icons/flame-kindling.svg +1 -0
  405. package/assets/icons/flashlight-off.svg +1 -0
  406. package/assets/icons/flask-conical-off.svg +1 -0
  407. package/assets/icons/flip-horizontal.svg +1 -0
  408. package/assets/icons/flower.svg +1 -0
  409. package/assets/icons/focus.svg +1 -0
  410. package/assets/icons/fold-vertical.svg +1 -0
  411. package/assets/icons/folder-archive.svg +1 -0
  412. package/assets/icons/folder-check.svg +1 -0
  413. package/assets/icons/folder-closed.svg +1 -0
  414. package/assets/icons/folder-cog.svg +1 -0
  415. package/assets/icons/folder-down.svg +1 -0
  416. package/assets/icons/folder-git.svg +1 -0
  417. package/assets/icons/folder-input.svg +1 -0
  418. package/assets/icons/folder-key.svg +1 -0
  419. package/assets/icons/folder-minus.svg +1 -0
  420. package/assets/icons/folder-open-dot.svg +1 -0
  421. package/assets/icons/folder-pen.svg +1 -0
  422. package/assets/icons/folder-root.svg +1 -0
  423. package/assets/icons/folder-search.svg +1 -0
  424. package/assets/icons/folder-sync.svg +1 -0
  425. package/assets/icons/folder-up.svg +1 -0
  426. package/assets/icons/folders.svg +1 -0
  427. package/assets/icons/fork-knife.svg +1 -0
  428. package/assets/icons/forklift.svg +1 -0
  429. package/assets/icons/form-input.svg +1 -0
  430. package/assets/icons/frame.svg +1 -0
  431. package/assets/icons/fuel.svg +1 -0
  432. package/assets/icons/function-square.svg +1 -0
  433. package/assets/icons/funnel-plus.svg +1 -0
  434. package/assets/icons/galaxy.svg +1 -0
  435. package/assets/icons/gallery-horizontal-end.svg +1 -0
  436. package/assets/icons/gallery-vertical.svg +1 -0
  437. package/assets/icons/gamepad-directional.svg +1 -0
  438. package/assets/icons/gamepad.svg +1 -0
  439. package/assets/icons/gantt-chart-square.svg +1 -0
  440. package/assets/icons/gap-vertical.svg +1 -0
  441. package/assets/icons/gauge-circle.svg +1 -0
  442. package/assets/icons/gem.svg +1 -0
  443. package/assets/icons/germ.svg +1 -0
  444. package/assets/icons/ghost.svg +1 -0
  445. package/assets/icons/git-branch-plus.svg +1 -0
  446. package/assets/icons/git-branch.svg +1 -0
  447. package/assets/icons/git-commit-horizontal.svg +1 -0
  448. package/assets/icons/git-compare.svg +1 -0
  449. package/assets/icons/git-fork.svg +1 -0
  450. package/assets/icons/git-merge.svg +1 -0
  451. package/assets/icons/git-pull-request-arrow.svg +1 -0
  452. package/assets/icons/git-pull-request-create.svg +1 -0
  453. package/assets/icons/git-pull-request-draft.svg +1 -0
  454. package/assets/icons/git-pull-request.svg +1 -0
  455. package/assets/icons/glasses.svg +1 -0
  456. package/assets/icons/globe-check.svg +1 -0
  457. package/assets/icons/globe-lock.svg +1 -0
  458. package/assets/icons/globe-x.svg +1 -0
  459. package/assets/icons/gpu.svg +1 -0
  460. package/assets/icons/graduation-cap.svg +1 -0
  461. package/assets/icons/grid-2-x-2-plus.svg +1 -0
  462. package/assets/icons/grid-2x2-plus.svg +1 -0
  463. package/assets/icons/grid-2x2.svg +1 -0
  464. package/assets/icons/grid-3x2.svg +1 -0
  465. package/assets/icons/grid.svg +1 -0
  466. package/assets/icons/grip-horizontal.svg +1 -0
  467. package/assets/icons/grip.svg +1 -0
  468. package/assets/icons/group.svg +1 -0
  469. package/assets/icons/ham.svg +1 -0
  470. package/assets/icons/hammer.svg +1 -0
  471. package/assets/icons/hand-coins.svg +1 -0
  472. package/assets/icons/hand-grab.svg +1 -0
  473. package/assets/icons/hand-helping.svg +1 -0
  474. package/assets/icons/hand-platter.svg +1 -0
  475. package/assets/icons/handshake.svg +1 -0
  476. package/assets/icons/hard-drive-download.svg +1 -0
  477. package/assets/icons/hard-hat.svg +1 -0
  478. package/assets/icons/hat-glasses.svg +1 -0
  479. package/assets/icons/hd.svg +1 -0
  480. package/assets/icons/heading.svg +1 -0
  481. package/assets/icons/headphone-off.svg +1 -0
  482. package/assets/icons/headset.svg +1 -0
  483. package/assets/icons/heart-crack.svg +1 -0
  484. package/assets/icons/heart-minus.svg +1 -0
  485. package/assets/icons/heart-plus.svg +1 -0
  486. package/assets/icons/heart-x.svg +1 -0
  487. package/assets/icons/helicopter.svg +1 -0
  488. package/assets/icons/helping-hand.svg +1 -0
  489. package/assets/icons/highlighter.svg +1 -0
  490. package/assets/icons/home.svg +1 -0
  491. package/assets/icons/hop-off.svg +1 -0
  492. package/assets/icons/hotel.svg +1 -0
  493. package/assets/icons/hourglass-cog.svg +1 -0
  494. package/assets/icons/house-heart.svg +1 -0
  495. package/assets/icons/house-plus.svg +1 -0
  496. package/assets/icons/house-wifi.svg +1 -0
  497. package/assets/icons/ice-cream-cone.svg +1 -0
  498. package/assets/icons/ice-cream.svg +1 -0
  499. package/assets/icons/id-card-lanyard.svg +1 -0
  500. package/assets/icons/image-down.svg +1 -0
  501. package/assets/icons/image-off.svg +1 -0
  502. package/assets/icons/image-plus.svg +1 -0
  503. package/assets/icons/image-upscale.svg +1 -0
  504. package/assets/icons/import.svg +1 -0
  505. package/assets/icons/indent-increase.svg +1 -0
  506. package/assets/icons/indent.svg +1 -0
  507. package/assets/icons/infinity.svg +1 -0
  508. package/assets/icons/inspect.svg +1 -0
  509. package/assets/icons/italic.svg +1 -0
  510. package/assets/icons/iteration-ccw.svg +1 -0
  511. package/assets/icons/iv-bag.svg +1 -0
  512. package/assets/icons/joystick.svg +1 -0
  513. package/assets/icons/kanban-square.svg +1 -0
  514. package/assets/icons/key-square.svg +1 -0
  515. package/assets/icons/key.svg +1 -0
  516. package/assets/icons/keyboard-music.svg +1 -0
  517. package/assets/icons/lambda.svg +1 -0
  518. package/assets/icons/lamp-ceiling.svg +1 -0
  519. package/assets/icons/lamp-floor.svg +1 -0
  520. package/assets/icons/lamp-wall-up.svg +1 -0
  521. package/assets/icons/landmark.svg +1 -0
  522. package/assets/icons/laptop-minimal-check.svg +1 -0
  523. package/assets/icons/laptop.svg +1 -0
  524. package/assets/icons/lasso-select.svg +1 -0
  525. package/assets/icons/laugh.svg +1 -0
  526. package/assets/icons/layer-arrow-up.svg +1 -0
  527. package/assets/icons/layers-arrow-down.svg +1 -0
  528. package/assets/icons/layers-minus.svg +1 -0
  529. package/assets/icons/layout-arrow-right.svg +1 -0
  530. package/assets/icons/layout-freeform.svg +1 -0
  531. package/assets/icons/layout-list.svg +1 -0
  532. package/assets/icons/layout-panel-top.svg +1 -0
  533. package/assets/icons/layout.svg +1 -0
  534. package/assets/icons/leaf.svg +1 -0
  535. package/assets/icons/lectern.svg +1 -0
  536. package/assets/icons/lens-convex.svg +1 -0
  537. package/assets/icons/library-square.svg +1 -0
  538. package/assets/icons/life-buoy.svg +1 -0
  539. package/assets/icons/lightbulb.svg +1 -0
  540. package/assets/icons/lighthouse.svg +1 -0
  541. package/assets/icons/line-dot-right-horizontal.svg +1 -0
  542. package/assets/icons/line-style.svg +1 -0
  543. package/assets/icons/link-2-off.svg +1 -0
  544. package/assets/icons/list-check.svg +1 -0
  545. package/assets/icons/list-chevrons-down-up.svg +1 -0
  546. package/assets/icons/list-clock.svg +1 -0
  547. package/assets/icons/list-end.svg +1 -0
  548. package/assets/icons/list-filter-plus.svg +1 -0
  549. package/assets/icons/list-indent-increase.svg +1 -0
  550. package/assets/icons/list-music.svg +1 -0
  551. package/assets/icons/list-plus.svg +1 -0
  552. package/assets/icons/list-sort-ascending.svg +1 -0
  553. package/assets/icons/list-sort-descending.svg +1 -0
  554. package/assets/icons/list-todo.svg +1 -0
  555. package/assets/icons/list-video.svg +1 -0
  556. package/assets/icons/loader-pinwheel.svg +1 -0
  557. package/assets/icons/loader.svg +1 -0
  558. package/assets/icons/locate-fixed.svg +1 -0
  559. package/assets/icons/location-edit.svg +1 -0
  560. package/assets/icons/lock-keyhole.svg +1 -0
  561. package/assets/icons/lock-open.svg +1 -0
  562. package/assets/icons/log-out.svg +1 -0
  563. package/assets/icons/lollipop.svg +1 -0
  564. package/assets/icons/m-square.svg +1 -0
  565. package/assets/icons/mail-check.svg +1 -0
  566. package/assets/icons/mail-clock.svg +1 -0
  567. package/assets/icons/mail-open.svg +1 -0
  568. package/assets/icons/mail-plus.svg +1 -0
  569. package/assets/icons/mail-question-mark.svg +1 -0
  570. package/assets/icons/mail-warning.svg +1 -0
  571. package/assets/icons/mail.svg +1 -0
  572. package/assets/icons/mailbox.svg +1 -0
  573. package/assets/icons/manifest.json +6089 -0
  574. package/assets/icons/map-pin-check-inside.svg +1 -0
  575. package/assets/icons/map-pin-minus.svg +1 -0
  576. package/assets/icons/map-pin-off.svg +1 -0
  577. package/assets/icons/map-pin-plus.svg +1 -0
  578. package/assets/icons/map-pin-search.svg +1 -0
  579. package/assets/icons/map-pin-x-inside.svg +1 -0
  580. package/assets/icons/map-pin.svg +1 -0
  581. package/assets/icons/map-plus.svg +1 -0
  582. package/assets/icons/map.svg +1 -0
  583. package/assets/icons/mars.svg +1 -0
  584. package/assets/icons/martini.svg +1 -0
  585. package/assets/icons/medal.svg +1 -0
  586. package/assets/icons/megaphone-off.svg +1 -0
  587. package/assets/icons/memory-stick.svg +1 -0
  588. package/assets/icons/menu-square.svg +1 -0
  589. package/assets/icons/message-circle-code.svg +1 -0
  590. package/assets/icons/message-circle-heart.svg +1 -0
  591. package/assets/icons/message-circle-off.svg +1 -0
  592. package/assets/icons/message-circle-question.svg +1 -0
  593. package/assets/icons/message-circle-reply.svg +1 -0
  594. package/assets/icons/message-circle-x.svg +1 -0
  595. package/assets/icons/message-circle.svg +1 -0
  596. package/assets/icons/message-square-check.svg +1 -0
  597. package/assets/icons/message-square-code.svg +1 -0
  598. package/assets/icons/message-square-dot.svg +1 -0
  599. package/assets/icons/message-square-lock.svg +1 -0
  600. package/assets/icons/message-square-off.svg +1 -0
  601. package/assets/icons/message-square-quote.svg +1 -0
  602. package/assets/icons/message-square-share.svg +1 -0
  603. package/assets/icons/message-square-warning.svg +1 -0
  604. package/assets/icons/messages-circle.svg +1 -0
  605. package/assets/icons/metronome.svg +1 -0
  606. package/assets/icons/mic-audio-lines.svg +1 -0
  607. package/assets/icons/mic-signal.svg +1 -0
  608. package/assets/icons/microchip.svg +1 -0
  609. package/assets/icons/microwave.svg +1 -0
  610. package/assets/icons/milestone.svg +1 -0
  611. package/assets/icons/milk-off.svg +1 -0
  612. package/assets/icons/minimize.svg +1 -0
  613. package/assets/icons/minus-circle.svg +1 -0
  614. package/assets/icons/mirror-rectangular.svg +1 -0
  615. package/assets/icons/monitor-cloud.svg +1 -0
  616. package/assets/icons/monitor-dot.svg +1 -0
  617. package/assets/icons/monitor-off.svg +1 -0
  618. package/assets/icons/monitor-pc.svg +1 -0
  619. package/assets/icons/monitor-smartphone.svg +1 -0
  620. package/assets/icons/monitor-stop.svg +1 -0
  621. package/assets/icons/monitor-x.svg +1 -0
  622. package/assets/icons/monitor.svg +1 -0
  623. package/assets/icons/moon-star.svg +1 -0
  624. package/assets/icons/mop-sparkles.svg +1 -0
  625. package/assets/icons/more-vertical.svg +1 -0
  626. package/assets/icons/mosque.svg +1 -0
  627. package/assets/icons/mountain.svg +1 -0
  628. package/assets/icons/mouse-off.svg +1 -0
  629. package/assets/icons/mouse-pointer-2-off.svg +1 -0
  630. package/assets/icons/mouse-pointer-click.svg +1 -0
  631. package/assets/icons/mouse.svg +1 -0
  632. package/assets/icons/mouth.svg +1 -0
  633. package/assets/icons/move-3d.svg +1 -0
  634. package/assets/icons/move-down-right.svg +1 -0
  635. package/assets/icons/move-down.svg +1 -0
  636. package/assets/icons/move-left.svg +1 -0
  637. package/assets/icons/move-up-right.svg +1 -0
  638. package/assets/icons/move-up.svg +1 -0
  639. package/assets/icons/move.svg +1 -0
  640. package/assets/icons/music.svg +1 -0
  641. package/assets/icons/navigation-off.svg +1 -0
  642. package/assets/icons/navigation.svg +1 -0
  643. package/assets/icons/network.svg +1 -0
  644. package/assets/icons/non-binary.svg +1 -0
  645. package/assets/icons/notebook-dot.svg +1 -0
  646. package/assets/icons/notebook-tabs.svg +1 -0
  647. package/assets/icons/notepad-text.svg +1 -0
  648. package/assets/icons/nut-off.svg +1 -0
  649. package/assets/icons/octagon-alert.svg +1 -0
  650. package/assets/icons/octagon-pause.svg +1 -0
  651. package/assets/icons/omega.svg +1 -0
  652. package/assets/icons/orbit.svg +1 -0
  653. package/assets/icons/outdent.svg +1 -0
  654. package/assets/icons/package-check.svg +1 -0
  655. package/assets/icons/package-minus.svg +1 -0
  656. package/assets/icons/package-plus.svg +1 -0
  657. package/assets/icons/package-x.svg +1 -0
  658. package/assets/icons/paint-roller.svg +1 -0
  659. package/assets/icons/paintbrush-vertical.svg +1 -0
  660. package/assets/icons/palmtree.svg +1 -0
  661. package/assets/icons/panel-bottom-inactive.svg +1 -0
  662. package/assets/icons/panel-bottom.svg +1 -0
  663. package/assets/icons/panel-left-inactive.svg +1 -0
  664. package/assets/icons/panel-left.svg +1 -0
  665. package/assets/icons/panel-right-inactive.svg +1 -0
  666. package/assets/icons/panel-right.svg +1 -0
  667. package/assets/icons/panel-top-inactive.svg +1 -0
  668. package/assets/icons/panel-top.svg +1 -0
  669. package/assets/icons/panels-left-bottom.svg +1 -0
  670. package/assets/icons/panels-left-right.svg +1 -0
  671. package/assets/icons/panels-top-bottom.svg +1 -0
  672. package/assets/icons/paper-bag.svg +1 -0
  673. package/assets/icons/parasol.svg +1 -0
  674. package/assets/icons/park.svg +1 -0
  675. package/assets/icons/parking-circle-off.svg +1 -0
  676. package/assets/icons/parking-square.svg +1 -0
  677. package/assets/icons/party-popper.svg +1 -0
  678. package/assets/icons/pause-circle.svg +1 -0
  679. package/assets/icons/paw-print.svg +1 -0
  680. package/assets/icons/pen-line.svg +1 -0
  681. package/assets/icons/pen-square.svg +1 -0
  682. package/assets/icons/pen.svg +1 -0
  683. package/assets/icons/pencil-line.svg +1 -0
  684. package/assets/icons/pencil-ruler.svg +1 -0
  685. package/assets/icons/pencil.svg +1 -0
  686. package/assets/icons/pentagon.svg +1 -0
  687. package/assets/icons/percent-circle.svg +1 -0
  688. package/assets/icons/percent-square.svg +1 -0
  689. package/assets/icons/phi.svg +1 -0
  690. package/assets/icons/phone-forwarded.svg +1 -0
  691. package/assets/icons/phone-missed.svg +1 -0
  692. package/assets/icons/phone-outgoing.svg +1 -0
  693. package/assets/icons/phone.svg +1 -0
  694. package/assets/icons/pi-square.svg +1 -0
  695. package/assets/icons/pickaxe.svg +1 -0
  696. package/assets/icons/pie-chart.svg +1 -0
  697. package/assets/icons/pilcrow-right.svg +1 -0
  698. package/assets/icons/pilcrow-square.svg +1 -0
  699. package/assets/icons/pilcrow.svg +1 -0
  700. package/assets/icons/pill-bottle.svg +1 -0
  701. package/assets/icons/pin-off.svg +1 -0
  702. package/assets/icons/pizza.svg +1 -0
  703. package/assets/icons/plane-landing.svg +1 -0
  704. package/assets/icons/plant-pot.svg +1 -0
  705. package/assets/icons/play-circle.svg +1 -0
  706. package/assets/icons/play-square.svg +1 -0
  707. package/assets/icons/playing-cards.svg +1 -0
  708. package/assets/icons/plug.svg +1 -0
  709. package/assets/icons/plus-square.svg +1 -0
  710. package/assets/icons/plus.svg +1 -0
  711. package/assets/icons/podcast.svg +1 -0
  712. package/assets/icons/pointer-off.svg +1 -0
  713. package/assets/icons/pointer.svg +1 -0
  714. package/assets/icons/popsicle.svg +1 -0
  715. package/assets/icons/power-off.svg +1 -0
  716. package/assets/icons/power.svg +1 -0
  717. package/assets/icons/presentation.svg +1 -0
  718. package/assets/icons/printer-check.svg +1 -0
  719. package/assets/icons/projector.svg +1 -0
  720. package/assets/icons/puzzle.svg +1 -0
  721. package/assets/icons/qr-code.svg +1 -0
  722. package/assets/icons/rabbit.svg +1 -0
  723. package/assets/icons/radiation.svg +1 -0
  724. package/assets/icons/radio-receiver.svg +1 -0
  725. package/assets/icons/radio.svg +1 -0
  726. package/assets/icons/radius.svg +1 -0
  727. package/assets/icons/rat.svg +1 -0
  728. package/assets/icons/ratio.svg +1 -0
  729. package/assets/icons/receipt-cent.svg +1 -0
  730. package/assets/icons/receipt-indian-rupee.svg +1 -0
  731. package/assets/icons/receipt-pound-sterling.svg +1 -0
  732. package/assets/icons/receipt-swiss-franc.svg +1 -0
  733. package/assets/icons/receipt-turkish-lira.svg +1 -0
  734. package/assets/icons/rectangle-ellipsis.svg +1 -0
  735. package/assets/icons/rectangle-horizontal.svg +1 -0
  736. package/assets/icons/recycle.svg +1 -0
  737. package/assets/icons/redo-dot.svg +1 -0
  738. package/assets/icons/refresh-ccw-dot.svg +1 -0
  739. package/assets/icons/refresh-cw-off.svg +1 -0
  740. package/assets/icons/regex.svg +1 -0
  741. package/assets/icons/repeat-off.svg +1 -0
  742. package/assets/icons/repeat.svg +1 -0
  743. package/assets/icons/replace-all.svg +1 -0
  744. package/assets/icons/reply-all.svg +1 -0
  745. package/assets/icons/ribbon.svg +1 -0
  746. package/assets/icons/robot-arm.svg +1 -0
  747. package/assets/icons/rocket.svg +1 -0
  748. package/assets/icons/roller-coaster.svg +1 -0
  749. package/assets/icons/rotate-3-d.svg +1 -0
  750. package/assets/icons/rotate-ccw-key.svg +1 -0
  751. package/assets/icons/rotate-ccw.svg +1 -0
  752. package/assets/icons/rotate-cw-fading-clock.svg +1 -0
  753. package/assets/icons/rotate-cw.svg +1 -0
  754. package/assets/icons/route.svg +1 -0
  755. package/assets/icons/router.svg +1 -0
  756. package/assets/icons/ruler-dimension-line.svg +1 -0
  757. package/assets/icons/ruler.svg +1 -0
  758. package/assets/icons/sailboat.svg +1 -0
  759. package/assets/icons/sandwich.svg +1 -0
  760. package/assets/icons/satellite-dish.svg +1 -0
  761. package/assets/icons/save-check.svg +1 -0
  762. package/assets/icons/save-pen.svg +1 -0
  763. package/assets/icons/save.svg +1 -0
  764. package/assets/icons/scale-3d.svg +1 -0
  765. package/assets/icons/scale.svg +1 -0
  766. package/assets/icons/scan-box.svg +1 -0
  767. package/assets/icons/scan-face.svg +1 -0
  768. package/assets/icons/scan-line.svg +1 -0
  769. package/assets/icons/scan-search.svg +1 -0
  770. package/assets/icons/scan-square.svg +1 -0
  771. package/assets/icons/scan.svg +1 -0
  772. package/assets/icons/scatter-chart.svg +1 -0
  773. package/assets/icons/scissors-square-dashed-bottom.svg +1 -0
  774. package/assets/icons/scissors.svg +1 -0
  775. package/assets/icons/screen-share.svg +1 -0
  776. package/assets/icons/scroll.svg +1 -0
  777. package/assets/icons/search-check.svg +1 -0
  778. package/assets/icons/search-slash.svg +1 -0
  779. package/assets/icons/search.svg +1 -0
  780. package/assets/icons/section.svg +1 -0
  781. package/assets/icons/send-horizonal.svg +1 -0
  782. package/assets/icons/send-to-back.svg +1 -0
  783. package/assets/icons/separator-vertical.svg +1 -0
  784. package/assets/icons/server-cog.svg +1 -0
  785. package/assets/icons/server-off.svg +1 -0
  786. package/assets/icons/server-plus.svg +1 -0
  787. package/assets/icons/shapes.svg +1 -0
  788. package/assets/icons/sheet.svg +1 -0
  789. package/assets/icons/shelving-unit.svg +1 -0
  790. package/assets/icons/shield-alert.svg +1 -0
  791. package/assets/icons/shield-check.svg +1 -0
  792. package/assets/icons/shield-cog.svg +1 -0
  793. package/assets/icons/shield-ellipsis.svg +1 -0
  794. package/assets/icons/shield-keyhole.svg +1 -0
  795. package/assets/icons/shield-minus.svg +1 -0
  796. package/assets/icons/shield-plus.svg +1 -0
  797. package/assets/icons/shield-question-mark.svg +1 -0
  798. package/assets/icons/shield-x.svg +1 -0
  799. package/assets/icons/ship-cargo.svg +1 -0
  800. package/assets/icons/ship-wheel.svg +1 -0
  801. package/assets/icons/shopping-bag.svg +1 -0
  802. package/assets/icons/shopping-cart-plus.svg +1 -0
  803. package/assets/icons/shopping-cart.svg +1 -0
  804. package/assets/icons/shower-head.svg +1 -0
  805. package/assets/icons/shrimp.svg +1 -0
  806. package/assets/icons/shrink.svg +1 -0
  807. package/assets/icons/shuffle.svg +1 -0
  808. package/assets/icons/sidebar-close.svg +1 -0
  809. package/assets/icons/sigma.svg +1 -0
  810. package/assets/icons/signal-low.svg +1 -0
  811. package/assets/icons/signal-zero.svg +1 -0
  812. package/assets/icons/signal.svg +1 -0
  813. package/assets/icons/signpost.svg +1 -0
  814. package/assets/icons/siren.svg +1 -0
  815. package/assets/icons/skip-back.svg +1 -0
  816. package/assets/icons/skull.svg +1 -0
  817. package/assets/icons/slash-square.svg +1 -0
  818. package/assets/icons/sliders-vertical.svg +1 -0
  819. package/assets/icons/sliders.svg +1 -0
  820. package/assets/icons/smartphone-charging.svg +1 -0
  821. package/assets/icons/smile.svg +1 -0
  822. package/assets/icons/snail.svg +1 -0
  823. package/assets/icons/soap-dispenser-droplet.svg +1 -0
  824. package/assets/icons/solar-panel.svg +1 -0
  825. package/assets/icons/sort-desc.svg +1 -0
  826. package/assets/icons/space.svg +1 -0
  827. package/assets/icons/speaker.svg +1 -0
  828. package/assets/icons/speech.svg +1 -0
  829. package/assets/icons/spline.svg +1 -0
  830. package/assets/icons/split-square-vertical.svg +1 -0
  831. package/assets/icons/split.svg +1 -0
  832. package/assets/icons/sport-shoe.svg +1 -0
  833. package/assets/icons/spray-can.svg +1 -0
  834. package/assets/icons/square-asterisk.svg +1 -0
  835. package/assets/icons/square-bottom-dashed-scissors.svg +1 -0
  836. package/assets/icons/square-centerline-dashed-vertical.svg +1 -0
  837. package/assets/icons/square-check.svg +1 -0
  838. package/assets/icons/square-code.svg +1 -0
  839. package/assets/icons/square-dashed-bottom-code.svg +1 -0
  840. package/assets/icons/square-dashed-mouse-pointer.svg +1 -0
  841. package/assets/icons/square-dashed-text.svg +1 -0
  842. package/assets/icons/square-dashed-top-solid.svg +1 -0
  843. package/assets/icons/square-dashed-x-corner.svg +1 -0
  844. package/assets/icons/square-divide.svg +1 -0
  845. package/assets/icons/square-equal.svg +1 -0
  846. package/assets/icons/square-function.svg +1 -0
  847. package/assets/icons/square-kanban.svg +1 -0
  848. package/assets/icons/square-m.svg +1 -0
  849. package/assets/icons/square-minus.svg +1 -0
  850. package/assets/icons/square-off.svg +1 -0
  851. package/assets/icons/square-parking-off.svg +1 -0
  852. package/assets/icons/square-pen.svg +1 -0
  853. package/assets/icons/square-pi.svg +1 -0
  854. package/assets/icons/square-play.svg +1 -0
  855. package/assets/icons/square-power.svg +1 -0
  856. package/assets/icons/square-radical.svg +1 -0
  857. package/assets/icons/square-scissors.svg +1 -0
  858. package/assets/icons/square-slash.svg +1 -0
  859. package/assets/icons/square-split-vertical.svg +1 -0
  860. package/assets/icons/square-stack.svg +1 -0
  861. package/assets/icons/square-stop.svg +1 -0
  862. package/assets/icons/square-text.svg +1 -0
  863. package/assets/icons/square-user-round.svg +1 -0
  864. package/assets/icons/square.svg +1 -0
  865. package/assets/icons/squares-exclude.svg +1 -0
  866. package/assets/icons/squares-subtract.svg +1 -0
  867. package/assets/icons/squircle.svg +1 -0
  868. package/assets/icons/stamp.svg +1 -0
  869. package/assets/icons/star-check.svg +1 -0
  870. package/assets/icons/star-minus.svg +1 -0
  871. package/assets/icons/star-plus.svg +1 -0
  872. package/assets/icons/star-x.svg +1 -0
  873. package/assets/icons/step-back.svg +1 -0
  874. package/assets/icons/stethoscope.svg +1 -0
  875. package/assets/icons/sticky-note-minus.svg +1 -0
  876. package/assets/icons/sticky-note-plus.svg +1 -0
  877. package/assets/icons/sticky-note.svg +1 -0
  878. package/assets/icons/sticky-notes.svg +1 -0
  879. package/assets/icons/stop-circle.svg +1 -0
  880. package/assets/icons/stretch-horizontal.svg +1 -0
  881. package/assets/icons/strikethrough.svg +1 -0
  882. package/assets/icons/subtitles.svg +1 -0
  883. package/assets/icons/sun-medium.svg +1 -0
  884. package/assets/icons/sun-snow.svg +1 -0
  885. package/assets/icons/sun.svg +1 -0
  886. package/assets/icons/sunrise.svg +1 -0
  887. package/assets/icons/superscript.svg +1 -0
  888. package/assets/icons/swiss-franc.svg +1 -0
  889. package/assets/icons/sword.svg +1 -0
  890. package/assets/icons/syringe.svg +1 -0
  891. package/assets/icons/table-cells-merge.svg +1 -0
  892. package/assets/icons/table-columns-split.svg +1 -0
  893. package/assets/icons/table-of-contents.svg +1 -0
  894. package/assets/icons/table-rows-split.svg +1 -0
  895. package/assets/icons/tablet-smartphone.svg +1 -0
  896. package/assets/icons/tag-x.svg +1 -0
  897. package/assets/icons/tag.svg +1 -0
  898. package/assets/icons/tangent.svg +1 -0
  899. package/assets/icons/telescope.svg +1 -0
  900. package/assets/icons/tent-tree.svg +1 -0
  901. package/assets/icons/terminal.svg +1 -0
  902. package/assets/icons/test-tube.svg +1 -0
  903. package/assets/icons/test-tubes.svg +1 -0
  904. package/assets/icons/text-align-center.svg +1 -0
  905. package/assets/icons/text-align-justify.svg +1 -0
  906. package/assets/icons/text-cursor.svg +1 -0
  907. package/assets/icons/text-initial.svg +1 -0
  908. package/assets/icons/text-search.svg +1 -0
  909. package/assets/icons/text-selection.svg +1 -0
  910. package/assets/icons/theater.svg +1 -0
  911. package/assets/icons/thermometer-snowflake.svg +1 -0
  912. package/assets/icons/thumbs-down.svg +1 -0
  913. package/assets/icons/tic-tac-toe.svg +1 -0
  914. package/assets/icons/ticket-check.svg +1 -0
  915. package/assets/icons/ticket-minus.svg +1 -0
  916. package/assets/icons/ticket-plus.svg +1 -0
  917. package/assets/icons/ticket-x.svg +1 -0
  918. package/assets/icons/tickets-plane.svg +1 -0
  919. package/assets/icons/timer-reset.svg +1 -0
  920. package/assets/icons/timer.svg +1 -0
  921. package/assets/icons/toggle-right.svg +1 -0
  922. package/assets/icons/tool-case.svg +1 -0
  923. package/assets/icons/toothbrush.svg +1 -0
  924. package/assets/icons/tornado.svg +1 -0
  925. package/assets/icons/touchpad.svg +1 -0
  926. package/assets/icons/towel-rack.svg +1 -0
  927. package/assets/icons/toy-brick.svg +1 -0
  928. package/assets/icons/traffic-cone.svg +1 -0
  929. package/assets/icons/train-front.svg +1 -0
  930. package/assets/icons/train-track.svg +1 -0
  931. package/assets/icons/train.svg +1 -0
  932. package/assets/icons/transgender.svg +1 -0
  933. package/assets/icons/trash-off.svg +1 -0
  934. package/assets/icons/tree-palm.svg +1 -0
  935. package/assets/icons/trees.svg +1 -0
  936. package/assets/icons/trending-up.svg +1 -0
  937. package/assets/icons/triangle-right.svg +1 -0
  938. package/assets/icons/triangle.svg +1 -0
  939. package/assets/icons/triangles-centerline-dashed-vertical.svg +1 -0
  940. package/assets/icons/truck.svg +1 -0
  941. package/assets/icons/tube-lotion.svg +1 -0
  942. package/assets/icons/turntable.svg +1 -0
  943. package/assets/icons/tv-minimal.svg +1 -0
  944. package/assets/icons/tv.svg +1 -0
  945. package/assets/icons/type.svg +1 -0
  946. package/assets/icons/umbrella.svg +1 -0
  947. package/assets/icons/underline.svg +1 -0
  948. package/assets/icons/undo-dot.svg +1 -0
  949. package/assets/icons/unfold-vertical.svg +1 -0
  950. package/assets/icons/university.svg +1 -0
  951. package/assets/icons/unlock.svg +1 -0
  952. package/assets/icons/unplug.svg +1 -0
  953. package/assets/icons/upload-cloud.svg +1 -0
  954. package/assets/icons/usb-c-port.svg +1 -0
  955. package/assets/icons/user-check.svg +1 -0
  956. package/assets/icons/user-cog.svg +1 -0
  957. package/assets/icons/user-key.svg +1 -0
  958. package/assets/icons/user-minus.svg +1 -0
  959. package/assets/icons/user-pen.svg +1 -0
  960. package/assets/icons/user-round-check.svg +1 -0
  961. package/assets/icons/user-round-group.svg +1 -0
  962. package/assets/icons/user-round-minus.svg +1 -0
  963. package/assets/icons/user-round-plus.svg +1 -0
  964. package/assets/icons/user-round-x.svg +1 -0
  965. package/assets/icons/user-round.svg +1 -0
  966. package/assets/icons/user-shield.svg +1 -0
  967. package/assets/icons/user-star.svg +1 -0
  968. package/assets/icons/users.svg +1 -0
  969. package/assets/icons/utensils.svg +1 -0
  970. package/assets/icons/utility-pole.svg +1 -0
  971. package/assets/icons/variable.svg +1 -0
  972. package/assets/icons/vector-polygon.svg +1 -0
  973. package/assets/icons/vector-square.svg +1 -0
  974. package/assets/icons/venetian-mask.svg +1 -0
  975. package/assets/icons/venus-and-mars.svg +1 -0
  976. package/assets/icons/vibrate.svg +1 -0
  977. package/assets/icons/video.svg +1 -0
  978. package/assets/icons/videotape.svg +1 -0
  979. package/assets/icons/virus.svg +1 -0
  980. package/assets/icons/voicemail.svg +1 -0
  981. package/assets/icons/volume-x.svg +1 -0
  982. package/assets/icons/volume.svg +1 -0
  983. package/assets/icons/wallet-minimal.svg +1 -0
  984. package/assets/icons/wallet.svg +1 -0
  985. package/assets/icons/wand.svg +1 -0
  986. package/assets/icons/warehouse.svg +1 -0
  987. package/assets/icons/watch.svg +1 -0
  988. package/assets/icons/waves-arrow-up.svg +1 -0
  989. package/assets/icons/waves-ladder.svg +1 -0
  990. package/assets/icons/waves.svg +1 -0
  991. package/assets/icons/waypoints.svg +1 -0
  992. package/assets/icons/webcam-off.svg +1 -0
  993. package/assets/icons/weight.svg +1 -0
  994. package/assets/icons/wheat.svg +1 -0
  995. package/assets/icons/whistle.svg +1 -0
  996. package/assets/icons/wifi-high.svg +1 -0
  997. package/assets/icons/wifi-off.svg +1 -0
  998. package/assets/icons/wifi-sync.svg +1 -0
  999. package/assets/icons/wifi.svg +1 -0
  1000. package/assets/icons/wind.svg +1 -0
  1001. package/assets/icons/wine-off.svg +1 -0
  1002. package/assets/icons/wine.svg +1 -0
  1003. package/assets/icons/worm.svg +1 -0
  1004. package/assets/icons/wrench.svg +1 -0
  1005. package/assets/icons/x-line-top.svg +1 -0
  1006. package/assets/icons/x-square.svg +1 -0
  1007. package/assets/icons/x.svg +1 -0
  1008. package/assets/icons/zap-off.svg +1 -0
  1009. package/assets/icons/zodiac-aries.svg +1 -0
  1010. package/assets/icons/zodiac-capricorn.svg +1 -0
  1011. package/assets/icons/zodiac-leo.svg +1 -0
  1012. package/assets/icons/zodiac-ophiuchus.svg +1 -0
  1013. package/assets/icons/zodiac-sagittarius.svg +1 -0
  1014. package/assets/icons/zodiac-taurus.svg +1 -0
  1015. package/assets/icons/zoom-in.svg +1 -0
  1016. package/assets/icons.js +103 -0
  1017. package/assets/icons.svg +15 -0
  1018. package/assets/motion.css +39 -0
  1019. package/assets/motion.js +134 -0
  1020. package/assets/shaders/_common.glsl +136 -0
  1021. package/assets/shaders/frost-displacement.frag +63 -0
  1022. package/assets/shaders/manifest.json +133 -0
  1023. package/assets/shaders/mirage-flow.frag +40 -0
  1024. package/assets/shaders/resin-caustics.frag +52 -0
  1025. package/assets/shaders/resin-refraction.frag +91 -0
  1026. package/assets/tokens.js +1 -0
  1027. package/docs/accessibility.md +173 -0
  1028. package/docs/adoption.md +199 -0
  1029. package/docs/catalogue.md +4151 -0
  1030. package/docs/colors.md +106 -0
  1031. package/docs/components.md +244 -0
  1032. package/docs/icons.md +42 -0
  1033. package/docs/materials.md +400 -0
  1034. package/docs/motion-components.md +195 -0
  1035. package/docs/motion.md +438 -0
  1036. package/docs/principles.md +66 -0
  1037. package/docs/tokens.md +580 -0
  1038. package/engines.js +46 -0
  1039. package/exports/crystal-tokens.kt +159 -0
  1040. package/exports/crystal-tokens.swift +159 -0
  1041. package/exports/crystal-tokens.ts +161 -0
  1042. package/licenses/framer-motion-LICENSE.txt +21 -0
  1043. package/licenses/gsap-README.md +93 -0
  1044. package/licenses/lucide-LICENSE.txt +43 -0
  1045. package/licenses/motion-LICENSE.txt +21 -0
  1046. package/licenses/motion-dom-LICENSE.txt +21 -0
  1047. package/licenses/motion-utils-LICENSE.txt +21 -0
  1048. package/licenses/tslib-LICENSE.txt +12 -0
  1049. package/package.json +78 -0
  1050. package/tokens/catalogue/01-layout.json +267 -0
  1051. package/tokens/catalogue/02-navigation.json +385 -0
  1052. package/tokens/catalogue/03-actions.json +220 -0
  1053. package/tokens/catalogue/04-inputs.json +1166 -0
  1054. package/tokens/catalogue/05-data-display.json +780 -0
  1055. package/tokens/catalogue/06-feedback.json +338 -0
  1056. package/tokens/catalogue/07-overlays.json +247 -0
  1057. package/tokens/catalogue/08-typography.json +305 -0
  1058. package/tokens/catalogue/09-utility.json +467 -0
  1059. package/tokens/catalogue/10-charts.json +458 -0
  1060. package/tokens/catalogue/11-media.json +107 -0
  1061. package/tokens/catalogue/12-commerce.json +450 -0
  1062. package/tokens/catalogue/13-screens.json +271 -0
  1063. package/tokens/catalogue/14-blocks.json +395 -0
  1064. package/tokens/catalogue.json +5862 -0
  1065. package/tokens/crystal.json +532 -0
  1066. package/tokens/crystal.tokens.json +1973 -0
  1067. package/tokens/motion-recipes.json +2485 -0
@@ -0,0 +1,400 @@
1
+ # Materials, depth and optical detail
2
+
3
+ **The defining order is Plastic → Frost → Resin, from back to front.** Plastic is the foundation, Frost the intermediate material layer, and Resin the highest functional control layer. Haze reading wells preserve legibility within this hierarchy. It is a custom design system, not a vendor-certified combination of Microsoft and Apple systems.
4
+
5
+ ## Visual acceptance requirement
6
+
7
+ The approved Crystal material studies define the intended appearance, not merely inspiration. Every implementation must preserve their distinct opacity and diffusion, transmitted color, optical contours, elevation, soft reading-fill edges and crisp text. If a component or material departs from those qualities without an approved reason, treat it as a defect. Check actual UI screenshots as well as tokens. Dark mode and alternate palettes must preserve the same relationships; documented accessibility fallbacks remain required.
8
+
9
+ ## Recommended defaults
10
+
11
+ Use these settings as Crystal’s recommended starting point across products:
12
+
13
+ <!-- generated:defaults -->
14
+
15
+ | Setting | Recommended default | Valid range |
16
+ |---|---|---|
17
+ | Color atmosphere | 90% | 15% – 90% |
18
+ | Frost base tint | 35% | 35% – 85% |
19
+ | Elevation | 125% | 60% – 150% |
20
+ | Corner radius | 28px | 14px – 28px |
21
+ | Motion speed | 1× | 0.25× – 2× |
22
+ | Palette | `prism` | — |
23
+ | Mode | `light` | — |
24
+ | Density | `comfortable` | — |
25
+ | Font | `manrope` | — |
26
+ | Reduced | `false` | — |
27
+ | Reduce motion | `false` | — |
28
+ <!-- /generated:defaults -->
29
+
30
+ The canonical tokens, generated theme and playground’s **Reset** action use these values. Saved user preferences remain customizable. Frost’s existing recipe adds 10 percentage points to its base tint, so the recommended 35% base produces a 45% surface fill. Resin remains fixed at 20% fill opacity; opaque accessibility fallbacks take precedence.
31
+
32
+ ## Material family and inspiration
33
+
34
+ Crystal has **six first-class materials: Plastic, Frost, Resin, Haze, Stone, and Mirage**. Each has its own named recipe and reusable primitive. Plastic → Frost → Resin is the main spatial stack; Haze and Stone are readable fills within components, while Mirage separates a modal from the rest of the interface.
35
+
36
+ | Crystal material | Previous name / inspiration | Crystal adaptation |
37
+ |---|---|---|
38
+ | Plastic | Microsoft Mica | Opaque contextual foundation, bounded product tint and neutral inactive state |
39
+ | Frost | Microsoft Acrylic | Diffusion, tint and grain tuned for Crystal’s intermediate surfaces |
40
+ | Resin | Apple Liquid Glass | Floating optical contours, 20% fill and authored web blur rather than native refraction |
41
+ | Haze | Solid content | 80% reading fill with a 1.95px feathered perimeter |
42
+ | Stone | Protected labels | 55% light / 60% dark backing, feathered like Haze, with crisp labels |
43
+ | Mirage | Smoke / modal scrim | Chromatic diffusion of the underlying scene, darkened behind a focused modal |
44
+
45
+ Plastic, Frost and Resin are based in and inspired by their respective platform materials, then adjusted to work together as Crystal. They are not vendor-certified implementations. Microsoft’s [Mica](https://learn.microsoft.com/en-us/windows/apps/design/style/mica) describes an opaque contextual base; [Acrylic](https://learn.microsoft.com/en-us/windows/apps/design/style/acrylic) combines tint, diffusion and texture; Apple’s [material guidance](https://developer.apple.com/design/human-interface-guidelines/materials) informs Resin’s floating functional role. Haze, Stone and Mirage are Crystal’s adaptations of content fills, readability veils and modal scrims.
46
+
47
+ ## Material assignment
48
+
49
+ | Material | Web recipe | Where it belongs |
50
+ |---|---|---|
51
+ | Plastic | Opaque canvas with bounded product-color gradients; no backdrop blur | Root scene/window; one contextual foundation |
52
+ | Haze | 80% content fill, 1.95px feathered perimeter and shallow paired shadows; crisp foreground | Reading, structured lists, forms, messages, consequential decisions |
53
+ | Frost | Default 45% surface tint (35% base), 40px blur, 125% saturation, grain opacity .045 | Intermediate task frames, transient panels and overlays, with Haze reading/input surrounds |
54
+ | Resin | Fixed 20% surface tint, 20px blur, 165% saturation, defined rim, strongest floating shadow | One clustered navigation or control plane |
55
+ | Stone | 55% light / 60% dark fill with a 1.95px feather inside the Resin plane | Navigation labels and material comparison captions |
56
+ | Mirage | #111525 at 38% opacity; 28px backdrop blur, 165% saturation, 88% brightness; Haze decision surface above | Blocking decisions, focus managed by the dialog |
57
+
58
+ Resin renders at a fixed 20% fill opacity in both modes, independent of the Frost base tint control. Frost retains its existing recipe (45% fill from the recommended 35% base). Text, rims and shadows retain their opacity. Label protection is 55% in light mode and 60% in dark mode, with the dark backing strengthened to preserve contrast over bright backdrops at this lower glass opacity. Opaque accessibility fallbacks remain fully opaque. This deliberately differs from the original recipes preserved in `reference/`.
59
+
60
+ The persistent Frost task frame is an intentional Crystal hybrid, not a claim of strict Microsoft placement conformance. One frame can contain several softened content wells; avoid nesting independently blurred panes. All three live scenes show that same stack.
61
+
62
+ Do not apply opacity to an entire pane containing text. Do not stack backdrop blur on adjacent cards or every message; the content recipe feathers only its own background paint. Do not sample the desktop, capture other windows or duplicate private content into canvases to create a refraction effect. This implementation provides CSS blur, tint, texture, highlights and shadows; it does not implement native optical lensing.
63
+
64
+ ## Material recipe values
65
+
66
+ The numbers every material resolves to, generated from `tokens/crystal.json`. This table
67
+ is the authority; where the prose above describes a technique, these are the values that
68
+ technique uses.
69
+
70
+ <!-- generated:material-recipes -->
71
+
72
+ | Material | Diffusion | Fill |
73
+ |---|---|---|
74
+ | **Plastic** | Opaque. No backdrop filter at all. | — |
75
+ | **Frost** | 40px blur, 125% saturation | grain 0.045 |
76
+ | **Resin** | 20px blur, 165% saturation | fixed 20% fill, both modes |
77
+ | **Haze** | 80% content fill | 1.95px feather |
78
+ | **Stone** | 55% light / 60% dark | 1.95px feather |
79
+ | **Mirage** | 28px blur, 165% saturation, 88% brightness | #111525 at 38%; 64% without backdrop filtering |
80
+ <!-- /generated:material-recipes -->
81
+
82
+ ## Haze: integrated reading surfaces
83
+
84
+ Haze is Crystal’s named content material, previously called Solid. Its normal recipe now uses **80% fill opacity** and a **1.95px edge feather**, so the underlying Frost or Resin contributes color rather than ending abruptly at a sheet of blank fill. Plastic → Frost → Resin remains the governing hierarchy; a reading fill within a Resin component is part of that component.
85
+
86
+ The `.cr-haze`, `.cr-well`, `.cr-bubble`, `.cr-content-fill` and `.cr-dialog` primitives paint the fill on an isolated, non-interactive `::before` layer. Only that paint layer receives `filter: blur(1.95px)`; text, icons, selection, hit areas and focus outlines stay sharp and fully opaque. The broad interior remains at 80%, while the narrow perimeter feathers into its surroundings. Keep at least **12px of padding** between readable content and the feathered edge, including around rounded corners. Do not clip the feather with an ancestor’s overflow unless deliberately necessary for media.
87
+
88
+ Neutral and tinted message surfaces both follow this recipe. The Harbor palette uses stronger supporting ink and a deeper authored-message fill to retain contrast with the added transparency. This is separate from the palette’s solid action/status colors. Actual input controls, status badges and consequential action buttons retain explicit boundaries and their protected color pairs; their surrounding content surface uses the softened fill. Stone retains its own label-backing opacity, separate from Haze.
89
+
90
+ The reference includes a content card over a Resin panel. Its appearance follows the palette and light/dark controls, and opaque fallback restores a 100% fill with no feather. Reduced-transparency preferences and forced colors also restore stable surfaces. Exported CSS and JSON include `--cr-haze-fill`, `--cr-haze-own-fill`, `--cr-haze-feather`, `--cr-haze-inset`, and the corresponding content foreground roles.
91
+
92
+ The contrast model tests 80% interior fill and a conservative 79% reading-area bound against RGB-corner backdrops in every palette and mode. It does not certify pixels along the intentionally fading perimeter; place no text in that perimeter and verify actual padding, imagery and layering in each product.
93
+
94
+ ## Stone: protected labels
95
+
96
+ Stone is the lighter-density backing shown inside Resin controls. It now has the **same 1.95px background feather as Haze**, while retaining **55% opacity in light mode and 60% in dark mode**. Haze remains 80%; these recipes are deliberately independent.
97
+
98
+ `.cr-stone` paints `--cr-stone-fill` on an isolated `::before` layer with `--cr-stone-feather`; text and icons are neither blurred nor faded. The dock’s `.cr-dock-inner` uses the same recipe. Keep readable content at least 12px from the feathered perimeter, counting both group and button padding. Shapes, marks and labels continue to convey state beyond color. Reduced transparency restores an opaque, unfeathered backing; forced colors uses system colors.
99
+
100
+ Stone’s contrast model includes Resin’s 20% fill, optical highlights and a conservative one-percentage-point reduction in the label fill to cover the feather’s reading-area tail. The feathered perimeter itself is not a valid text area.
101
+
102
+ ## Mirage: modal separation
103
+
104
+ Mirage is the named material formerly called Smoke. Its recipe blends the actual colors underneath into a dark, chromatic backdrop: **28px blur → 165% saturation → 88% brightness**, followed by a **38% `#111525` tint**. Broad diffusion merges shapes into color fields; saturation preserves their color through the dark veil. No fixed brand gradient, hue rotation, screenshot capture or duplicate page render is used. A Haze modal sits above it and remains crisp. Mirage is not a content surface and must not carry ordinary reading text.
105
+
106
+ The working native dialog uses Mirage through `::backdrop`. `.cr-mirage` exposes the same paint recipe for application-owned overlay implementations; it does not itself implement modal behavior, positioning or focus management. Products must provide actual modality, keyboard containment, a named dialog, dismissal and focus return. The preview’s **Preview Mirage** button opens the real dialog. Reduced transparency removes diffusion and color filtering and uses a stronger **64% `#111525` scrim**; the same scrim is the unsupported-filter fallback. Modal separation remains visible. The preview also includes a live artwork comparison: toggle Mirage to see the real underlying colors before and after the filter. Changing the palette changes the artwork and therefore the resulting chromatic blur.
107
+
108
+ ## Plastic: Mica inspiration and adaptation
109
+
110
+ Plastic adapts Mica’s opacity, subtle contextual tint, light/dark awareness, and a neutral inactive-window fallback. The active/inactive study demonstrates those properties: the window remains fully opaque, and the context’s shapes do not pass through it. The browser uses a preselected product color impression; it does not access desktop wallpaper. Native implementations should use supported OS facilities for wallpaper influence and activation behavior.
111
+
112
+ The broader Frost/Resin study contains deliberately vivid **artwork above the Plastic foundation** so blur can be inspected. That artwork is content, not a claim that native Mica itself paints saturated wallpaper detail. The ordinary app preview keeps a restrained contextual base and puts stronger colors into accents and content. [Fluent material roles](https://fluent2.microsoft.design/material).
113
+
114
+ The reusable `.cr-plastic[data-window-active="false"]` state removes contextual gradients and uses the opaque `--cr-plastic-inactive` token: `#f1f1f3` in light mode and `#202126` in dark. These are Crystal fallback values, not vendor constants. The host supplies activation state; the preview uses an explicit switch. Active tint is bounded by the atmosphere control: the two gradient alpha maxima are 21.6%/17.1% in light mode and 26.1%/20.7% in dark, always composited over an opaque canvas.
115
+
116
+ ## Frost: Acrylic inspiration and adaptation
117
+
118
+ Frost adapts Acrylic’s broad backdrop diffusion; the light version has milky tint, while the dark version has charcoal tint, with background color and large shapes still visible. The shared extension increases Frost diffusion to 40px, uses 125% saturation and fine grain at .045 opacity. Resin retains its sharper rim and 20px blur. These authored web values are visual targets, not extracted Microsoft constants.
119
+
120
+ The playground includes a layered, adjustable material study.
121
+
122
+ ## Resin: Liquid Glass inspiration and adaptation
123
+
124
+ Resin adapts Liquid Glass’s rounded volume, visible backdrop color, a fine illuminated perimeter, smooth surfaces and floating separation. The refinement adds directional optical sheen and an inner rim, and reduces label backing from 92% to 55% in light mode and 60% in dark mode. Frost remains grainier and more broadly diffused; Resin remains the clearer top functional layer.
125
+
126
+ The text safety calculation includes the fixed 20% Resin tint, the label veil, and a bright optical highlight over extreme backdrops. Readability relies on tested foreground/background pairs and protected labels, not text shadows. Product layouts still require accessibility verification. The CSS implementation does not claim physical refraction.
127
+
128
+ ## Elevation hierarchy
129
+
130
+ At 100% elevation, the reference geometry is shown below. The recommended default is 125%, which scales these shadow offsets and blur radii by 1.25:
131
+
132
+ | Surface | Contact shadow | Ambient shadow | Optical contour |
133
+ |---|---|---|---|
134
+ | Content | 0 2px 3px | 0 7px 15px | Fine edge |
135
+ | Supporting panel | 0 3px 5px | 0 14px 28px | Inset top highlight |
136
+ | Floating controls | 0 4px 7px | 0 20px 40px | Top highlight and lower inset contour |
137
+
138
+ Shadow colors adapt to mode. The elevation control scales offsets and blur from 60–150%; hierarchy remains ordered. Depth is a visual relationship, not a z-index value. Products must also manage their actual overlay stack and focus order. Dark mode uses contours and tonal separation alongside shadows.
139
+
140
+ ## Fallbacks
141
+
142
+ Reduce transparency replaces supporting materials with opaque content surfaces, removes grain/blur, and restores a visible outline. CSS also honors reduced-transparency preferences where supported and falls back when backdrop filtering is unavailable. Reduced motion removes movement; forced colors use system colors and borders. None of these modes hides essential content.
143
+
144
+ Support claims must be verified on actual target browsers/devices. A native implementation should use supported compositor APIs where appropriate and deliberately adapt the custom hierarchy elsewhere. The browser preview does not prove native rendering, energy performance or accessibility parity.
145
+
146
+ ## Performance and composition
147
+
148
+ Keep backdrop filters confined to a few bounded surfaces, avoid continuous blur animations, and avoid putting a scrolling text layer under numerous overlapping filters. A low-power mode can select the opaque recipe without changing geometry. Measure actual scroll/compositor behavior before setting device-specific budgets.
149
+
150
+ ## Spacing and the layout shell
151
+
152
+ Two scales that had no tokens until the layout components needed them. Neither is a new design decision: they name what Crystal's own shell already does, so something other than the preview can reach the values.
153
+
154
+ **The spacing scale** is the 4px rhythm, tied at two points to the reading rhythm so it is not an arbitrary ladder: `md` is the 16px reading size and `lg` is the 24px leading, which makes a `lg` gap exactly one blank line between blocks.
155
+
156
+ | Step | `2xs` | `xs` | `sm` | `md` | `lg` | `xl` | `2xl` |
157
+ |---|---|---|---|---|---|---|---|
158
+ | Value | 4px | 8px | 12px | 16px | 24px | 32px | 48px |
159
+
160
+ `--cr-space` is a different thing and stays: it is the density-aware padding step, 20px comfortable and 14px compact. The spacing scale does not vary with density, palette or mode.
161
+
162
+ **The breakpoints** are where the shell already changes: `sm` 600px, `md` 850px, `lg` 1150px, `xl` 1500px. They cannot be custom properties, because a custom property is not usable inside a media query — libraries compile against them from the generated exports.
163
+
164
+ **The shell** is a 1536px ceiling with gutters that step down at those breakpoints — 44px at `lg` and above, 26px between `sm` and `lg`, 18px below `sm` — and a 920px reading column inside it, which is what keeps a line of prose a comfortable length.
165
+
166
+ ## The type scale
167
+
168
+ Crystal specifies a reading rhythm — Manrope at 16/24 — and the scale is derived from it rather than written down. Each step is a **ratio** of the reading size, so moving `typography.readingSize` moves all six instead of leaving six literals behind.
169
+
170
+ | Step | Ratio | Size | Leading | Tracking |
171
+ |---|---|---|---|---|
172
+ | `display` | 2 | 32px | 1.1 | −0.055em |
173
+ | `title` | 1.5 | 24px | 1.2 | −0.04em |
174
+ | `heading` | 1.25 | 20px | 1.3 | −0.03em |
175
+ | `subheading` | 1.0625 | 17px | 1.45 | −0.01em |
176
+ | `body` | 1 | 16px | 1.5 | 0 |
177
+ | `caption` | 0.8125 | 13px | 1.45 | 0 |
178
+
179
+ The scale is deliberately modest. Crystal's hierarchy is carried by weight and material as much as by size, and a dramatic scale fights that.
180
+
181
+ Leading tightens as size grows — large text needs proportionally less to read as a block rather than as a list of lines — and tracking tightens with it, because default tracking reads loose at display sizes.
182
+
183
+ The steps reach CSS as `--cr-text-<step>-size`, `-leading` and `-tracking`. **Density tightens leading and never the size**: shrinking text at higher density trades legibility for space, which Crystal does not do — density tightens spacing and never touches a 44px target or a reading size.
184
+
185
+ **The level and the step are chosen separately.** A heading's level is its position in the document outline; its step is a design decision. A component where `level={2}` also means "medium" forces a choice between a correct outline and a correct appearance, and products reliably choose appearance.
186
+
187
+ ## Scrolling
188
+
189
+ A scrollbar belongs to the material it scrolls, not to the operating system. There are two, and which one a surface takes follows the hierarchy rather than taste.
190
+
191
+ | Class | Material | Thumb | Use it on |
192
+ |---|---|---|---|
193
+ | `.cr-scroll-frost` | Frost | palette ink at 55% | Panels, side navigation, long reading surfaces, and dialogs. Frost is the intermediate surface, so its scrollbar belongs to the panel the way the panel's own text does. |
194
+ | `.cr-scroll-resin` | Resin | palette primary at 80% | Floating control planes, menus, popovers, and compact or horizontal scrollers such as `.cr-table-scroll`. Resin is the control plane, so a scrollbar there is tinted like a control. |
195
+
196
+ `.cr-scroll` carries the behaviour both build on and is worth applying to any scroll container on its own:
197
+
198
+ - `overscroll-behavior: contain` stops scroll chaining, so a swipe that reaches the end of a scroller does not carry on into the page underneath. This is invisible with a mouse and immediately obvious on a phone.
199
+ - `scrollbar-gutter: stable` keeps content from shifting when a vertical scrollbar appears. It is not applied to horizontal-only scrollers, where the gutter would reserve space against a scrollbar that never arrives. A dialog takes `stable both-edges` so centred content stays centred.
200
+ - `touch-action: pan-x pan-y` leaves the browser's own gesture handling in place, so momentum and rubber-banding still feel native.
201
+
202
+ A horizontal scroller is the one case that needs care. Setting `overflow-x: auto` makes `overflow-y` compute to `auto` as well, so a gutter is reserved for a vertical scrollbar that can never appear — 12px lost at the inline edge.
203
+
204
+ **Add `.cr-scroll-x` to say a scroller is horizontal-only.** CSS cannot work it out, so it has to be declared:
205
+
206
+ ```html
207
+ <div class="cr-scroll-resin cr-scroll-x">…</div>
208
+ ```
209
+
210
+ It clips the block axis and releases the gutter, which is the same treatment `.cr-table-scroll` gets by being excluded from the gutter rule. `verify-scroll` fails any container that scrolls across but not down while still holding a gutter, so forgetting it is caught rather than merely costly.
211
+
212
+ Both thumbs clear 3:1 against every Crystal surface in all six palettes and both modes; the token gate asserts it. Under reduced transparency and forced colors the thumb goes solid and takes the system or outline colour.
213
+
214
+ ### Edge fades
215
+
216
+ A scroll area fades its content where there is more beyond the edge — 24px, on the scrolling axis, at whichever ends have content past them. A fade says "there is more this way" on a touch device, where the scrollbar is an overlay that is not there until you are already scrolling.
217
+
218
+ The fade is a **mask**, not a painted overlay. What an overlay would have to paint is the surrounding material, and a colour approximating a translucent material over an unknown backdrop is wrong at every edge except the one it was sampled at. A mask lets the real material show through.
219
+
220
+ Set `data-cr-scroll` to `start`, `end` or `both` — which edges have content beyond them — together with `data-cr-scroll-axis` of `x` or `y`. `start` means the container is *at* its start, so only the far edge fades. Without the attribute nothing fades, so a container with no runtime driving it is unmasked rather than permanently faded at both ends. Start and end are logical: the horizontal gradient turns around in right-to-left.
221
+
222
+ A mask fades the whole element — its own fill and border included — so the fade belongs on the element that scrolls. A material surface that also scrolls puts its material on a wrapper, or the panel dissolves along with the content it is holding.
223
+
224
+ The same token is the container's `scroll-padding`, which is what keeps this accessible. Browsers scroll a newly focused element into view respecting scroll padding, so a focus ring can never come to rest underneath the fade — Crystal does not blur focus, and fading one would be the same defect by another route. Forced colors removes the fade entirely.
225
+
226
+ What a native scrollbar cannot carry is the material itself — `backdrop-filter` has no effect on one, and the standard properties expose only two colours and a coarse width. A surface that needs the material in full uses the **scroll area** component, which draws its thumb as a real element.
227
+
228
+ ## Acceptance
229
+
230
+ Inspect light/dark, every palette, strongest atmosphere, both Frost tint extremes, reduced effects, narrow layouts, long labels, text zoom, keyboard focus and relevant backdrop extremes. The material comparison board intentionally places all samples over the same saturated motif so differences remain visible. Compare silhouettes and depth relationships, not only pixel similarity.
231
+
232
+ ## Resin with Haze: interactive and compact surfaces
233
+
234
+ Resin is the primary background for buttons and all interaction surfaces. Its body stays at 20% fill with the existing blur, saturation, illuminated rim and elevation. When contrast requires protection, put an 80% Haze reading fill inside that shell, with the existing 1.95px feather and an 8px visible Resin perimeter, exported as `--cr-haze-inset`. That inset is a token rather than a number each library retypes: the fill and its feather were always exported, the inset was not, and a library can carry every Haze token and still paint no fill at all. Keep text sufficiently inset from the feather. The adjustable preview always uses this protected construction.
235
+
236
+ This same composition is required for small information displays—tooltips, toasts, labels, tags and badges—and temporary secondary menus, dropdowns, flyouts and popovers. It does not replace the structural Plastic → Frost → Resin hierarchy or turn every large component into Resin. Stone remains a named material with its own standalone specifications; compact UI labels now choose Resin/Haze instead of an isolated Stone slab.
237
+
238
+ Optical highlights remain below the Haze reading fill, including during animation. They can cross the exposed Resin perimeter without bleaching the protected label background. Contrast models check this actual ordering across all six palettes, both modes and RGB-corner backdrops.
239
+
240
+ ### Interaction surface geometry
241
+
242
+ Use a broad, luminous Resin rim with an 8px inset reading fill and diffuse paired shadows. Avoid thin dark perimeter strokes on ordinary action buttons; native text-entry fields retain a functional boundary and every control retains a visible keyboard focus ring. Standalone actions use generous padding and full pill geometry.
243
+
244
+ Toolbars, segmented controls and tab groups share one Resin/Haze surface. Their inactive actions have no separate bevel, backdrop filter or raised outline. Only the selected action gains a raised, strongly colored indicator, plus a non-color selection cue. Temporary menus follow the same shared-surface principle. The material motion suite is unchanged by this visual refinement.
245
+
246
+
247
+ ## Material definition on small and nested surfaces
248
+
249
+ A small Resin control over a Haze reading well can lose the color and depth visible in the larger material studies. Keep the 20% Resin body and 80% inset Haze fill. Supply restrained contextual light **under** the Haze rather than increasing body opacity or painting the label. The control optical layer mixes glow at 12.6% and decorative color at 8.4% in light mode; dark mode uses 9.8% and 7% (a 30% reduction from the previous rim color opacity). On buttons and action links, inset the chromatic paint by 2px and feather that paint by 2px beneath Haze, so the color blends inward into the content fill. Keep the outer optical contour and all text crisp. Palette specimen colors and selection marks are not blurred. These are local gradient maxima, not changes to the global atmosphere or material opacity. Do not increase saturation to compensate for every additional nested surface. The approved material studies remain the visual authority.
250
+
251
+ Use a luminous outer contour and soft paired shadows instead of a dark hairline around every control. Text fields have a circular Resin/Haze field-state badge within the Resin surround; keyboard focus still adds a full, clearly visible ring. Checkboxes and radios use contained selection marks, switches retain a contrast-bearing thumb, and sliders use a value-driven track and marked glass thumb. Keep labels and native semantics. Status badges use their semantic symbol and words, with the tested semantic ink/surface pair behind the symbol, rather than a colored perimeter stroke. Selection, errors and focus must remain distinguishable without color.
252
+
253
+ When adapting controls to different sizes, preserve enough exposed Resin to show the rim and enough protected Haze to keep text crisp. Do not blur the element or its foreground. Opaque, reduced-transparency and forced-color modes remain functional alternatives. Validate actual composed controls in both modes and at narrow widths; a beautiful isolated material swatch does not establish component fidelity.
254
+
255
+ ## Light
256
+
257
+ Every material has an optical behaviour, and the behaviour follows from what the material
258
+ physically is. These are rules, not effects.
259
+
260
+ | Material | What it does with light | Why |
261
+ | --- | --- | --- |
262
+ | **Plastic** | **Emits.** Carries its palette's glow over the atmosphere tint, drifting slowly. | Opaque things cannot bend light. A foundation that refracted would be claiming a transparency it does not have. |
263
+ | **Frost** | **Refracts broadly.** A slow, low-amplitude wander of colour temperature across the surface. | At 40px of diffusion nothing sharp survives. Light through frosted glass shows you colour, not shape — so Frost's refraction is chromatic and formless. |
264
+ | **Resin** | **Refracts sharply.** Dispersion concentrated at the rim, with the specular band tracking interaction. | At 20px, detail survives. Resin is the front layer and the one the user is closest to, so its optics are the most defined of the three. |
265
+ | **Haze** | **Breathes.** Its boundary travels outward and inward. | Haze *is* its feathered edge. A fill that pulses in opacity is not an edge that moves; it is the same edge getting fainter. |
266
+ | **Stone** | **Breathes, more tightly.** The same boundary motion at a shorter period. | Stone is a label backing, so its edge is smaller and closer to text. It moves less far and settles sooner. |
267
+ | **Mirage** | **Flows.** A slow current while a dialog is open. | The scrim is the only surface with nothing above it competing for attention. |
268
+
269
+ Resin and Frost differ in **amount and in kind**, not merely in intensity. Turning Resin's
270
+ dispersion down does not produce Frost; it produces weak Resin. The diffusion radius
271
+ decides which is correct.
272
+
273
+ ### Light reaches the shadow
274
+
275
+ The light a material refracts is the light that reaches the surface beneath it, so a
276
+ Crystal shadow is not neutral grey. The active palette's companion mixes into the shadow
277
+ ink — 34% in light mode, 40% in dark.
278
+
279
+ **The mix is on the colour only.** Each shadow layer keeps its authored alpha exactly,
280
+ because a shadow that is tinted must not also become heavier. Prism's content shadow moves
281
+ from `rgba(39,24,68,.15)` to `rgba(107,40,112,.15)`: the same weight, carrying colour.
282
+
283
+ ### Motion at rest
284
+
285
+ These behaviours are the material's **rest state**, not a response to being used. A Crystal
286
+ surface is alive before anyone touches it, and interaction *adds* energy rather than
287
+ starting the effect: rest, faster on hover, faster still on press, decaying back.
288
+
289
+ The single exception is text entry. A field being typed into is the one place where motion
290
+ genuinely competes with the task, so ambient pauses there and nowhere else.
291
+
292
+ Three rules bound all of it. It runs on the rim and the fill and **never on a surface being
293
+ read** — the same argument that makes Resin lens at its edge rather than ripple through its
294
+ middle. It is the **first thing `prefers-reduced-motion` removes**, entirely rather than
295
+ gently. And it is an **enhancement on top of a complete floor**: with the shader layer
296
+ unavailable and ambient disabled, every page renders exactly its reference baseline, which
297
+ is what gate G8 proves.
298
+
299
+
300
+ ## Resin never contains Resin
301
+
302
+ **A Resin surface may not contain another Resin surface.** When something has to sit on
303
+ top of a Resin element — a label, a badge, a nested control, a content area — that upper
304
+ layer becomes a **Haze content fill**. This is a hard rule, and it is the one adopters
305
+ break most often.
306
+
307
+ ### Why
308
+
309
+ Resin is a backdrop filter: it samples what is behind it, blurs at 20px and saturates to
310
+ 165%. Nest a second Resin surface inside the first and the inner one samples *the already
311
+ blurred output of the outer one*. The result is a blur of a blur — contrast collapses,
312
+ edge definition disappears, and any text on the inner surface is sitting on a field of
313
+ mush that changes as the page scrolls behind it.
314
+
315
+ This is the specific, repeatedly documented failure of translucent interface materials
316
+ generally: stacked translucency reads as beautiful in a static mock and as illegible in
317
+ use. Crystal's answer is not to soften Resin — that would regress the material — but to
318
+ change what the upper layer is made of.
319
+
320
+ ### The fix is always the upper layer
321
+
322
+ | Situation | Wrong | Right |
323
+ | --- | --- | --- |
324
+ | A label on a Resin dock | Give the label its own Resin chip | Give it a Haze content fill, or Stone if the backdrop is unknown |
325
+ | A control inside a Resin bar | `.cr-resin` on the control | Plastic control, no backdrop filter |
326
+ | A content area in a Resin panel | Nested `.cr-resin` | `.cr-haze` recessed into the frame |
327
+
328
+ Never weaken the outer Resin to make a nested one legible. Resin's parameters are fixed
329
+ at 20px blur, 165% saturation and a 20% fill; changing them to accommodate a composition
330
+ that should not exist trades a real material for a local convenience.
331
+
332
+ ### How it is enforced
333
+
334
+ The rule is enforced in CSS, so a mistake is corrected rather than merely reported:
335
+
336
+ ```css
337
+ /* Any control inside a Resin surface loses its own backdrop filter and gets its
338
+ own stacking context, so it composites against the frame instead of resampling it. */
339
+ :is(.cr-resin,.cr-glass,.cr-resin-haze) :is(button,a.cr-button,.cr-button,.cr-control){
340
+ backdrop-filter:none;
341
+ -webkit-backdrop-filter:none;
342
+ isolation:isolate;
343
+ }
344
+ ```
345
+
346
+ It is also checked. `npm run audit:materials` loads every page in the site, reads the
347
+ *computed* backdrop filter of every element, classifies each surface by its blur radius
348
+ against the live `--cr-resin-blur` and `--cr-frost-blur` tokens, and fails on any Resin
349
+ nested inside Resin. Classifying by radius rather than by "has a backdrop filter" matters:
350
+ Resin inside **Frost** is the intended hierarchy and must not be flagged.
351
+
352
+ There is deliberately no live counter-example on this page. A rendered Resin-on-Resin
353
+ specimen would make the specification violate the rule it specifies, and the audit —
354
+ which reads these pages like any other — would fail the build. The failure is described;
355
+ only the correct composition is real.
356
+
357
+ ### The correct composition, live
358
+
359
+ Haze is the readable fill *inside* a translucent frame. It is recessed rather than
360
+ raised, because a fill that floats above its own frame reads as a separate object rather
361
+ than as the frame's content:
362
+
363
+ <div id="haze-in-resin-demo" class="cr-resin" style="padding:18px;max-width:420px" markdown="1">
364
+ <div class="cr-haze" style="padding:14px 16px;border-radius:14px" markdown="1">
365
+ This paragraph sits on a Haze content fill inside a Resin frame. The fill is 80% opaque
366
+ with a 1.95px feather, and it is recessed into the frame with an inset shadow.
367
+ </div>
368
+ </div>
369
+
370
+ The recess is a single pair of inset shadows — a dark inner top edge and a light inner
371
+ bottom edge — which is how neumorphic surfaces express recession under a consistent
372
+ light source. Crystal's light source is above, so the shadow is at the top and the
373
+ highlight at the bottom. Inverting that pair is what makes a surface read as raised:
374
+
375
+ ```css
376
+ :is(.cr-resin,.cr-glass,.cr-resin-haze) :is(.cr-haze,.cr-surface,.cr-well,.cr-content-fill){
377
+ box-shadow:inset 0 1px 2px rgba(39,24,68,.15), /* light source is above */
378
+ inset 0 -1px 0 var(--cr-rim);
379
+ }
380
+ ```
381
+
382
+ Crystal takes the recession model from neumorphism and rejects its palette. Neumorphism's
383
+ characteristic failure is that it tints the surface, the highlight and the shadow from one
384
+ near-identical hue, so nothing has enough contrast to be found or read. Here the geometry
385
+ is neumorphic and the contrast is not: the fill is 80% opaque, and the text on it is
386
+ checked against the same ratios as text anywhere else.
387
+
388
+ ### Feathering never touches content
389
+
390
+ Haze's 1.95px feather applies to an isolated paint layer only. Text, icons, hit areas and
391
+ focus rings stay crisp. A feathered glyph is a blurry glyph, and no amount of material
392
+ intent makes that legible — the feather exists to soften the *edge of the fill* against
393
+ the frame behind it, nothing more.
394
+
395
+ ## See it working
396
+
397
+ The [Playground](../playground.html#foundations) renders the full hierarchy live, with
398
+ atmosphere, Frost tint, elevation and content radius adjustable. The
399
+ [supporting materials section](../playground.html#supporting-materials) shows Haze, Stone
400
+ and Mirage in the compositions each is intended for.
@@ -0,0 +1,195 @@
1
+ # Component motion suite
2
+
3
+ [Open the live component studies](../motion.html#component-motion) · [Search all recipes](../motion.html#recipe-library) · [Run browser contracts](../motion-contracts.html)
4
+
5
+ Crystal ships 55 executable component recipes in nine families, the six material signatures, Mirage withdrawal, a modal dismissal, and a measured-layout helper. This is the animation foundation for future component libraries. The demonstration includes real local component behavior, but is not an audited production React, Rust or native component library. No remote operation is represented as implemented.
6
+
7
+ ## Engine responsibilities
8
+
9
+ **Motion 13.4.0** runs component and material element keyframes: translation, opacity, scale and state feedback. **GSAP 3.15.0** timelines coordinate the paint-layer clocks for feathered edges, optical highlights and rims, plus selected component sequences. Recipes declare a material and a motion signature: pressure, coalescence, meniscus movement, caustic light, surface tension, feathering, refraction or inertia. Optical layers share the component’s cancellation group and never animate text blur. GSAP drives paused native effects when targeting actual pseudo-elements. It does not clone private page content or replace the material with a screenshot.
10
+
11
+ Both packages are installed with exact versions in `package.json`, resolved transitively in `package-lock.json`, and bundled locally as `assets/vendor/crystal-engines.js`. No runtime CDN is required. The pure token resolver remains independent of the engines. The preview’s native dialog backdrop keeps a CSS fallback with the same timing tokens. Frost unfolds in depth; Plastic settles with weight; Resin compresses and redistributes its light; Haze and Stone move through their perimeter. Five larger material studies have generously sized replay stages.
12
+
13
+ The engine bridge gives both libraries one cancellation contract: `finished` settles on completion or cancellation, and only properties owned by the effect are restored. Cancellation never leaves a promise waiting for a killed GSAP timeline. Material replay, component recipes, and layout changes all participate in `CrystalMotion.stop()` and `stopAll()`.
14
+
15
+ ## Motion rules shared by every component
16
+
17
+ - Semantic state, selected values, routing decisions, modality and focus take effect immediately. A visual transition cannot authorize an action or fabricate success.
18
+ - Ordinary translation is 5–30px. 50px guides compact motion; documented larger compositions may exceed it. Haze and Stone content stays in place; only their feathered paint moves locally.
19
+ - Typical sequences stay under two seconds at 1×. Each animation is capped at five seconds after speed adjustment. Defaults for controls are substantially shorter than material studies.
20
+ - The saved 0.25–2× speed factor applies throughout the preview and both engines. OS or explicit reduced motion overrides it and presents the final semantic state immediately.
21
+ - No automatic carousel, endless shimmer, flashing error, or infinite decorative loop is included. A finite busy cue can end while an operation remains busy; its static status remains.
22
+ - Exits keep focus safe. Move focus out before hiding nonmodal content; keep native modality during a modal exit, then restore the trigger.
23
+ - Never animate a visible keyboard focus ring away. Hover is supplementary, and disabled controls do not animate.
24
+ - Adopters must cancel effects on unmount, suspend offscreen work, and run assistive-technology and platform-performance checks on their actual components.
25
+
26
+ ## Interaction and compact-surface materials
27
+
28
+ All interaction surfaces use a 20% Resin body, visible illuminated rim and an inset 80% Haze reading fill where contrast needs protection. The preview uses the protected form consistently because its surroundings are adjustable. The reading fill is physically inset, so the Resin perimeter stays visible. Standalone actions keep a neutral Haze reading fill inside a broad Resin rim. Grouped actions share one Resin/Haze container: inactive items are transparent, and the selected item uses the tested primary/on-primary color pair as a raised indicator with a circular check badge. The group retains the surrounding material shell.
29
+
30
+ The same formula applies to **tooltips, toasts, display labels, tags and badges**, and **secondary menus, dropdowns, flyouts and popovers**. Use `.cr-resin-haze` for these shells; `.cr-tag` adds compact label geometry. This does not change large persistent Frost panels, Plastic foundations, Haze reading areas, or the standalone Stone material. Plain prose and ordinary form-label text do not need their own material container. Native OS option popups and file choosers retain platform drawing; the in-app menu and select trigger use Crystal.
31
+
32
+ ## Component coverage and composition
33
+
34
+ | Component family | Recipes / composition | Required semantics and state |
35
+ |---|---|---|
36
+ | Button, icon button, action link | `press`, `hover` | Native activation; disabled state; visible focus |
37
+ | Toggle, checkbox, radio, segmented control, selectable chip | `selection`, `switch-on`, `switch-off`, `check` | Checked/pressed state and a non-color indicator |
38
+ | Slider, stepper, numeric output | `slider-step` | Native keyboard range interaction and current value |
39
+ | Input, textarea, validation group | `field-focus`, `field-invalid`, `field-valid`, `hint-in/out` | Real validation, associated error text, `aria-invalid` |
40
+ | Copy action, confirmation mark | `copy-confirm`, `success` | Play only after the actual action succeeds |
41
+ | Tab, navigation rail, bottom navigation | `selection`, `tab-in` | Selected semantics, roving tab stop, panel visibility |
42
+ | Page/view, wizard step, breadcrumb, pagination | `page-in/out`, `breadcrumb` | Router/history and focus managed by the host |
43
+ | Dialog / alert dialog | Haze + Mirage + `dismiss` | Native modality, initial focus, Escape, focus return |
44
+ | Drawer / inspector / sheet | `drawer-in/out` + Mirage | Native modality or an explicitly nonmodal panel contract |
45
+ | Dropdown / select / command menu | `menu-in/out` | Keyboard selection, dismissal and trigger state |
46
+ | Popover / hover card | `popover-in/out` | No accidental focus trap; close and outside dismissal |
47
+ | Tooltip | `tooltip-in/out` | Focus and hover access; `aria-describedby`; Escape |
48
+ | Accordion / disclosure / tree group | `accordion-in/out`, `icon-turn` | Expanded state, region relation, focus before collapse |
49
+ | List / table row / card / grid cell | `list-in/out`, `highlight` | Update actual collection data and announce meaningful changes |
50
+ | Reordering / sortable item / drag-and-drop | `layout()`, `reorder`, `drag-pickup`, `drag-settle` | Host owns pointer capture, drop validation and keyboard alternative |
51
+ | Resizable panel / split view | `resize-settle`, `layout()` | Host owns resize handles and keyboard bounds |
52
+ | Chat message / reaction / activity entry | `message-in`, `reaction`, `highlight` | Real local/remote data state; no forced scroll or replay on history |
53
+ | Toast / snackbar / banner | `toast-in/out`, `attention` | Persistent readable status; manual dismissal in this preview |
54
+ | Progress bar / transfer indicator | `progress-change`, `success` | Actual measured progress; never animate a fabricated success |
55
+ | Busy indicator / skeleton | `busy`, `skeleton-resolve` | Real pending/ready state, no inference from animation completion |
56
+ | Empty state / no-results panel | `empty-in` | Actual empty collection or search result |
57
+ | Image / video surface / lightbox | `media-in`, `caption-in`, Haze/Mirage if modal | Decode/readiness event, reserved layout space, media controls owned by host |
58
+ | Carousel / gallery / thumbnail strip | `carousel-next/previous`, `selection` | Explicit navigation, item count, descriptive text; no autoplay |
59
+ | Avatar / presence / badge / unread counter | `selection`, `highlight`, `attention` | Status text or accessible label; no color-only meaning |
60
+ | Calendar / date picker / combobox | `menu-in/out`, `selection`, `page-in` | Full keyboard/locale/date semantics supplied by the component library |
61
+
62
+ Mappings intentionally share recipes. Each new product component should select a behavior contract rather than invent another animation for a synonymous state. The suite does not implement a router, a production combobox, pointer dragging, a video player, or network services; it provides their usable motion primitives and exact integration responsibilities.
63
+
64
+ ## Executable recipe catalog
65
+
66
+ Base times below are at 1×; the preview resolves the saved speed at playback. Every row has an executable recipe and a replay in the library.
67
+
68
+ <!-- generated:component-recipes -->
69
+
70
+ | ID | Material / behavior | Engine | Base duration | Intended use |
71
+ |---|---|---|---|---|
72
+ | `press` | resin / pressure | Motion | 320ms | Buttons, icon buttons and segmented controls. Disabled controls never animate. |
73
+ | `hover` | resin / caustic | Motion | 700ms | Fine-pointer affordance only; keyboard focus is immediate. |
74
+ | `selection` | resin / meniscus | Motion | 420ms | Selected chips, radios, toggles and navigation; set selected semantics first. |
75
+ | `switch-on` | resin / coalesce | Motion | 460ms | Animate the thumb after its checked state is applied. |
76
+ | `switch-off` | resin / coalesce | Motion | 460ms | Animate the thumb after its unchecked state is applied. |
77
+ | `check` | resin / iris | Motion | 340ms | Checkbox and radio indicators; retain a visible non-color state. |
78
+ | `slider-step` | stone / feather | Motion | 400ms | Range outputs, steppers and scrubber labels; value updates immediately. |
79
+ | `icon-turn` | resin / torsion | Motion | 440ms | Disclosure chevrons; parent expanded state is authoritative. |
80
+ | `copy-confirm` | resin / coalesce | Motion | 540ms | Only after clipboard write succeeds; retain textual confirmation. |
81
+ | `field-focus` | resin / caustic | Motion | 600ms | Supplementary focus response; never animate or delay the actual focus ring. |
82
+ | `field-invalid` | resin / tension | GSAP | 480ms | Single low-amplitude cue with persistent error text; never repeated shaking. |
83
+ | `field-valid` | resin / meniscus | Motion | 550ms | After real local validation; never imply a remote operation succeeded. |
84
+ | `hint-in` | resin / coalesce | Motion | 500ms | Inline help, character guidance and validation details. |
85
+ | `hint-out` | resin / meniscus | Motion | 500ms | Hide the help only after completion; do not remove focused content. |
86
+ | `tab-in` | frost / refraction | Motion | 650ms | Selected tab panels; apply aria-selected and hidden state synchronously. |
87
+ | `page-in` | plastic / inertia | Motion | 1050ms | New local view after routing is committed; preserve focus and history. |
88
+ | `page-out` | plastic / inertia | Motion | 760ms | Departing view only; never postpone route authorization or loading. |
89
+ | `breadcrumb` | resin / coalesce | Motion | 500ms | New breadcrumb item; current-page semantics stay explicit. |
90
+ | `drawer-in` | frost / refraction | GSAP | 1000ms | Side sheets and inspector panels; establish modality first. |
91
+ | `drawer-out` | frost / refraction | GSAP | 650ms | Keep modal focus contained until dismissal completes. |
92
+ | `menu-in` | resin / coalesce | Motion | 620ms | Dropdowns, selects and command menus; keyboard behavior belongs to the component. |
93
+ | `menu-out` | resin / meniscus | Motion | 380ms | Close menus and restore trigger focus when appropriate. |
94
+ | `tooltip-in` | resin / meniscus | Motion | 420ms | Noninteractive descriptions on focus or hover; Escape dismisses. |
95
+ | `tooltip-out` | resin / meniscus | Motion | 420ms | Pointer and focus must both leave before hiding. |
96
+ | `popover-in` | resin / coalesce | Motion | 620ms | Nonmodal details with outside-click, Escape and focus handling. |
97
+ | `popover-out` | resin / meniscus | Motion | 380ms | Dismiss nonmodal details without trapping focus. |
98
+ | `accordion-in` | haze / feather | Motion | 650ms | Animate visible content after expanding; no scripted height measurement needed. |
99
+ | `accordion-out` | haze / feather | Motion | 650ms | Hide content after completion; return focus first if a child has focus. |
100
+ | `list-in` | haze / feather | Motion | 650ms | Real added messages, table rows, cards and collection items. |
101
+ | `list-out` | haze / feather | Motion | 440ms | Remove after completion; announce the actual change and keep focus valid. |
102
+ | `reorder` | plastic / inertia | GSAP | 500ms | Supplement DOM reordering; use layout() for measured bounded displacement. |
103
+ | `highlight` | haze / feather | Motion | 500ms | A brief update cue paired with actual content or announcement. |
104
+ | `message-in` | haze / feather | Motion | 650ms | Only on a new message; do not replay on virtualized history or steal scroll. |
105
+ | `reaction` | resin / coalesce | Motion | 680ms | Toggle the real reaction state and count before the response. |
106
+ | `toast-in` | resin / coalesce | Motion | 650ms | Live status text with a persistent dismiss button. |
107
+ | `toast-out` | resin / meniscus | Motion | 440ms | No timer required; manual dismissal preserves reading time. |
108
+ | `success` | stone / feather | GSAP | 600ms | Use after a successful operation with text and a recognizable mark. |
109
+ | `attention` | stone / feather | Motion | 500ms | Single finite cue for important text; never flash or loop. |
110
+ | `progress-change` | stone / feather | Motion | 500ms | Actual progress is set first; this animation does not fabricate completion. |
111
+ | `busy` | stone / feather | GSAP | 680ms | One cycle for an actual pending operation; keep a static busy label if it lasts longer. |
112
+ | `skeleton-resolve` | haze / feather | Motion | 650ms | Replace a skeleton only when real data arrives; no endless shimmer. |
113
+ | `empty-in` | resin / coalesce | Motion | 500ms | Shown only when the collection is actually empty. |
114
+ | `media-in` | frost / refraction | Motion | 900ms | After an image decodes or media becomes ready; reserve layout space. |
115
+ | `caption-in` | resin / coalesce | Motion | 500ms | Optional descriptive caption; text remains accessible in reduced motion. |
116
+ | `carousel-next` | frost / refraction | GSAP | 920ms | Explicit next/previous navigation; never autoplay. |
117
+ | `carousel-previous` | frost / refraction | GSAP | 920ms | Maintain item count and keyboard navigation. |
118
+ | `drag-pickup` | resin / tension | Motion | 500ms | Visual lift for a selected movable item; keyboard alternative required. |
119
+ | `drag-settle` | resin / coalesce | GSAP | 640ms | After a valid local move, with undo where data changes. |
120
+ | `resize-settle` | frost / refraction | Motion | 600ms | After measured layout size changes; never animate focus or hide handles. |
121
+ | `resin-confluence` | resin / coalesce | GSAP | 1600ms | Explicit material choreography for a large specimen; replay is a visual study, not an application action. |
122
+ | `frost-unfold` | frost / refraction | GSAP | 1900ms | Explicit material choreography for a large specimen; replay is a visual study, not an application action. |
123
+ | `plastic-settle` | plastic / inertia | GSAP | 1700ms | Explicit material choreography for a large specimen; replay is a visual study, not an application action. |
124
+ | `haze-tide` | haze / feather | GSAP | 1800ms | Explicit material choreography for a large specimen; replay is a visual study, not an application action. |
125
+ | `stone-contour` | stone / feather | GSAP | 1300ms | Explicit material choreography for a large specimen; replay is a visual study, not an application action. |
126
+ | `check-off` | plastic / iris | Motion | 300ms | Checkbox and radio indicators returning to unchecked. Paired with `check`; the iris closes toward the same point it opened from. |
127
+ <!-- /generated:component-recipes -->
128
+
129
+ ## Runtime API
130
+
131
+ Load `controls.css` after the other preview styles; `controls.js` adds Resin shells around native text fields and selects while preserving their labels, validation and keyboard behavior. Load scripts in this order: theme CSS, primitive CSS, motion CSS, `assets/vendor/crystal-engines.js`, `assets/motion-catalog.js`, then `assets/motion.js`. Load `tokens.js` and `crystal.js` first if resolving user preferences dynamically. `motion-interactions.js` optionally installs delegated button feedback; omit it when your component library owns gesture handling to avoid duplicate effects.
132
+
133
+ ```js
134
+ // Apply real UI state before giving it visual feedback.
135
+ button.setAttribute('aria-pressed', 'true');
136
+ const result = await CrystalMotion.play(button, 'selection');
137
+ // result.status is finished, cancelled or instant.
138
+
139
+ // A real reorder, with measured motion that may exceed 50px.
140
+ const before = row.getBoundingClientRect();
141
+ list.insertBefore(row, row.previousElementSibling);
142
+ await CrystalMotion.layout(row, before);
143
+
144
+ // Cleanup on unmount or superseding intent.
145
+ CrystalMotion.stop(row);
146
+ CrystalMotion.stopAll();
147
+ ```
148
+
149
+ `play(element, recipeId, {rate})` accepts all material and component recipe IDs. An additional replay rate is optional; the default uses the user's factor once, not twice. `duration(baseMilliseconds, rate)` resolves the same factor and cap. `recipes` exposes the catalog metadata. Unknown presets and invalid targets throw rather than reporting a fake completion.
150
+
151
+ `layout(element, previousRect)` compares the previous and current DOM position. Displacements up to the viewport diagonal use a GSAP-controlled inverse transform, with duration adapting to distance. Pass `{extended:false}` to retain the compact 50px/crossfade behavior. Offscreen-scale moves beyond the viewport diagonal crossfade. The final order is always the real DOM order. Layout animation is cosmetic and does not supply drag-and-drop behavior.
152
+
153
+ The engine bridge restores prior inline values and priorities for its owned properties. Consumers should avoid modifying the same animated property during an effect; stop it before changing that property. Component implementations should use a dedicated animated wrapper when they already own a nontrivial transform. Libraries must not let two engines compete for the same property.
154
+
155
+ ## Live examples and interruption
156
+
157
+ The component page includes local validation and actual clipboard handling; keyboard tabs and menus; a disclosure protected against rapid open/close races; hover/focus tooltip; dismissible popover; native modal inspector sheet; collection insertion/removal/reordering; a local message log with reactions; manually dismissed notifications; actual browser SHA-256 computation; carousel studies; and decoding of a user-selected local image without uploading it.
158
+
159
+ Disclosure, popover, menu and toast closures use an intent counter so a stale completion cannot hide a reopened component. A removed item preserves focus. Tab changes cancel the previous panel. Modal dismissal contains focus until it ends. The sheet exit shares the 650ms departure clock with its Mirage backdrop. Tooltip display is tied to both hover (including the tooltip itself) and focus; Escape dismisses it. Files use object URLs that are revoked when replaced or the page exits.
160
+
161
+ The catalog replays visual recipes on isolated specimens; a menu recipe replay is not itself a menu implementation. The separate live examples demonstrate behavior where supplied. This separation prevents a replay sample from being mistaken for a production application feature.
162
+
163
+ ## Packaging and validation
164
+
165
+ ```sh
166
+ npm ci
167
+ npm run build:motion
168
+ npm test
169
+ python3 tools/build.py
170
+ python3 tools/validate.py
171
+ python3 tools/package.py
172
+ ```
173
+
174
+ Python documentation tooling needs the packages listed in `tools/requirements.txt`. Prebuilt assets are included for offline viewing; no install is required to open the preview through a local static server. `node_modules` is excluded from the ZIP; sources, pinned lockfile, catalog, bundle, notices and tests are included.
175
+
176
+ `npm test` checks token contracts, recipe uniqueness, duration/travel bounds, engine declarations and installed dependency metadata. The browser check page uses the real installed engines to verify recipe completion, cancellation, supersession, property restoration, reduced motion, duration limits, stationary foregrounds, every material signature and the component page in a 320px browsing context. Test results are evidence for the exercised browser, not a full WCAG, native-renderer or cross-browser certification.
177
+
178
+ ### Storybook and future component packages
179
+
180
+ For each actual component, add stories for default/hover/focus/pressed/selected/disabled/error/busy states as applicable; enter/exit; rapid reversal; long labels and RTL; narrow viewports; both color modes; opaque fallback; reduced motion; and 0.25×/1×/2× timing. Interaction tests must assert the real semantic result and focus behavior, not merely that an animation finished. Pin a known frame or use reduced motion for stable visual snapshots, then test motion separately.
181
+
182
+ The current package is framework-independent. Future React, Rust or native packages can map this catalog to platform engines while preserving the ordinary travel guidance and documented large-travel exceptions, the stationary Haze/Stone rule, timing relationships, material effects, cancellation and accessibility behavior. A production Storybook is a future component-library deliverable; it is not claimed as shipped by this static reference.
183
+
184
+ ### Interaction surface geometry
185
+
186
+ Use a broad, luminous Resin rim with an 8px inset reading fill and diffuse paired shadows. Avoid thin dark perimeter strokes on ordinary action buttons; native text-entry fields retain a functional boundary and every control retains a visible keyboard focus ring. Standalone actions use generous padding and soft capsule geometry.
187
+
188
+ Toolbars, segmented controls and tab groups share one Resin/Haze surface. Their inactive actions have no separate bevel, backdrop filter or raised outline. Only the selected action gains a raised, strongly colored indicator, plus a non-color selection cue. Temporary menus follow the same shared-surface principle. The material motion suite is unchanged by this visual refinement.
189
+
190
+
191
+ ## Completion and reusable overlays
192
+
193
+ The Motion adapter uses its native `motion/mini` entry point for the existing CSS keyframes; GSAP still coordinates pseudo-element paint. Wait for the complete property group before restoring the caller's inline values and priorities. Do not restore paint inside a per-property completion callback while another renderer can still commit final values. In particular, dismissal must never leave `opacity: 0` on a reusable dialog.
194
+
195
+ The runtime regression checks inspect restored styles after subsequent browser frames and exercise four real Mirage open/close cycles, including reduced motion and focus return. Main and motion previews share this adapter. Dialogs suppress incidental horizontal overflow caused by animated feather paint; long code content retains its own scroll container.