PureAdmin.Components (PureAdmin v1.1.0)

Copy Markdown View Source

Bulk import macro for all PureAdmin components.

Use this module as a full replacement for Phoenix's generated CoreComponents:

# In your app's html_helpers or where you had:
# import MyAppWeb.CoreComponents
use PureAdmin.Components

This imports all function components from every component module, giving you access to button/1, badge/1, alert/1, card/1, modal/1, table/1, tabs/1, input/1, grid/1, layout/1, and many more.