@washingtonpost/storybook-addon-web-vitals

    0.1.1 • Public • Published

    Storybook Addon Web Vitals

    Storybook Addon Web Vitals can be used for instant feedback on loading, interactivity, and layout shift metric for each story.

    This is an alpha release. We currently only report CLS statuses.

    React Storybook Screenshot

    Getting Started

    Requires Storybook 6.1 or later. Install the latest with npx sb upgrade --prerelease

    First, install the addon

    npm i -D @washingtonpost/storybook-addon-web-vitals

    Then, add following content to .storybook/main.js:

    module.exports = {
      addons: ["@washingtonpost/storybook-addon-web-vitals"],
    };

    Usage

    See toolbar for feedback

    Install

    npm i @washingtonpost/storybook-addon-web-vitals

    DownloadsWeekly Downloads

    529

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    18.1 kB

    Total Files

    12

    Last publish

    Collaborators

    • obentham
    • luke.connors
    • wrneff
    • mcdoh
    • gmusick-brigade
    • floresa
    • taliatrackim
    • zachlevitt
    • mirzaa
    • lennybronner
    • bitsoglass
    • it_procurement
    • washingtonpost-owner
    • erikreyna
    • jin0x
    • davidchaiwapo
    • fedoseyeva
    • mfdong
    • maddoxnelson
    • dan-weaver
    • juliebacon
    • stephanie.clark
    • bernertj
    • simongle
    • shrddhat
    • deannazhu
    • jasonvuong
    • andrew.frye
    • jkoo87
    • kankelcr
    • erikawhiteshoes
    • gregoryauld2014
    • uncompiled
    • lukemason
    • jbrown4
    • st421
    • scarothers
    • khan.salauddin
    • shk172
    • rowhawn
    • subs-npm-builder
    • fenstamaker
    • littlemsbozzi
    • nealhumphreywapo
    • seans887
    • gabrielflorit
    • ashlynstill
    • ptnielsen
    • leslie-s
    • courtney-kan
    • danielle.rindler
    • kevin.schaul
    • jakecrump
    • macallah
    • jasonholt.wp
    • jmuyskens
    • sbanks
    • madisonwalls
    • brianaa
    • dsantamarina
    • leojiwashpost
    • mboodoo
    • artmsilva
    • robpc
    • ashtol
    • sberhanu
    • design1online
    • joannejoolee
    • jjalcantara
    • ling687
    • alyssa.fowers
    • leodominguez
    • brmayes
    • joemfox
    • reubenfb
    • calcantara
    • meggonagul
    • adrianblanco
    • chiquiesteban
    • iuraizee
    • shankara.pala
    • bdgross
    • ulmonica
    • bmferrill
    • dankeating
    • emamd
    • tierneyl13
    • timmeko
    • kevinuhrmacher
    • shellytan
    • harrystevens
    • chrisrukan
    • allisonnmann
    • aaronsteckelberg
    • shruthagandla
    • braforda
    • hannahmahon
    • skushnir123
    • peterandringa
    • adityajain15
    • shanaeh
    • singha2
    • linorabolini
    • liue
    • anthonyjpesce
    • 1313davidlee
    • kutyadog
    • dongm
    • kate.rabinowitz
    • fontc
    • cecepascual
    • vsingarayar
    • audgevalbo
    • aramzs
    • ruxk
    • nader_heidari
    • thompsond3
    • lulushil
    • vadwalaj
    • hopetambala
    • judesfernando
    • mlemieuxwp
    • tylerremmel
    • dwuanjune
    • cashack
    • clareramirez
    • rcoughlin
    • tmac0201
    • joemoore-post
    • kolinpope
    • hs4man21
    • kamari
    • ealvarez79
    • amandasoto
    • hdormido
    • lobenichou
    • harte
    • sgpotts
    • yutaochen
    • nwalker_wp
    • apbest
    • briannaschroer
    • shikha-sub
    • naema
    • arturgalocha
    • chloemeister
    • ccary64
    • julia.ledur
    • solomonsscott
    • betchavarria
    • eewright
    • mariaaguilar
    • nickkirkpatrick
    • trann_wapo
    • mlwapo
    • jlsoto
    • tobefrankhj
    • katherineblee
    • tierneyl
    • essiekim
    • kiaracontreras
    • styonsk
    • sergio.pecanha
    • erik-hei
    • meganwalter
    • alyssabartuch
    • alexisbarnes
    • cullenrombach
    • foggva
    • teropa
    • samueldiggins
    • skushnir
    • duh
    • chatterjeem
    • sophieandrews
    • dmoriarty6
    • mokhtar.ali
    • dpham5
    • klimenkovd
    • davisshaver
    • aaronbrezel
    • moodypaige.e
    • jshinnn
    • hermionewy
    • caveat
    • kastningj
    • freedmand
    • deblina
    • washpostdavis