Feature
@stellaria/nebula-webFeaturePropsPreview
Props
10| Prop | Type | Default |
|---|---|---|
align | "start" | "center" | "start" |
children | ReactNode | — |
className | string | — |
color | ColorExtended | "primary" |
description | ReactNode | — |
href | string | — |
icon | ReactNode | — |
linkText | ReactNode | "Learn more" |
reveal Animates it in when it first scrolls into view. `true` takes the catalogue entrance; an object tunes it — `index` staggers a list. It is declared here and forwarded to the root `Box` rather than inherited: `reveal` lives on `BoxOwnProps`, and most of the catalogue types its props over `StyleProps`, so nothing arrives on its own. | boolean | UseRevealOptions | — |
title required | ReactNode | — |
Slot props
4Each one spreads over an inner element, so you can restyle a region without forking the component.
| Prop | Type | Default |
|---|---|---|
descriptionProps The description. Only rendered with `description`. | TextSlotProps | — |
iconProps The `ThemeIcon` wrapping the glyph. Only exists with `icon`, and it spreads AFTER the size, variant and colour the component sets, so it overrides them. | ThemeIconProps | — |
linkProps The footer link. Only exists with `href`, and `linkText` is its content. It spreads AFTER the `href`, so it can override it. | AnchorSlotProps | — |
titleProps The title. The only node always rendered, because `title` is required. | TextSlotProps | — |
Also accepts
On top of its own props, this component forwards these groups.