Dojo NG is being built in the open, one section at a time — follow along on Heptapod.

API REFERENCE · DATA DISPLAY

<dj-text>

Typographic wrapper. size/weight/uppercase/truncated/inverse. Part: base.

Try it in the playground

@dojo-ng/text · v0.1.1

npm install @dojo-ng/text

import "@dojo-ng/text";

Properties

PropertyAttributeTypeDefault
size size "x-small""small""medium""large""x-large""xx-large" "medium"
weight weight "light""normal""heavy" "normal"
inverse inverse boolean false
truncated truncated boolean false
uppercase uppercase boolean false

Slots

Default slot

CSS parts

Style these with dj-text::part(name).

base