You can do this:

@theme {
  --default-border-width: 3px;
}

https://play.tailwindcss.com/jLZbGAtAAj

๐ŸŒ
Tailwind CSS
tailwindcss.com โ€บ docs โ€บ border-width
border-width - Borders - Tailwind CSS
Use border or border-<number> utilities like border-2 and border-4 to set the border width for all sides of an element:
๐ŸŒ
Kombai
kombai.com โ€บ tailwind โ€บ border-width
Tailwind CSS Border Width
The border width property in CSS controls the thickness of borders around elements, offering a way to enhance design and visual separation. Tailwind CSS provides a set of utility classes that map directly to these CSS properties, making it straightforward to define border widths for all, ...
๐ŸŒ
Tailwind CSS
night-tailwindcss.vercel.app โ€บ docs โ€บ border-width
Border Width - Tailwind CSS
Use the border, .border-0, .border-2, .border-4, or .border-8 utilities to set the border width for all sides of an element.
๐ŸŒ
PureCode AI
blogs.purecode.ai โ€บ home โ€บ a quick guide to understanding tailwind border width
A Quick Guide to Understanding Tailwind Border Width - Blogs
September 14, 2025 - For instance, if you want to add a 2-pixel border width to the top and bottom and a 4-pixel border width to the right and left sides of an element, you can use the `border-t` and `border-b` classes.
Find elsewhere
๐ŸŒ
Pagedone
pagedone.io โ€บ docs โ€บ borders
Tailwind CSS Borders | Pagedone
To add borders using Tailwind CSS, you can use a combination of utility classes that control the style, width, color, and rounding of the border.
๐ŸŒ
Tailwind CSS
tailwindcss.com โ€บ docs โ€บ box-sizing
box-sizing - Layout - Tailwind CSS
Use the box-border utility to set an element's box-sizing to border-box, telling the browser to include the element's borders and padding when you give it a height or width. This means a 100px ร— 100px element with a 2px border and 4px of padding ...
๐ŸŒ
Tailwind CSS
tailwindcss.com โ€บ docs โ€บ outline-width
outline-width - Borders - Tailwind CSS
Use the outline-[<value>] syntax to set the outline width based on a completely custom value:
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ tailwind_css โ€บ tailwind_css_border_width.htm
Tailwind CSS - Border Width
Tailwind CSS Border Width consists of predefined classes to quickly adjust the border thickness of elements, ranging from thin to thick. You can easily apply these thicknesses to all four sides of an element.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ css โ€บ tailwind-css-border-width
Tailwind CSS Border Width - GeeksforGeeks
July 23, 2025 - The classes are border, border-0, border-2, border-4, and border-8. ... <!DOCTYPE html> <html> <head> <link href= "https://unpkg.com/[email protected]/dist/tailwind.min.css" rel="stylesheet"> </head> <body class="text-center"> <h1 ...
๐ŸŒ
TailwindTap
tailwindtap.com โ€บ blog โ€บ tailwind-css-border-width-guide
Exploring Tailwind CSS Border Width: Tips and Examples
<div class="p-4 border lg:border-4 md:border-2 border-blue-700">Responsive Border</div> A Deep Dive into Tailwind CSS Border Colors: Tips and Examples
๐ŸŒ
Tailkits
tailkits.com โ€บ blog
Customizing Border Color in Tailwind CSS: An Easy Guide | Tailkits
December 26, 2024 - Use rounded-full along with equal width and height: class="w-24 h-24 border-4 border-purple-500 rounded-full" Use the border-0 class to remove borders. Use the hover: prefix with your border color class.