Skip to content

Price

<ns-price>

Overview

A standardised way to show how GBP prices are displayed.

Examples

Guidance

Implementation

Placement

Specification

Attributes

pence

Property
pence
Description
The price in pence.
Type
number
Default
0

show-decimal

Property
showDecimal
Description
Whether to show the decimal places when price is an integer.
Type
boolean
Default
false

negative

Property
negative
Description
Whether the price is negative.
Type
boolean
Default
false

type

Property
type
Type
string
Default
standard