OYNA

Surface ​

Glass: a translucent dark fill over the background. No borders. OCard is a surface with padding, the darker fill, and an optional header and footer.

Surface
Strong surface
Card
vue
<OSurface>
Surface
</OSurface>

<OSurface strong>
Strong surface
</OSurface>

<OCard>
Card
</OCard>

OSurface has no padding of its own: it is the fill and the radius, for layouts you size yourself.

Signal ​

A ring appears only when it means something. accent marks the main thing on the screen, or what belongs to the user. danger marks something at stake. Never use a ring as decoration: if everything has one, none of them says anything.

Your plan
Quota runs out
vue
<OCard signal="accent">
Your plan
</OCard>

<OCard signal="danger">
Quota runs out
</OCard>

Props ​

OSurface ​

PropTypeDefaultDescription
asstring'div'Element to render
strongbooleanfalseA darker fill, for text-heavy content over a busy background
signal'accent' | 'danger'—A ring that means something

For OCard, see Card.