项目作者: ember-sparks

项目描述 :
✨ Ambitious UI components for your Ember app.
高级语言: JavaScript
项目地址: git://github.com/ember-sparks/ember-sparks.git
创建时间: 2017-01-26T19:00:00Z
项目社区:https://github.com/ember-sparks/ember-sparks

开源协议:MIT License

下载




Ember Sparks


Ambitious UI components for Ember apps


npm version


Ember Sparks aims to create a new set of default UI components that can be used in all Ember apps.

By using the power of ember-css-modules and the Ember ecosystem’s emphasis on conventions, addon authors can effortlessly share UI elements that have sane defaults, but are also incredibly easy to customize.

Install

  1. ember install ember-sparks

Restart your app after the installation and you’re ready to go!

Usage

Ember Sparks comes with some handy preinstalled components, such as {{input-spark}} and {{toggle-spark}}.

You can use them simply by dropping them into your template:

  1. {{input-spark
  2. placeholder="your-username"
  3. prefix="ludu.co/@"
  4. }}

Check out the official website‘s “Components” menu to see a list of all the built-in Sparks.

Theming

Customizing components created with Ember Sparks is much simpler and more maintaineable than with most other UI libraries thanks to ember-css-modules. To learn more, check out the “Theming” section in the official docs!

Contribute

With Ember Sparks own generator, you can easily create your own Spark components as addons. To learn more, check out the “Contribute” section in the official docs!