![](https://github.com/t19960804/TLUI/raw/main/Sources/TLUI/Resources/Banner_2.png?raw=true)
![](https://camo.githubusercontent.com/85500b039fd3f8ffffef2258078082b4c2882bff59e908ffb4f1b90a8fb0d8a8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f556e6974546573742d39322532352d79656c6c6f77)
- TLButton
- TLCollectionView
- TLImageView
- TLLabel
- TLTopCornerView
- TLView
let sampleView = TLView(backgroundColor: .red)
view.addSubview(sampleView)
sampleView.centerInSuperView(size: .init(width: 150, height: 150))
![Demo](https://github.com/t19960804/TLUI/raw/main/Sources/TLUI/Resources/Demo1.png?raw=true)
let sampleView = TLView(backgroundColor: .red)
view.addSubview(sampleView)
sampleView.addConstraints(leadingAnchorTuple: (view.leadingAnchor, 50), topAnchorTuple: (view.topAnchor, 50))
sampleView.addHeightConstraint(equalToConstant: 150)
sampleView.addWidthConstraint(equalToConstant: 150)
![Demo](https://github.com/t19960804/TLUI/raw/main/Sources/TLUI/Resources/Demo2.png?raw=true)
Add Same Anchor With Other Views
let sampleView = TLView(backgroundColor: .red)
let sampleView2 = TLView(backgroundColor: .blue)
view.addSubview(sampleView)
view.addSubview(sampleView2)
sampleView.centerInSuperView(size: .init(width: 100, height: 100))
sampleView2.addConstraints(trailingAnchorTuple: (sampleView.leadingAnchor, 0) ,bottomAnchorTuple: (sampleView.topAnchor, 0))
sampleView2.addWidthConstraint(equalTo: sampleView.widthAnchor)
sampleView2.addHeightConstraint(equalTo: sampleView.heightAnchor)
![Demo](https://github.com/t19960804/TLUI/raw/main/Sources/TLUI/Resources/Demo3.png?raw=true)