For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Resources
Get started
ReferenceChangelog
ReferenceChangelog
  • Flowkit v2.0.0
      • Overview
      • Colors
      • Border
      • Spacing
      • Typography
    • Components
    • Utility Classes
LogoLogo
Resources
Get started
On this page
  • Border Color
  • Border Radius
Flowkit v2.0.0Variables

Border

Was this page helpful?
Previous

Spacing

Next
Built with

Border variables control visual boundaries between components like buttons, cards, input fields, and other UI elements. These are divided into:

  • Border Color — Defines the visible stroke color.
  • Radius — Defines the border corner roundness (border-radius).

These values can be applied using variables or utility classes, and may vary between projects depending on style preferences.


Border Color

Border color variables follow a naming pattern based on surface context or visual intent.

    • Border Primary
    • Border Secondary
    • Border Inverse Primary
    • Border Inverse Secondary
    • Border Accent

These colors reference the foundational colors like Neutral or Accent and may include opacity (e.g. Neutral Inverse A50). The exact mapping is managed in the Variables panel.

Border color variables are applied to style the border or box shadow style of elements. For example, dividers and input fields are using border styles. Buttons and cards components are using box shadow styles.


Border Radius

Radius variables define how rounded the corners of elements should be. These values are used consistently across cards, buttons, input fields, etc.

Common radius sizes:

  • Small Radius
  • Medium Radius
  • Large Radius
  • X Large Radius

Utility Classes

To apply or override border radius styles consistently across elements, use the available utility classes. You can find the full list and usage examples in the Border Radius Utilities section.