Skip to content

Currency

Demos

Empty

Code Editor
<Value.Currency showEmpty />

Placeholder

The value was not filled in
Code Editor
<Value.Currency placeholder="The value was not filled in" />

Value

150 kr
Code Editor
<Value.Currency value={150} suffix=" kr" />

Label

Code Editor
<Value.Currency label="Label text" showEmpty />

Label and value

60 000 000 kr
Code Editor
<Value.Currency label="Label text" value={60000000} />

Inline

This is before the component25 000 krThis is after the component

Code Editor
<P>
  This is before the component
  <Value.Currency value={25000} inline />
  This is after the component
</P>

Inline and label

This is before the component25 000 krThis is after the component

Code Editor
<P>
  This is before the component
  <Value.Currency label="Label text" value={25000} inline />
  This is after the component
</P>