Props
| Prop | Type | Default | Notes |
|---|---|---|---|
visible | boolean | false | |
inline | boolean | false | |
persist | boolean | false | |
effect | blur | solid | noise | blur | |
label | string | '' | |
name | string | '' |
StellarUI
spoiler surface that conceals sensitive content until the user intentionally reveals it.
This sentence contains
Press Escape while the spoiler is open to hide it again. If multiple spoilers share the same name, opening one closes the others.
<stellar-spoiler
effect="blur"
label="Show spoiler"
>
Sensitive roadmap item: the release branch opens next week.
</stellar-spoiler>Complete props, events, slots, and implementation notes for the shipped spoiler surface.
| Prop | Type | Default | Notes |
|---|---|---|---|
visible | boolean | false | |
inline | boolean | false | |
persist | boolean | false | |
effect | blur | solid | noise | blur | |
label | string | '' | |
name | string | '' |
| Event | Source | Notes |
|---|---|---|
input | host | Emitted after user interaction changes visible, so docs and apps can round-trip the live state. |
change | host | Emitted alongside input after the visible state changes from user interaction. |
| Slot | Notes |
|---|---|
| default | The concealed or revealed spoiler content. |
label | Optional custom cover label content. Use this when the plain label prop is not enough. |