File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -13,35 +13,6 @@ defmodule Prima do
1313 - **Accessibility first** - ARIA attributes, focus management, keyboard navigation
1414 - **Phoenix LiveView native** - Deep integration with LiveView patterns
1515
16- ## Available Components
17-
18- Prima currently provides the following components:
19-
20- ### Modal
21- A fully-managed dialog component with accessibility features and smooth transitions.
22- Supports async loading, form integration, and browser history integration.
23-
24- <.modal id="my-modal">
25- <.modal_overlay class="fixed inset-0 bg-gray-500/75" />
26- <.modal_panel id="my-panel" class="bg-white rounded-lg">
27- <p>Modal content</p>
28- </.modal_panel>
29- </.modal>
30-
31- ### Dropdown
32- Menu and select functionality with keyboard navigation and customizable positioning.
33-
34- ### Combobox
35- Searchable input component with suggestions and autocomplete functionality.
36-
37- ## Architecture
38-
39- Each component follows a three-layer pattern:
40-
41- 1. **Phoenix Component** (`lib/prima/*.ex`) - Server-side rendering and LiveView integration
42- 2. **JavaScript Hook** (`assets/js/hooks/*.js`) - Client-side behavior and DOM manipulation
43- 3. **CSS Integration** - Tailwind-based styling with custom `prima` plugin
44-
4516 ## Getting Started
4617
4718 Add Prima to your Phoenix application:
You can’t perform that action at this time.
0 commit comments