@freshworks/modal
Modal component in Nucleus
Last updated 21 days ago by freshworks-dev .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @freshworks/modal 
SYNC missed versions from official npm registry.

@freshworks/modal

npm version npm

ember install @freshworks/modal

Modals are an interactive component which appears on top of the page that stops any other interaction behind it. It has a focused task with few components within it like CTAs. Modals requires the users to critically respond to it in order to get back to primary task.

Scenario

Best use of modals is to get the task quickly done and may also support in completion of the primary task, for example: Creation of an entity and also editing it. Modal has to be relevant and carefully utilized as modal grasp users attention and may obstruct their current flow.

Guidelines

DO’s

  1. Add scroll to body (CTA to remain fixed) incase the content is more.
  2. Icon to the titles has to be contextual
  3. Focus should be on the first item in modal as it opens

DONT’s

  1. Don’t exceed maximum width of 800 px
  2. Avoid using 2 levels of modal on modal.
  3. Don’t use modal if it is not related to the user’s current taskflow.
  4. Avoid modal for complex decision making that requires additional sources of information.
  5. Avoid closing the modal on clicking outside for confirmation modals and forms dialogs in which user confirmation or input required.

Current Tags

  • 0.1.1-alpha.31                                ...           beta (6 months ago)
  • 0.6.6                                ...           latest (21 days ago)

32 Versions

  • 0.6.6                                ...           21 days ago
  • 0.6.5                                ...           22 days ago
  • 0.6.4                                ...           a month ago
  • 0.6.3                                ...           2 months ago
  • 0.6.2                                ...           2 months ago
  • 0.6.1                                ...           2 months ago
  • 0.6.0                                ...           2 months ago
  • 0.5.7                                ...           2 months ago
  • 0.5.5                                ...           3 months ago
  • 0.5.4                                ...           3 months ago
  • 0.5.3                                ...           3 months ago
  • 0.5.1                                ...           3 months ago
  • 0.5.0                                ...           3 months ago
  • 0.4.4                                ...           3 months ago
  • 0.4.3                                ...           4 months ago
  • 0.4.2                                ...           4 months ago
  • 0.4.1                                ...           4 months ago
  • 0.4.0                                ...           4 months ago
  • 0.3.0                                ...           5 months ago
  • 0.1.5                                ...           5 months ago
  • 0.1.7                                ...           5 months ago
  • 0.1.6                                ...           5 months ago
  • 0.1.4                                ...           5 months ago
  • 0.1.3                                ...           6 months ago
  • 0.1.2                                ...           6 months ago
  • 0.1.1                                ...           6 months ago
  • 0.1.1-alpha.31                                ...           6 months ago
  • 0.1.1-alpha.30                                ...           6 months ago
  • 0.1.1-alpha.29                                ...           7 months ago
  • 0.1.1-alpha.28                                ...           7 months ago
  • 0.1.1-alpha.27                                ...           7 months ago
  • 0.1.0                                ...           7 months ago

Copyright 2014 - 2016 © taobao.org |