Badge
Generate an helper for your text
Import
import { Badge } from "@webeetle/windy";
#
Contained BadgeResult
Badge
Badge
Badge
Live Editor
#
ShadowsResult
none
sm
md
lg
xl
Live Editor
#
SizesResult
xs
sm
md
lg
xl
Live Editor
#
Custom BadgeResult
Custom
Live Editor
#
PropsProps | Type | Default |
---|---|---|
text | string | Badge |
size | ["xs", "sm", "md", "lg", "xl"] | md |
color | [ "gray", "red", "yellow", "green", "blue", "indigo", "purple", "pink","none"] | indigo |
rounded | ["sm", "md", "lg", "full", "none"] | md |
shadow | ["sm", "md", "lg", "full", "none"] | md |