极光背景
为您的网站提供一个微妙的极光或南极光背景。
API
Prop 名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
class | string | - | Additional CSS classes to apply to the component for styling. |
radialGradient | boolean | true | Determines whether a radial gradient effect is applied to the background. |
安装
Add following entry to inline theme in your main.css
file.
通过 CLI 安装
手动安装
复制并粘贴以下代码:
AuroraBackground.vue
功能特性
- 支持插槽: 使用默认插槽轻松地在组件中添加任何内容。
感谢
- Credits to Aceternity UI.
- Credits to SivaReddy Uppathi for porting this component.