Skip to content

docs (editor): Adding Stateful Components#681

Open
jeffatrive wants to merge 1 commit into
mainfrom
stateful-components
Open

docs (editor): Adding Stateful Components#681
jeffatrive wants to merge 1 commit into
mainfrom
stateful-components

Conversation

@jeffatrive
Copy link
Copy Markdown
Contributor

No description provided.

@jeffatrive jeffatrive requested a review from a team as a code owner May 14, 2026 21:12
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 14, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
rive 🟢 Ready View Preview May 14, 2026, 9:16 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Copy link
Copy Markdown
Collaborator

@lancesnider lancesnider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the new sidebar structure, I'm wondering if this should be its own page under Data, rather than part of the "Design/Components" page. Thoughts?

Maybe include a link somewhere on the components page?

## Stateful Components

Stateful components let you expose specific view model properties directly on a nested component, so each instance can have its own values. This makes it faster to create and iterate on designs that reuse the same component with different content or styling — without wiring up a separate nested view model instance for each one.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That video is such a useful overview, I'm thinking it might be better here than at the bottom.

  • Input — the value can be set on each instance when nested as a stateful component.
  • Output — the value is read-only when nested; it reports back to the parent.

![Image](/images/editor/fundamentals/stateful-input-and-output-props.png)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might just be the live preview, but this image doesn't seem to be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants