Skip to content
Data Display

Feature

server28.25 kB
@stellaria/nebula-webFeatureProps

Preview

Props

10
PropTypeDefault

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

4

Each one spreads over an inner element, so you can restyle a region without forking the component.

PropTypeDefault

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.

Style props · 127