We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pill
The <Pill> component is like a badge, that can be used anywhere on the app.
<Pill>
icon?
text
color?
03
11
9
10
size?
base
small
padding
slate
grass
amber
red
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 1.4.0-beta.13 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
Sorry, something went wrong.
🎉 This issue has been resolved in version 1.5.0 🎉
eryc-cc
Successfully merging a pull request may close this issue.
Summary
The
<Pill>
component is like a badge, that can be used anywhere on the app.Props:
icon?
: No icon by default.text
: Can plug whatever text we need (ideally 1-3 words)color?
: Default is slate. Use the same pattern from Figma, where the background is shade03
, text is11
, and icon is9
or10
, depending on the color.size?
: Default is the same as the "High" from Figma. Currently we'll have 2 sizes:base
andsmall
. Only thing that changes is thepadding
.Notes:
slate
/grass
/amber
/red
.Preview:
The text was updated successfully, but these errors were encountered: