mockups

Tailwind CSS Artboard

Artboard provides fixed size container to display a demo content on mobile size.

Class Name
Type
Description
artboardComponentContainer element.
artboard-demoModifierAdds shadow and radius. Puts items in center.
phone-1ModifierSize 1 (320×568).
phone-2ModifierSize 2 (375×667).
phone-3ModifierSize 3 (414×736).
phone-4ModifierSize 4 (375×812).
phone-5ModifierSize 5 (414×896).
phone-6ModifierSize 6 (320×1024).
artboard-horizontalModifierShows horizontal view.

The artboard class functions as the initial class for the artboard CSS. Applying the artboard-demo class adds background color, shadow, and border radius. Lastly, the phone-number class defines the styling for sizing.

Basic artboard size 2 example

Basic artboard size 3 example

Basic artboard size 4 example

Basic artboard size 5 example

Basic artboard size 6 example

Incorporating the artboard-horizontal class will orient the artboard horizontally.

Basic artboard horizontal size 2 example

Basic artboard horizontal size 3 example

Basic artboard horizontal size 4 example

Basic artboard horizontal size 5 example

Basic artboard horizontal size 6 example