Rounded Corner Table Template

Soften the sharp edges of your data grid with this friendly and modern rounded corner table.

This subtle design tweak uses the CSS border-radius property to give the entire table a more approachable, contemporary feel that integrates nicely into modern UI designs.

Screenshot of a table with gently rounded corners on the outer border.

Get Source Code → Preview →

About this Rounded Corner Table

Achieving rounded corners on a standard table requires a couple of specific CSS tricks. Simply applying border-radius to the table element often doesn't work as expected with a collapsed border model. This template uses border-collapse: separate and border-spacing: 0 to ensure the effect works reliably. The key is to apply the radius to the table itself and then use overflow: hidden to clip the corners of the child cells, creating a clean, uniform curve. This small change can make a standard table feel much more integrated with other rounded elements on a page, like buttons and input fields.

Key Features:

Ideal Use Cases:

Dependencies:

None. This template uses only pure HTML and CSS.

Code

Here's the full code for the rounded corner table:

View Output