Skip to main content
Version: Next

Surface

Home > @backstage/ui > Surface

Surface type

Supports absolute levels ('0'-'3'), intent surfaces ('danger', 'warning', 'success'), and 'auto' which increments from the parent surface context.

Signature:

export type Surface = '0' | '1' | '2' | '3' | 'danger' | 'warning' | 'success' | 'auto';