Domain-Specific
QuickAction
client48 kB
@stellaria/nebula-webQuickActionPropsPreview
Props
16| Prop | Type | Default |
|---|---|---|
badge | ReactNode | — |
color | ColorExtended | "primary" |
description | ReactNode | — |
disabled | boolean | false |
fullWidth | boolean | false |
glass Clase de cristal de la variante `glass`. Por defecto `veil`, la de los accionables (ADR-136). | GlassLevel | "veil" |
gradient | { from: ColorExtended; to: ColorExtended; deg?: number; animate?: boolean; } | — |
href | string | — |
icon | ReactNode | — |
label required | ReactNode | — |
loading | boolean | false |
orientation | QuickActionOrientation | "vertical" |
rel | string | — |
size | Size | "md" |
target | string | — |
variant | Variant | "light" |
Slot props
5Each one spreads over an inner element, so you can restyle a region without forking the component.
| Prop | Type | Default |
|---|---|---|
badgeProps The notification badge, when there is a `badge`. | BoxSlotProps | — |
bodyProps Label and description column. | BoxSlotProps | — |
descriptionProps The description, when there is one. | TextSlotProps | — |
iconProps Wrapper for the icon. Its size comes from `size`; the slot composes with it. | BoxSlotProps | — |
labelProps The label. | TextSlotProps | — |
Also accepts
On top of its own props, this component forwards these groups.
HTML attributes · 275Permissions · 2Press handlers · 6Style props · 127