Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

ngx-fomantic-ui/ngx-fomantic-ui

Repository files navigation

Gitter npm monthly downloads

Fomantic UI Angular Integrations, written in pure Angular - no JQuery required.

Introduction

Greenkeeper badge

Angular and jQuery don't go together - this is the fundamental principal of this library. It provides Angular component versions of the Fomantic UI modules, so that you don't need to add jQuery to your app.

Note that only Fomantic UI elements that use jQuery are recreated here - those written purely in CSS aren't included as they can be used in Angular apps already.

This is a fork of edcarroll's ng2-semantic-ui, updated to Angular 7 and Fomantic UI.

Installation & Usage

See the Documentation for installation instructions and extensive examples.

Dependencies

Component Support

Icon Description
βœ… Component supported by ngx-fomantic-ui.
πŸš€ Fomantic UI plugin supported by ngx-fomantic-ui (not in Fomantic UI Core).
β˜‘οΈ Component supported natively by Fomantic UI (CSS only).
❌ Component currently unavailable.
🚫 Component not applicable to Angular.
Elements Collections Views Modules Behaviors
β˜‘οΈ Button β˜‘οΈ Breadcrumb β˜‘οΈ Advertisment βœ… Accordion 🚫 API
β˜‘οΈ Container β˜‘οΈ Form β˜‘οΈ Card βœ… Checkbox 🚫 Form Validation
β˜‘οΈ Divider β˜‘οΈ Grid β˜‘οΈ Comment πŸš€ Collapse πŸš€ Localization
β˜‘οΈ Flag β˜‘οΈ Menu β˜‘οΈ Feed πŸš€ Datepicker ❌ Visibiltiy
β˜‘οΈ Header βœ… Message β˜‘οΈ Item βœ… Dimmer
β˜‘οΈ Icon πŸš€ Pagination β˜‘οΈ Statistic βœ… Dropdown
β˜‘οΈ Image β˜‘οΈ Table ❌ Embed
β˜‘οΈ Input βœ… Modal
β˜‘οΈ Label βœ… Popup
β˜‘οΈ List βœ… Progress
β˜‘οΈ Loader βœ… Rating
β˜‘οΈ Rail βœ… Search
β˜‘οΈ Reveal ❌ Shape
β˜‘οΈ Segment βœ… Sidebar
β˜‘οΈ Step ❌ Sticky
βœ… Tab
βœ… Toast
βœ… Transition

Development

To generate all library files:

$ npm run lib:compile
# use lib:compile:w to watch for changes

To run the demo app:

$ npm run demo:serve

Testing

To run the unit tests suite:

$ npm run test

Running Documentation Website on Docker

The ngx-fomantic-ui website sample project can run as a docker container. In order to run the website on docker, use the following commands (run commands from the repo's root folder):

  • docker build -t ngx-fomantic-ui-docs:latest . - building the ngx-fomantic-ui website image
  • docker run -p <host-port>:4200 ngx-fomantic-ui-docs:latest - starting the container, listening on for your choice.

The container will run the documentation app with the script docker:serve:docs with 0.0.0.0 host support.

  • Saving the image for later offline usage is available by building the container and then using docker save ngx-fomantic-ui-docs:latest > <tar-name>.tar and loading it afterwards with sudo docker load < <tar-name>.tar.

tested on ubuntu 18.04.2 with Docker 18.09.6

Credits and License

About

πŸš€ An Angular 10 library for Fomantic UI without jQuery. βš’οΈ Based on @edcarroll's ng2-semantic-ui.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages