Skip to content

Conversation

@Light2Dark
Copy link
Contributor

@Light2Dark Light2Dark commented Dec 3, 2025

📝 Summary

New API:

    mo.stat(
        "$20",
        label="Marketing spend",
        slot=mo.md("Hello!"),
    ),
image

🔍 Description of Changes

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.

@vercel
Copy link

vercel bot commented Dec 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Dec 6, 2025 2:01pm

@mscolnick
Copy link
Contributor

cc @dmadisetti , @akshayka for API change

@Light2Dark
Copy link
Contributor Author

Light2Dark commented Dec 6, 2025

TIL you can control styles for elements inside a shadow root by:

  • using custom properties OR
  • style queries

shadow dom video

@Light2Dark Light2Dark merged commit 1a490f7 into main Dec 9, 2025
37 of 59 checks passed
@Light2Dark Light2Dark deleted the sham/stat-slots branch December 9, 2025 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-change documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants