[Feature Request] Simple style options for components, like `center` or `alignment` out of the box
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 202
- Avg merge
- 4h 36m
- Merged PRs (30d)
- 3
Description
When I create a button, I don't think I should have to figure out how to center that button with css. I think
sl.Button(
"Save Answer",
on_click=save_answer,
center=True
)
or maybe
sl.Button(
"Save Answer",
on_click=save_answer,
align="center"/"left"/"right"
)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Solara Button component and its current CSS or styling entry points. Review how component properties are exposed, then determine the supported center or align options and how they should affect rendering. Done means the proposed style options work consistently for buttons and are covered by appropriate verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100