Logo
随颜色模式切换的 SurfaceOne、IndexOne 和 Ivy 标志。
可用框架
Angular: 可用 Vue: 可用 React: 可用 React Native: 暂不可用
用法
<div class="demo-stack">
<div class="demo-row" style="align-items: flex-end">
<sone-logo size="xs" />
<sone-logo size="sm" />
<sone-logo />
<sone-logo size="lg" label="SurfaceOne" />
</div>
<div class="demo-row" style="align-items: center">
<!-- kind="mark": the bare mark without the app tile -->
<sone-logo kind="mark" size="sm" />
<sone-logo kind="mark" />
</div>
</div>导入
import {
SoneLogoComponent,
} from "@surface-one/angular/logo";API 参考
SoneLogoComponent组件
| 名称 | 类型 | 默认值 |
|---|---|---|
size | LogoSize | "default" |
brand | LogoBrand | "surface-one" |
kind | LogoKind | "tile" |
label | string | "" |