Skip to content

OptionsPricingCard

stable

Black-Scholes / Black-76 / Binomial options pricer: model inputs, live premium output, put/call toggle, and full Greeks breakdown

FinanceInteractive/Storybook ↗
import { OptionsPricingCard } from "@nodus/design-system/finance"
Loading demo…

Props

optionTyperequired
Type OptionTypeDefault

'call' | 'put'

model
Type OptionModelDefault

'black-scholes' | 'black-76' | 'binomial'

spotrequired
Type numberDefault

Underlying spot price

strikerequired
Type numberDefault

Strike price

raterequired
Type numberDefault

Risk-free rate as decimal

volrequired
Type numberDefault

Implied volatility as decimal

daysToExpiryrequired
Type numberDefault

Days to option expiry

premiumrequired
Type numberDefault

Computed option premium

greeks
Type OptionsPricingGreeksDefault

Greeks breakdown (delta, gamma, theta, vega, rho)

currency
Type stringDefault

ISO 4217 currency for premium display

notional
Type numberDefault

Notional amount for total premium calculation

onToggle
Type (type: OptionType) => voidDefault

Callback when user toggles put/call

Metadatasemantictypeoutcomeagencyspacefin
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?