API Reference Corex v#0.1.0-rc.0
View SourceModules
Phoenix implementation of the Zag.js Accordion.
Renders a button element for actions based on Phoenix Core Components.
Use the type attribute to set the button type.
Icon-only buttons must pass aria_label to screen readers.
Phoenix implementation of Zag.js Angle Slider.
Namespace for Web Animations API tuning.
Web Animations config for accordion and tree-view panel open/close: opacity and height (scrollHeight) keyframes, no scale.
Web Animations config for dialog when animation is js:
opacity and transform scale on the content node; opacity only on the backdrop (handled in the hook).
No height keyframes, no translate.
Phoenix implementation of Zag.js Avatar.
Phoenix implementation of Zag.js Carousel.
Phoenix implementation of Zag.js Checkbox.
Phoenix implementation of Zag.js Clipboard.
Displays syntax-highlighted code with Makeup.
Phoenix implementation of Zag.js Collapsible.
Phoenix implementation of Zag.js Color Picker.
Translatable strings for Corex.ColorPicker.
Phoenix implementation of Zag.js Combobox.
Translatable strings for Corex.Combobox.
Content items for components with trigger/content patterns to be used with
Content item structure. Use it to create content items for components with trigger/content patterns
Phoenix component for rendering semantic data lists.
Phoenix table component for tabular data with column slots, optional row actions, sorting, and row selection.
Helpers for selectable data_table/1 usage in LiveViews.
Helpers for sortable data_table/1 usage in LiveViews.
Translatable strings for Corex.DataTable.
Phoenix implementation of Zag.js Date Picker.
Translatable strings for Corex.DatePicker.
Phoenix implementation of Zag.js Dialog.
Translatable strings for Corex.Dialog.
Phoenix implementation of Zag.js Editable.
Translatable strings for Corex.Editable.
Phoenix implementation of Zag.js File Upload.
Translatable strings for Corex.FileUpload.
LiveView uploads wrapper that shares Corex.FileUpload layout tokens (data-scope / data-part) and styling.
Configuration for Phoenix flash messages rendered as Zag toasts.
Defaults for Phoenix :error flashes shown by toast_group/1.
Defaults for Phoenix :info flashes shown by toast_group/1.
Phoenix implementation of Zag.js Floating Panel.
Translatable strings for Corex.FloatingPanel.
Shared helpers for Corex components that accept field={@form[:name]}.
Renders a Heroicon.
Hidden input component based on Phoenix Core Components.
Data struct for image slides in Corex.Carousel.
A layout heading component for page titles, subtitles, and actions.
One selectable row for Combobox, Listbox, or Select.
Phoenix implementation of Zag.js Listbox.
Phoenix implementation of Zag.js Marquee.
Phoenix implementation of Zag.js Menu.
Unified native input component based on Phoenix Core Components Used for text, textarea, date, datetime-local, time, month, week, email, url, tel, search, color, number, password, checkbox, radio, and select. Optional icon slot and shared styling via data-scope="native-input". Uses same data-part structure as Corex components (root, label, control, input, error) for consistency.
Renders an anchor element for navigation based of Phoenix Core Components and Phoenix Link
Phoenix implementation of Zag.js Number Input.
Translatable strings for Corex.NumberInput.
Main-axis and cross-axis offset for floating UI placement.
Phoenix implementation of Zag.js Pagination.
Translatable strings for Corex.Pagination.
Phoenix implementation of Zag.js Password Input.
Translatable strings for Corex.PasswordInput.
Phoenix implementation of Zag.js Pin Input.
Translatable strings for Corex.PinInput.
Two-dimensional point (x, y) for Zag.js layout.
Positioning options for floating elements (popovers, dropdowns, etc.)
Phoenix implementation of Zag.js Radio Group.
Phoenix implementation of Zag.js Select.
Translatable strings for Corex.Select.
Phoenix implementation of Zag.js Signature Pad.
Phoenix implementation of Zag.js Switch.
Phoenix implementation of Zag.js Tabs.
Phoenix implementation of Zag.js Tags Input.
Translatable strings for Corex.TagsInput.
Phoenix implementation of Zag.js Timer.
Translatable strings for Corex.Timer.
Phoenix implementation of Zag.js Toast.
Default titles for flash-driven toasts on Corex.Toast.
Phoenix implementation of Zag.js Toggle.
Phoenix implementation of Zag.js Toggle Group.
Phoenix implementation of Zag.js Tooltip.
Tree items for hierarchical/nested structures to be used with
Tree item structure.
Phoenix implementation of the Zag.js Tree View.
Mix Tasks
Prints Corex tasks and their information.
Generates the full Makeup syntax highlighting stylesheet and writes it to your project.
Copies the Corex design asset tree from the corex package priv/ directory
into your app's assets/corex/.
Generates controller with view, templates, schema and context for an HTML resource.
Generates LiveView, templates, and context for a resource.
Copies the Heroicons Tailwind plugin into your project so the Corex.Heroicon
component works. Creates assets/vendor/heroicons.js (or per-app in umbrella)
and instructs adding @plugin "../vendor/heroicons"; to your main CSS.