angular-tailwind-components 1.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 (329) hide show
  1. package/README.md +168 -0
  2. package/fesm2022/angular-tailwind-components.mjs +3144 -0
  3. package/fesm2022/angular-tailwind-components.mjs.map +1 -0
  4. package/package.json +29 -0
  5. package/tailwind-icons/academic-cap.svg +3 -0
  6. package/tailwind-icons/adjustments-horizontal.svg +3 -0
  7. package/tailwind-icons/adjustments-vertical.svg +3 -0
  8. package/tailwind-icons/archive-box-arrow-down.svg +3 -0
  9. package/tailwind-icons/archive-box-x-mark.svg +3 -0
  10. package/tailwind-icons/archive-box.svg +3 -0
  11. package/tailwind-icons/arrow-down-circle.svg +3 -0
  12. package/tailwind-icons/arrow-down-left.svg +3 -0
  13. package/tailwind-icons/arrow-down-on-square-stack.svg +3 -0
  14. package/tailwind-icons/arrow-down-on-square.svg +3 -0
  15. package/tailwind-icons/arrow-down-right.svg +3 -0
  16. package/tailwind-icons/arrow-down-tray.svg +3 -0
  17. package/tailwind-icons/arrow-down.svg +3 -0
  18. package/tailwind-icons/arrow-left-circle.svg +3 -0
  19. package/tailwind-icons/arrow-left-end-on-rectangle.svg +3 -0
  20. package/tailwind-icons/arrow-left-on-rectangle.svg +3 -0
  21. package/tailwind-icons/arrow-left-start-on-rectangle.svg +3 -0
  22. package/tailwind-icons/arrow-left.svg +3 -0
  23. package/tailwind-icons/arrow-long-down.svg +3 -0
  24. package/tailwind-icons/arrow-long-left.svg +3 -0
  25. package/tailwind-icons/arrow-long-right.svg +3 -0
  26. package/tailwind-icons/arrow-long-up.svg +3 -0
  27. package/tailwind-icons/arrow-path-rounded-square.svg +3 -0
  28. package/tailwind-icons/arrow-path.svg +3 -0
  29. package/tailwind-icons/arrow-right-circle.svg +3 -0
  30. package/tailwind-icons/arrow-right-end-on-rectangle.svg +3 -0
  31. package/tailwind-icons/arrow-right-on-rectangle.svg +3 -0
  32. package/tailwind-icons/arrow-right-start-on-rectangle.svg +3 -0
  33. package/tailwind-icons/arrow-right.svg +3 -0
  34. package/tailwind-icons/arrow-small-down.svg +3 -0
  35. package/tailwind-icons/arrow-small-left.svg +3 -0
  36. package/tailwind-icons/arrow-small-right.svg +3 -0
  37. package/tailwind-icons/arrow-small-up.svg +3 -0
  38. package/tailwind-icons/arrow-top-right-on-square.svg +3 -0
  39. package/tailwind-icons/arrow-trending-down.svg +3 -0
  40. package/tailwind-icons/arrow-trending-up.svg +3 -0
  41. package/tailwind-icons/arrow-turn-down-left.svg +3 -0
  42. package/tailwind-icons/arrow-turn-down-right.svg +3 -0
  43. package/tailwind-icons/arrow-turn-left-down.svg +3 -0
  44. package/tailwind-icons/arrow-turn-left-up.svg +3 -0
  45. package/tailwind-icons/arrow-turn-right-down.svg +3 -0
  46. package/tailwind-icons/arrow-turn-right-up.svg +3 -0
  47. package/tailwind-icons/arrow-turn-up-left.svg +3 -0
  48. package/tailwind-icons/arrow-turn-up-right.svg +3 -0
  49. package/tailwind-icons/arrow-up-circle.svg +3 -0
  50. package/tailwind-icons/arrow-up-left.svg +3 -0
  51. package/tailwind-icons/arrow-up-on-square-stack.svg +3 -0
  52. package/tailwind-icons/arrow-up-on-square.svg +3 -0
  53. package/tailwind-icons/arrow-up-right.svg +3 -0
  54. package/tailwind-icons/arrow-up-tray.svg +3 -0
  55. package/tailwind-icons/arrow-up.svg +3 -0
  56. package/tailwind-icons/arrow-uturn-down.svg +3 -0
  57. package/tailwind-icons/arrow-uturn-left.svg +3 -0
  58. package/tailwind-icons/arrow-uturn-right.svg +3 -0
  59. package/tailwind-icons/arrow-uturn-up.svg +3 -0
  60. package/tailwind-icons/arrows-pointing-in.svg +3 -0
  61. package/tailwind-icons/arrows-pointing-out.svg +3 -0
  62. package/tailwind-icons/arrows-right-left.svg +3 -0
  63. package/tailwind-icons/arrows-up-down.svg +3 -0
  64. package/tailwind-icons/at-symbol.svg +3 -0
  65. package/tailwind-icons/backspace.svg +3 -0
  66. package/tailwind-icons/backward.svg +3 -0
  67. package/tailwind-icons/banknotes.svg +3 -0
  68. package/tailwind-icons/bars-2.svg +3 -0
  69. package/tailwind-icons/bars-3-bottom-left.svg +3 -0
  70. package/tailwind-icons/bars-3-bottom-right.svg +3 -0
  71. package/tailwind-icons/bars-3-center-left.svg +3 -0
  72. package/tailwind-icons/bars-3.svg +3 -0
  73. package/tailwind-icons/bars-4.svg +3 -0
  74. package/tailwind-icons/bars-arrow-down.svg +3 -0
  75. package/tailwind-icons/bars-arrow-up.svg +3 -0
  76. package/tailwind-icons/battery-0.svg +3 -0
  77. package/tailwind-icons/battery-100.svg +3 -0
  78. package/tailwind-icons/battery-50.svg +3 -0
  79. package/tailwind-icons/beaker.svg +3 -0
  80. package/tailwind-icons/bell-alert.svg +3 -0
  81. package/tailwind-icons/bell-slash.svg +3 -0
  82. package/tailwind-icons/bell-snooze.svg +3 -0
  83. package/tailwind-icons/bell.svg +3 -0
  84. package/tailwind-icons/bold.svg +3 -0
  85. package/tailwind-icons/bolt-slash.svg +3 -0
  86. package/tailwind-icons/bolt.svg +3 -0
  87. package/tailwind-icons/book-open.svg +3 -0
  88. package/tailwind-icons/bookmark-slash.svg +3 -0
  89. package/tailwind-icons/bookmark-square.svg +3 -0
  90. package/tailwind-icons/bookmark.svg +3 -0
  91. package/tailwind-icons/briefcase.svg +3 -0
  92. package/tailwind-icons/bug-ant.svg +3 -0
  93. package/tailwind-icons/building-library.svg +3 -0
  94. package/tailwind-icons/building-office-2.svg +3 -0
  95. package/tailwind-icons/building-office.svg +3 -0
  96. package/tailwind-icons/building-storefront.svg +3 -0
  97. package/tailwind-icons/cake.svg +3 -0
  98. package/tailwind-icons/calculator.svg +3 -0
  99. package/tailwind-icons/calendar-date-range.svg +3 -0
  100. package/tailwind-icons/calendar-days.svg +3 -0
  101. package/tailwind-icons/calendar.svg +3 -0
  102. package/tailwind-icons/camera.svg +4 -0
  103. package/tailwind-icons/chart-bar-square.svg +3 -0
  104. package/tailwind-icons/chart-bar.svg +3 -0
  105. package/tailwind-icons/chart-pie.svg +4 -0
  106. package/tailwind-icons/chat-bubble-bottom-center-text.svg +3 -0
  107. package/tailwind-icons/chat-bubble-bottom-center.svg +3 -0
  108. package/tailwind-icons/chat-bubble-left-ellipsis.svg +3 -0
  109. package/tailwind-icons/chat-bubble-left-right.svg +3 -0
  110. package/tailwind-icons/chat-bubble-left.svg +3 -0
  111. package/tailwind-icons/chat-bubble-oval-left-ellipsis.svg +3 -0
  112. package/tailwind-icons/chat-bubble-oval-left.svg +3 -0
  113. package/tailwind-icons/check-badge.svg +3 -0
  114. package/tailwind-icons/check-circle.svg +3 -0
  115. package/tailwind-icons/check.svg +3 -0
  116. package/tailwind-icons/chevron-double-down.svg +3 -0
  117. package/tailwind-icons/chevron-double-left.svg +3 -0
  118. package/tailwind-icons/chevron-double-right.svg +3 -0
  119. package/tailwind-icons/chevron-double-up.svg +4 -0
  120. package/tailwind-icons/chevron-down.svg +3 -0
  121. package/tailwind-icons/chevron-left.svg +3 -0
  122. package/tailwind-icons/chevron-right.svg +3 -0
  123. package/tailwind-icons/chevron-up-down.svg +3 -0
  124. package/tailwind-icons/chevron-up.svg +3 -0
  125. package/tailwind-icons/circle-stack.svg +3 -0
  126. package/tailwind-icons/clipboard-document-check.svg +3 -0
  127. package/tailwind-icons/clipboard-document-list.svg +3 -0
  128. package/tailwind-icons/clipboard-document.svg +3 -0
  129. package/tailwind-icons/clipboard.svg +3 -0
  130. package/tailwind-icons/clock.svg +3 -0
  131. package/tailwind-icons/cloud-arrow-down.svg +3 -0
  132. package/tailwind-icons/cloud-arrow-up.svg +3 -0
  133. package/tailwind-icons/cloud.svg +3 -0
  134. package/tailwind-icons/code-bracket-square.svg +3 -0
  135. package/tailwind-icons/code-bracket.svg +3 -0
  136. package/tailwind-icons/cog-6-tooth.svg +4 -0
  137. package/tailwind-icons/cog-8-tooth.svg +4 -0
  138. package/tailwind-icons/cog.svg +3 -0
  139. package/tailwind-icons/command-line.svg +3 -0
  140. package/tailwind-icons/computer-desktop.svg +3 -0
  141. package/tailwind-icons/cpu-chip.svg +3 -0
  142. package/tailwind-icons/credit-card.svg +3 -0
  143. package/tailwind-icons/cube-transparent.svg +3 -0
  144. package/tailwind-icons/cube.svg +3 -0
  145. package/tailwind-icons/currency-bangladeshi.svg +3 -0
  146. package/tailwind-icons/currency-dollar.svg +3 -0
  147. package/tailwind-icons/currency-euro.svg +3 -0
  148. package/tailwind-icons/currency-pound.svg +3 -0
  149. package/tailwind-icons/currency-rupee.svg +3 -0
  150. package/tailwind-icons/currency-yen.svg +3 -0
  151. package/tailwind-icons/cursor-arrow-rays.svg +3 -0
  152. package/tailwind-icons/cursor-arrow-ripple.svg +3 -0
  153. package/tailwind-icons/device-phone-mobile.svg +3 -0
  154. package/tailwind-icons/device-tablet.svg +3 -0
  155. package/tailwind-icons/divide.svg +3 -0
  156. package/tailwind-icons/document-arrow-down.svg +3 -0
  157. package/tailwind-icons/document-arrow-up.svg +3 -0
  158. package/tailwind-icons/document-chart-bar.svg +3 -0
  159. package/tailwind-icons/document-check.svg +3 -0
  160. package/tailwind-icons/document-currency-bangladeshi.svg +3 -0
  161. package/tailwind-icons/document-currency-dollar.svg +3 -0
  162. package/tailwind-icons/document-currency-euro.svg +3 -0
  163. package/tailwind-icons/document-currency-pound.svg +3 -0
  164. package/tailwind-icons/document-currency-rupee.svg +3 -0
  165. package/tailwind-icons/document-currency-yen.svg +3 -0
  166. package/tailwind-icons/document-duplicate.svg +3 -0
  167. package/tailwind-icons/document-magnifying-glass.svg +3 -0
  168. package/tailwind-icons/document-minus.svg +3 -0
  169. package/tailwind-icons/document-plus.svg +3 -0
  170. package/tailwind-icons/document-text.svg +3 -0
  171. package/tailwind-icons/document.svg +3 -0
  172. package/tailwind-icons/ellipsis-horizontal-circle.svg +3 -0
  173. package/tailwind-icons/ellipsis-horizontal.svg +3 -0
  174. package/tailwind-icons/ellipsis-vertical.svg +3 -0
  175. package/tailwind-icons/envelope-open.svg +3 -0
  176. package/tailwind-icons/envelope.svg +3 -0
  177. package/tailwind-icons/equals.svg +3 -0
  178. package/tailwind-icons/exclamation-circle.svg +3 -0
  179. package/tailwind-icons/exclamation-triangle.svg +3 -0
  180. package/tailwind-icons/eye-dropper.svg +3 -0
  181. package/tailwind-icons/eye-slash.svg +3 -0
  182. package/tailwind-icons/eye.svg +4 -0
  183. package/tailwind-icons/face-frown.svg +3 -0
  184. package/tailwind-icons/face-smile.svg +3 -0
  185. package/tailwind-icons/film.svg +3 -0
  186. package/tailwind-icons/finger-print.svg +3 -0
  187. package/tailwind-icons/fire.svg +4 -0
  188. package/tailwind-icons/flag.svg +3 -0
  189. package/tailwind-icons/folder-arrow-down.svg +3 -0
  190. package/tailwind-icons/folder-minus.svg +3 -0
  191. package/tailwind-icons/folder-open.svg +3 -0
  192. package/tailwind-icons/folder-plus.svg +3 -0
  193. package/tailwind-icons/folder.svg +3 -0
  194. package/tailwind-icons/forward.svg +3 -0
  195. package/tailwind-icons/funnel.svg +3 -0
  196. package/tailwind-icons/gif.svg +3 -0
  197. package/tailwind-icons/gift-top.svg +3 -0
  198. package/tailwind-icons/gift.svg +3 -0
  199. package/tailwind-icons/globe-alt.svg +3 -0
  200. package/tailwind-icons/globe-americas.svg +3 -0
  201. package/tailwind-icons/globe-asia-australia.svg +3 -0
  202. package/tailwind-icons/globe-europe-africa.svg +3 -0
  203. package/tailwind-icons/h1.svg +3 -0
  204. package/tailwind-icons/h2.svg +3 -0
  205. package/tailwind-icons/h3.svg +3 -0
  206. package/tailwind-icons/hand-raised.svg +3 -0
  207. package/tailwind-icons/hand-thumb-down.svg +3 -0
  208. package/tailwind-icons/hand-thumb-up.svg +3 -0
  209. package/tailwind-icons/hashtag.svg +3 -0
  210. package/tailwind-icons/heart.svg +3 -0
  211. package/tailwind-icons/home-modern.svg +3 -0
  212. package/tailwind-icons/home.svg +3 -0
  213. package/tailwind-icons/identification.svg +3 -0
  214. package/tailwind-icons/inbox-arrow-down.svg +3 -0
  215. package/tailwind-icons/inbox-stack.svg +3 -0
  216. package/tailwind-icons/inbox.svg +3 -0
  217. package/tailwind-icons/information-circle.svg +3 -0
  218. package/tailwind-icons/italic.svg +3 -0
  219. package/tailwind-icons/key.svg +3 -0
  220. package/tailwind-icons/language.svg +3 -0
  221. package/tailwind-icons/lifebuoy.svg +3 -0
  222. package/tailwind-icons/light-bulb.svg +3 -0
  223. package/tailwind-icons/link-slash.svg +3 -0
  224. package/tailwind-icons/link.svg +3 -0
  225. package/tailwind-icons/list-bullet.svg +3 -0
  226. package/tailwind-icons/lock-closed.svg +3 -0
  227. package/tailwind-icons/lock-open.svg +3 -0
  228. package/tailwind-icons/magnifying-glass-circle.svg +3 -0
  229. package/tailwind-icons/magnifying-glass-minus.svg +3 -0
  230. package/tailwind-icons/magnifying-glass-plus.svg +3 -0
  231. package/tailwind-icons/magnifying-glass.svg +3 -0
  232. package/tailwind-icons/map-pin.svg +4 -0
  233. package/tailwind-icons/map.svg +3 -0
  234. package/tailwind-icons/megaphone.svg +3 -0
  235. package/tailwind-icons/microphone.svg +3 -0
  236. package/tailwind-icons/minus-circle.svg +3 -0
  237. package/tailwind-icons/minus-small.svg +3 -0
  238. package/tailwind-icons/minus.svg +3 -0
  239. package/tailwind-icons/moon.svg +3 -0
  240. package/tailwind-icons/musical-note.svg +3 -0
  241. package/tailwind-icons/newspaper.svg +3 -0
  242. package/tailwind-icons/no-symbol.svg +3 -0
  243. package/tailwind-icons/numbered-list.svg +3 -0
  244. package/tailwind-icons/paint-brush.svg +3 -0
  245. package/tailwind-icons/paper-airplane.svg +3 -0
  246. package/tailwind-icons/paper-clip.svg +3 -0
  247. package/tailwind-icons/pause-circle.svg +3 -0
  248. package/tailwind-icons/pause.svg +3 -0
  249. package/tailwind-icons/pencil-square.svg +3 -0
  250. package/tailwind-icons/pencil.svg +3 -0
  251. package/tailwind-icons/percent-badge.svg +3 -0
  252. package/tailwind-icons/phone-arrow-down-left.svg +3 -0
  253. package/tailwind-icons/phone-arrow-up-right.svg +3 -0
  254. package/tailwind-icons/phone-x-mark.svg +3 -0
  255. package/tailwind-icons/phone.svg +3 -0
  256. package/tailwind-icons/photo.svg +3 -0
  257. package/tailwind-icons/play-circle.svg +4 -0
  258. package/tailwind-icons/play-pause.svg +3 -0
  259. package/tailwind-icons/play.svg +3 -0
  260. package/tailwind-icons/plus-circle.svg +3 -0
  261. package/tailwind-icons/plus-small.svg +3 -0
  262. package/tailwind-icons/plus.svg +3 -0
  263. package/tailwind-icons/power.svg +3 -0
  264. package/tailwind-icons/presentation-chart-bar.svg +3 -0
  265. package/tailwind-icons/presentation-chart-line.svg +3 -0
  266. package/tailwind-icons/printer.svg +3 -0
  267. package/tailwind-icons/puzzle-piece.svg +3 -0
  268. package/tailwind-icons/qr-code.svg +4 -0
  269. package/tailwind-icons/question-mark-circle.svg +3 -0
  270. package/tailwind-icons/queue-list.svg +3 -0
  271. package/tailwind-icons/radio.svg +3 -0
  272. package/tailwind-icons/receipt-percent.svg +3 -0
  273. package/tailwind-icons/receipt-refund.svg +3 -0
  274. package/tailwind-icons/rectangle-group.svg +3 -0
  275. package/tailwind-icons/rectangle-stack.svg +3 -0
  276. package/tailwind-icons/rocket-launch.svg +3 -0
  277. package/tailwind-icons/rss.svg +3 -0
  278. package/tailwind-icons/scale.svg +3 -0
  279. package/tailwind-icons/scissors.svg +3 -0
  280. package/tailwind-icons/server-stack.svg +3 -0
  281. package/tailwind-icons/server.svg +3 -0
  282. package/tailwind-icons/share.svg +3 -0
  283. package/tailwind-icons/shield-check.svg +3 -0
  284. package/tailwind-icons/shield-exclamation.svg +3 -0
  285. package/tailwind-icons/shopping-bag.svg +3 -0
  286. package/tailwind-icons/shopping-cart.svg +3 -0
  287. package/tailwind-icons/signal-slash.svg +3 -0
  288. package/tailwind-icons/signal.svg +3 -0
  289. package/tailwind-icons/slash.svg +3 -0
  290. package/tailwind-icons/sparkles.svg +3 -0
  291. package/tailwind-icons/speaker-wave.svg +3 -0
  292. package/tailwind-icons/speaker-x-mark.svg +3 -0
  293. package/tailwind-icons/square-2-stack.svg +3 -0
  294. package/tailwind-icons/square-3-stack-3d.svg +3 -0
  295. package/tailwind-icons/squares-2x2.svg +3 -0
  296. package/tailwind-icons/squares-plus.svg +3 -0
  297. package/tailwind-icons/star.svg +3 -0
  298. package/tailwind-icons/stop-circle.svg +4 -0
  299. package/tailwind-icons/stop.svg +3 -0
  300. package/tailwind-icons/strikethrough.svg +3 -0
  301. package/tailwind-icons/sun.svg +3 -0
  302. package/tailwind-icons/swatch.svg +3 -0
  303. package/tailwind-icons/table-cells.svg +3 -0
  304. package/tailwind-icons/tag.svg +4 -0
  305. package/tailwind-icons/ticket.svg +3 -0
  306. package/tailwind-icons/trash.svg +3 -0
  307. package/tailwind-icons/trophy.svg +3 -0
  308. package/tailwind-icons/truck.svg +3 -0
  309. package/tailwind-icons/tv.svg +3 -0
  310. package/tailwind-icons/underline.svg +3 -0
  311. package/tailwind-icons/user-circle.svg +3 -0
  312. package/tailwind-icons/user-group.svg +3 -0
  313. package/tailwind-icons/user-minus.svg +3 -0
  314. package/tailwind-icons/user-plus.svg +3 -0
  315. package/tailwind-icons/user.svg +3 -0
  316. package/tailwind-icons/users.svg +3 -0
  317. package/tailwind-icons/variable.svg +3 -0
  318. package/tailwind-icons/video-camera-slash.svg +3 -0
  319. package/tailwind-icons/video-camera.svg +3 -0
  320. package/tailwind-icons/view-columns.svg +3 -0
  321. package/tailwind-icons/viewfinder-circle.svg +3 -0
  322. package/tailwind-icons/wallet.svg +3 -0
  323. package/tailwind-icons/wifi.svg +3 -0
  324. package/tailwind-icons/window.svg +3 -0
  325. package/tailwind-icons/wrench-screwdriver.svg +3 -0
  326. package/tailwind-icons/wrench.svg +4 -0
  327. package/tailwind-icons/x-circle.svg +3 -0
  328. package/tailwind-icons/x-mark.svg +3 -0
  329. package/types/angular-tailwind-components.d.ts +1022 -0
