Badge
Generate an helper for your text
Import
import { Badge } from "@webeetle/windy";
#
Contained BadgeResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
ShadowsResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
SizesResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
Custom BadgeResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
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 |