Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/engagesoftware/elm-engage-common
Common Elm modules used by Engage's products
https://github.com/engagesoftware/elm-engage-common
Last synced: about 2 months ago
JSON representation
Common Elm modules used by Engage's products
- Host: GitHub
- URL: https://github.com/engagesoftware/elm-engage-common
- Owner: EngageSoftware
- License: apache-2.0
- Created: 2020-05-15T20:57:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-21T17:57:37.000Z (over 1 year ago)
- Last Synced: 2024-04-14T23:17:23.313Z (9 months ago)
- Language: Elm
- Size: 334 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elm-engage-common
Engage's common UI framework components
**Not for community use**
Css is compiled to `src/elm-engage-common.css` and must be included manually.
## Example using Buttons
``` elm
view : Model -> Html Msg
view model =
div []
[ p []
[ Button.primary { namespace = Namespace.engagecore, attributes = [], text = "Primary Button" }
, Button.standard { namespace = Namespace.engagecore, attributes = [], text = "Default Button" }
, Button.divert { namespace = Namespace.engagecore, attributes = [], text = "Divert Button" }
]
, p []
[ Button.primarySmall { namespace = Namespace.engagecore, attributes = [], text = "Small Primary Button" }
, Button.standardSmall { namespace = Namespace.engagecore, attributes = [], text = "Small Default Button" }
, Button.divertSmall { namespace = Namespace.engagecore, attributes = [], text = "Large Divert Button" }
]
]
```