Skip to content

Latest commit

 

History

History
40 lines (19 loc) · 1.66 KB

File metadata and controls

40 lines (19 loc) · 1.66 KB

Button Component

There are simple buttons you can use the text param to render the text needed and fill with custom colors !

Pass ?component=button&text=/text_for_button/

ex: https://readme-components.vercel.app/api?component=button&text=Website

button

Custom colors

You can also pass custom colors(hex values or color name) using the fill param(&fill=ffc0cd) for button background and textfill param(&textfill=white) for text color!

![button](https://readme-components.vercel.app/api?component=button&text=Button&fill=ffc0cd&textfill=white)

button

use even gradients. except for the fact that you need to url encode it

![button](https://readme-components.vercel.app/api?component=button&text=Button&fill=whitelinear-gradient%2862deg%2C%20%238EC5FC%200%25%2C%20%23E0C3FC%20100%25%29%3B%0A)

button

Different Button Sizes

We have three different sized buttons (small,default,large) and you can choose any using scale param (&scale=default)

![button](https://readme-components.vercel.app/api?component=button&text=Button&size=small

button

button

button