Skip to main content

Discount code

Settings​

SettingIDTypeDefaultDescription
Block classclasstextmb-4
Alignmentalignmentselectcenter
Card max widthcard_widthrange500
Backgroundcard_bgcolor_background#ffffff
Border widthcard_border_widthrange1
Border colorcard_border_colorcolor#e5e7eb
Corner radiuscard_radiusselectrounded-2xl
Shadowcard_shadowselectsm
Paddingcard_paddingrange5Tailwind spacing scale 0-10 (1 = 4px, 10 = 40px). Uniform padding on all sides.
Hover effectcard_hoverselectup
Hover shadowcard_hover_shadowselectnone
Hover backgroundcard_bg_hovercolor_background#ffffff
Zoom image on hovercard_media_zoomcheckboxfalse
Show rate blockenable_ratecheckboxtrue
Rate block widthrate_widthrange120
Rate background classrate_bgtextbg-gray-800
Rate positionpositionselectleft
Discount amountdiscount_amounttext0 OFF
Discount ratediscount_ratetext10%
Rate size classrate_sizetexttext-2xl
Rate color classrate_colortexttext-white
Headingdiscount_texttextSave on your first order
Additional textadditional_texttext
Text size classtext_sizetexttext-base
Text color classtext_colortexttext-gray-900
Discount codediscount_codetextWELCOME10
Button labelbutton_copytextCopy
Copied labelbutton_copiedtextCopied
Variantbutton_variantselectsolid
Colorbutton_colorselectcustomFirst five options follow the theme colors set in Theme settings.
Custom colorbutton_custom_bgcolor_background#111827
Custom text colorbutton_text_colorcolor#ffffff
Sizebutton_sizeselectpx-4 py-2 text-base
Widthbutton_widthselectauto
Radiusbutton_radiusselectrounded-md
Shadowbutton_shadowselectnone
Iconbutton_iconselect
Icon sizebutton_icon_sizerange1Width and height of the icon, in rem (root em). 0 hides the icon.
Icon positionbutton_icon_positionselectstart
Show copy hintshow_ctrlccheckboxfalse
Form style classform_styletext

