Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Preview

$205.00+14.8%Mean target
160180200220Sep 2025Mar 2026NowSep 2027232205168

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/price-target-fan

Import the shared styles once in your application.

TSUsage
import PriceTargetFan from '@/components/beui/charts/PriceTargetFan.vue'
import '@/components/beui/styles.css'

API Reference

PriceTargetFan

label?
string

Accessible name of the chart.

Default—
current
number

Last traded price; the history walks to this point.

Default—
targets
readonly [PriceTarget, PriceTarget, PriceTarget]

High, mean and low targets, in that order.

Default—
dates?
{ start?: string; mid?: string; horizon?: string }

Axis labels, oldest to horizon.

Default—
history?
readonly PriceHistoryPoint[]

Actual prices, oldest first, using ISO dates. Empty history renders only the current price and targets.

Default—
v-model:active?
PriceTargetFanActive | null
Default—
defaultActive?
PriceTargetFanActive | null
Default—
labels?
Partial<PriceTargetFanMessages>

Override any built-in string.

Default—
class?
string
Default—
@active-change?
(value: PriceTargetFanProps['active']) => void
Default—
#default?
slot

Compose `PriceTargetFanHeader` and `PriceTargetFanPlot`; omit it for the complete chart.

Default—

PriceTargetFanHeader

class?
string
Default—
#default?
slot

Replace the default price, move and target name.

Default—

PriceTargetFanAxes

class?
string
Default—

PriceTargetFanPlot

class?
string
Default—
#default?
slot

Compose `PriceTargetFanSvg` and `PriceTargetFanTooltip`; omit it for the default pair.

Default—

PriceTargetFanSvg

class?
string
Default—
#default?
slot

Compose the chart layers (`PriceTargetFanAxes`, `...History`, `...Targets`, `...Now`, `...Cursor`); omit it for all of them.

Default—

PriceTargetFanCursor

class?
string
Default—

PriceTargetFanHistory

class?
string
Default—

PriceTargetFanNow

class?
string
Default—

PriceTargetFanTargets

class?
string
Default—

PriceTargetFanTooltip

class?
string
Default—
#default?
{ overlay: PriceTargetFanOverlay }

Custom card content for the hovered target or the scrubbed point.

Default—

Updated