Py.Cafe

iisakkirotko/

solara-card-style-example

Solara Card Style Example

DocsPricing
  • app.py
  • requirements.txt
app.py
1
2
3
4
5
6
7
8
import solara


@solara.component
def Page():
    with solara.Card(style={"width": "300px"}):
        solara.v.CardTitle(children=["This is a very long title that might not fit in the card"], style_="word-break: keep-all;")