Ant Design (antd)
Overview
Ant Design is a React UI library from Ant Group with enterprise-grade tables, forms, date pickers, and layouts. It emphasizes density, internationalization, and design tokens (Ant Design 5+ CSS-in-JS theming) for large admin dashboards and internal tools.
Key concepts
- Components over utilities — Batteries-included widgets vs utility CSS.
- Form + validation — Integrated with controlled fields and async rules.
- Table — Sorting, filtering, virtualization patterns for big datasets.
- Theming —
ConfigProvider+ token customization. - Icons & locale —
@ant-design/icons, i18n bundles.
Typical admin layout
Sample: button + table stub
import { Button, Table, ConfigProvider } from 'antd';
const columns = [
{ title: 'Name', dataIndex: 'name', key: 'name' },
{ title: 'Role', dataIndex: 'role', key: 'role' },
];
export function Users({ data }: { data: { key: string; name: string; role: string }[] }) {
return (
<ConfigProvider theme={{ token: { colorPrimary: '#1677ff' } }}>
<Button type="primary">Add user</Button>
<Table style={{ marginTop: 16 }} columns={columns} dataSource={data} />
</ConfigProvider>
);
}