package/README.md ADDED
@@ -0,0 +1,168 @@
1
+ # Angular Tailwind Components
2
+
3
+ A comprehensive Angular component library built entirely with **Tailwind CSS v4** — zero additional UI dependencies.
4
+
5
+ ## Features
6
+
7
+ - 🎨 **31 components** — Buttons, Inputs, Modals, Tables, DatePickers, and more
8
+ - 🎯 **Pure Tailwind CSS** — No Angular Material, Ng-Zorro, or other UI frameworks
9
+ - ⚡ **Angular 21** — Signals, standalone components, modern control flow
10
+ - 📝 **ControlValueAccessor** — Full reactive forms integration for all form components
11
+ - ♿ **Accessible** — WCAG-compliant with proper ARIA roles and keyboard support
12
+ - 🧪 **Tested** — Unit tests with Vitest
13
+ - 📖 **Storybook** — Visual documentation for all components
14
+ - 🎭 **Customizable** — Override theme tokens via Tailwind `@theme` directive
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ npm install angular-tailwind-components
20
+ ```
21
+
22
+ ### Prerequisites
23
+
24
+ Your consuming project must have **Tailwind CSS v4** configured. Add the library's theme tokens to your main stylesheet:
25
+
26
+ ```css
27
+ @import 'tailwindcss';
28
+ @import 'angular-tailwind-components/src/lib/styles/tailwind.css';
29
+ ```
30
+
31
+ Or define your own theme tokens following the design system schema.
32
+
33
+ ## Quick Start
34
+
35
+ ```typescript
36
+ import { Component } from '@angular/core';
37
+ import { TailwindButton, TailwindInput, TailwindToggle } from 'angular-tailwind-components';
38
+
39
+ @Component({
40
+ selector: 'app-example',
41
+ standalone: true,
42
+ imports: [TailwindButton, TailwindInput, TailwindToggle],
43
+ template: `
44
+ <tailwind-input label="Email" placeholder="you@example.com" [(value)]="email" />
45
+ <tailwind-toggle label="Notifications" [(checked)]="notifications" />
46
+ <tailwind-button variant="primary" (onClick)="submit()">Submit</tailwind-button>
47
+ `
48
+ })
49
+ export class ExampleComponent {
50
+ email = '';
51
+ notifications = true;
52
+ submit() {
53
+ /* ... */
54
+ }
55
+ }
56
+ ```
57
+
58
+ ## Components
59
+
60
+ ### Form Controls (with ControlValueAccessor)
61
+
62
+ | Component | Selector | Description |
63
+ | -------------- | --------------------- | ------------------------------------- |
64
+ | Input | `atc-input` | Text, email, password, number, search |
65
+ | Checkbox | `atc-checkbox` | Single checkbox with label |
66
+ | Radio Group | `atc-radio-group` | Radio button group with options |
67
+ | Select | `atc-select` | Native select with custom styling |
68
+ | Toggle | `atc-toggle` | Switch on/off |
69
+ | DatePicker | `atc-date-picker` | Calendar date selection |
70
+ | TimePicker | `atc-time-picker` | Time input |
71
+ | DateTimePicker | `atc-datetime-picker` | Combined date + time |
72
+
73
+ ### Display
74
+
75
+ | Component | Selector | Description |
76
+ | --------- | ------------ | ------------------------------------------ |
77
+ | Button | `atc-button` | Primary, secondary, outline, ghost, danger |
78
+ | Badge | `atc-badge` | Status badges with dot indicator |
79
+ | Card | `atc-card` | Content card with header/body/footer |
80
+ | Chip | `atc-chip` | Removable tags |
81
+ | Tag | `atc-tag` | Semantic labels |
82
+
83
+ ### Feedback
84
+
85
+ | Component | Selector | Description |
86
+ | ------------ | --------------------- | -------------------------------------------------- |
87
+ | Alert | `atc-alert` | Contextual alerts (info, success, warning, danger) |
88
+ | Spinner | `atc-spinner` | Loading indicator |
89
+ | Progress Bar | `atc-progress-bar` | Determinate/indeterminate progress |
90
+ | Toast | `atc-toast-container` | Global toast notifications (use `AtcToastService`) |
91
+ | Notification | `atc-notification` | Inline notification with actions |
92
+ | Message | `atc-message` | Form-level inline message |
93
+ | Skeleton | `atc-skeleton` | Loading placeholder |
94
+
95
+ ### Navigation
96
+
97
+ | Component | Selector | Description |
98
+ | ---------- | ---------------- | ---------------------- |
99
+ | Tab Group | `atc-tab-group` | Tabbed content |
100
+ | Breadcrumb | `atc-breadcrumb` | Navigation breadcrumbs |
101
+ | Pagination | `atc-pagination` | Page navigation |
102
+ | Menu | `atc-menu` | Dropdown menu |
103
+ | Stepper | `atc-stepper` | Step-by-step wizard |
104
+
105
+ ### Layout / Overlay
106
+
107
+ | Component | Selector | Description |
108
+ | --------- | --------------- | ----------------------- |
109
+ | Modal | `atc-modal` | Dialog overlay |
110
+ | Drawer | `atc-drawer` | Slide-in panel |
111
+ | Accordion | `atc-accordion` | Expandable sections |
112
+ | Tooltip | `atc-tooltip` | Hover tooltip |
113
+ | Form | `atc-form` | Form wrapper |
114
+ | Table | `atc-table` | Data table with sorting |
115
+
116
+ ## Design System
117
+
118
+ The library uses a comprehensive design system defined via Tailwind CSS v4 `@theme` directive:
119
+
120
+ - **Colors**: Primary (blue), Success (green), Warning (amber), Danger (red), Info (cyan), Neutral surfaces
121
+ - **Typography**: Inter (sans), JetBrains Mono (mono)
122
+ - **Spacing**: Tailwind default scale
123
+ - **Border Radius**: xs through full
124
+ - **Shadows**: xs through 2xl
125
+ - **Z-Index**: Defined scale for overlays (dropdown → tooltip → toast)
126
+
127
+ ### Customization
128
+
129
+ Override tokens in your main CSS:
130
+
131
+ ```css
132
+ @import 'tailwindcss';
133
+
134
+ @theme {
135
+ --color-primary-500: oklch(0.55 0.2 280); /* Change primary to purple */
136
+ --color-primary-600: oklch(0.48 0.22 280);
137
+ }
138
+ ```
139
+
140
+ ## Development
141
+
142
+ ```bash
143
+ # Build the library
144
+ ng build angular-tailwind-components
145
+
146
+ # Start Storybook
147
+ npm run storybook
148
+ ```
149
+
150
+ ## Adding New Components
151
+
152
+ 1. Create a directory under `projects/angular-tailwind-components/src/lib/components/<name>/`
153
+ 2. Create `<name>.ts` with inline template, styles, and component logic
154
+ 3. Create `<name>.spec.ts` for unit tests
155
+ 4. Export from `components/index.ts`
156
+ 5. Add a story in `storybook/<name>.stories.ts`
157
+
158
+ ### Component Conventions
159
+
160
+ - Use `input()` and `output()` signal functions (not decorators)
161
+ - Use `model()` for two-way binding
162
+ - Use `computed()` for derived Tailwind class logic
163
+ - Implement `ControlValueAccessor` for form controls
164
+ - Follow WCAG accessibility guidelines
165
+
166
+ ## License
167
+
168
+ MIT