Option values​

  • Alignment (alignment): Left (start), Center (center), Right (end)
  • Corner radius (card_radius): Square (rounded-none), Rounded small (rounded-md), Rounded medium (rounded-xl), Rounded large (rounded-2xl), Rounded extra large (rounded-3xl), Squircle (rounded-squircle), Circle (rounded-circle), Pill (rounded-full), Rounded top (rounded-top), Rounded bottom (rounded-bottom), Single corner (rounded-corner), Diagonal corners (rounded-diagonal), Arch (rounded-arch), Dome (rounded-dome), Cylinder (rounded-cylinder), Barrel (rounded-barrel), Leaf pointed (rounded-leaf-point), Leaf (rounded-leaf), Lens (rounded-lens), Petal (rounded-petal), Egg (rounded-egg), Egg inverted (rounded-egg-inverted), Shield (rounded-shield), Drop (rounded-drop), Diamond (rounded-diamond), Blob (rounded-blob), Amoeba (rounded-amoeba), Flower (rounded-flower), Mountain (rounded-mountain), Pebble (rounded-pebble), Bean (rounded-bean), Cloud (rounded-cloud)
  • Shadow (card_shadow): None (none), Small (sm), Medium (md), Large (lg)
  • Hover effect (card_hover): None (none), Lift up (up), Lift down (down), Scale up (scale_up), Scale down (scale_down)
  • Hover shadow (card_hover_shadow): None (none), Small (sm), Medium (md), Large (lg)
  • Rate position (position): Left (left), Right (right)
  • Variant (button_variant): Solid (solid), Outline (outline), Ghost (ghost)
  • Color (button_color): Primary (primary), Secondary (secondary), Success (success), Warning (warning), Danger (danger), Base text (base-text), Heading text (heading-text), Black (black), White (white), Gray 100 (gray-100), Gray 200 (gray-200), Gray 300 (gray-300), Gray 400 (gray-400), Gray 500 (gray-500), Gray 600 (gray-600), Gray 700 (gray-700), Gray 800 (gray-800), Gray 900 (gray-900), Random (random), Custom (custom)
  • Size (button_size): 3 Extra Small (px-2 py-1 text-3xs), 2 Extra Small (px-2 py-1 text-2xs), Extra Small (px-2 py-1 text-xs), Small (px-3 py-1.5 text-sm), Medium (px-4 py-2 text-base), Large (px-5 py-2.5 text-lg), Extra Large (px-6 py-3 text-xl), 2X Large (px-8 py-4 text-2xl), 3X Large (px-10 py-5 text-3xl), 4X Large (px-15 py-6 text-4xl), 5X Large (px-15 py-7 text-5xl), 6X Large (px-20 py-8 text-6xl), 7X Large (px-20 py-10 text-7xl), 8X Large (px-20 py-10 text-8xl), 9X Large (px-20 py-10 text-9xl)
  • Width (button_width): Auto (auto), Full width (full)
  • Radius (button_radius): Square (rounded-none), Rounded small (rounded-md), Rounded medium (rounded-xl), Rounded large (rounded-2xl), Rounded extra large (rounded-3xl), Squircle (rounded-squircle), Circle (rounded-circle), Pill (rounded-full), Rounded top (rounded-top), Rounded bottom (rounded-bottom), Single corner (rounded-corner), Diagonal corners (rounded-diagonal), Arch (rounded-arch), Dome (rounded-dome), Cylinder (rounded-cylinder), Barrel (rounded-barrel), Leaf pointed (rounded-leaf-point), Leaf (rounded-leaf), Lens (rounded-lens), Petal (rounded-petal), Egg (rounded-egg), Egg inverted (rounded-egg-inverted), Shield (rounded-shield), Drop (rounded-drop), Diamond (rounded-diamond), Blob (rounded-blob), Amoeba (rounded-amoeba), Flower (rounded-flower), Mountain (rounded-mountain), Pebble (rounded-pebble), Bean (rounded-bean), Cloud (rounded-cloud)
  • Shadow (button_shadow): None (none), Small (shadow-sm), Medium (shadow), Large (shadow-lg)
  • Icon (button_icon): None (``), 3D (3d), Account (account), Alert Circle (alert_circle), Alert Octagon (alert_octagon), Alert Triangle (alert_triangle), Arrow Right (arrow-right), At (at), Atom (atom), Award (award), Bag (bag), Basket (basket), Box (box), Briefcase (briefcase), Calculator (calculator), Calendar (calendar), Carambola (carambola), Cart (cart), Check (check), Check Circle (check_circle), Checkbox (checkbox), Chevron Down (chevron-down), Chevron Down (chevron_down), Chevron Down Circle (chevron_down_circle), Chevron Left (chevron_left), Chevron Left Circle (chevron_left_circle), Chevron Right (chevron_right), Chevron Right Circle (chevron_right_circle), Chevron Up (chevron_up), Chevron Up Circle (chevron_up_circle), Chrome (chrome), Circle (circle), Clock (clock), Close (close), Contact (contact), Credit Card (credit_card), Discount (discount), Dollar (dollar), Download (download), Edge (edge), Edit (edit), Email (email), Eye (eye), Feather (feather), Filter (filter), Fire (fire), Firefox (firefox), Gift (gift), Grid (grid), Headphones (headphones), Headset (headset), Heart (heart), Help (help), Home (home), Iron (iron), Leaf (leaf), List (list), List Details (list_details), Lock (lock), Lock Open (lock_open), Login (login), Logout (logout), Mail (mail), Mail Open (mail_open), Map Pin (map_pin), Menu (menu), Message Circle (message_circle), Minus (minus), Minus Circle (minus_circle), Minus Square (minus_square), Mobile (mobile), Movie (movie), Opera (opera), PDF (pdf), PDF File (pdf_file), Percent (percent), Phone (phone), Phone Call (phone_call), Photo (photo), Plane (plane), Play (play), Plus (plus), Plus Circle (plus_circle), Plus Square (plus_square), Point (point), Print (print), Progress Help (progress_help), Question Mark (question_mark), Return (return), Rosette (rosette), Rss (rss), Ruler (ruler), Safari (safari), Scissors (scissors), Search (search), Share (share), Shirt (shirt), Shoe (shoe), Star (star), Tag (tag), Tags (tags), Trash (trash), Truck (truck), User (user), Video (video), Wash (wash), Wash Gentle (wash_gentle), Wash Press (wash_press), Facebook (facebook), Twitter (twitter), X (x), Instagram (instagram), Linkedin (linkedin), Pinterest (pinterest), Tiktok (tiktok), Whatsapp (whatsapp), Youtube (youtube), Vimeo (vimeo), Tumblr (tumblr), Twitch (twitch), Threads (threads), Discord (discord), Mastodon (mastodon), Snapchat (snapchat), Spotify (spotify), Wechat (wechat), Meta (meta), Reddit (reddit)
  • Icon position (button_icon_position): Before text (start), After text (end)