widgetti / widgetti/solara

[Feature Request] Simple style options for components, like `center` or `alignment` out of the box

Open
#64 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.