eds-nps

Explore the Interactive Component

Use the playground below to experiment with the component. Click the button to view the full Storybook deployment for additional examples and configurations.

See It in Use with Code

Check out this practical implementation of component.

Plain HTML

Properties

PropertyAttributeDescriptionTypeDefault
leftLabelleft-labelLabel displayed under the min value.stringundefined
questionquestionThe question prompt for the NPS scale.stringundefined
rightLabelright-labelLabel displayed under the max value.stringundefined
selectedValueselected-valueCurrent selected NPS value (controlled from parent).numbernull

Events

EventDescriptionType
npsCustomEvent<number>

Dependencies

Used by

Depends on

Graph

graph TD;
  eds-nps --> eds-input-label
  eds-nps --> eds-button
  eds-button --> eds-icon-wrapper
  eds-form --> eds-nps
  style eds-nps fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS