Component Libraries

In Anvil, you build your UI by adding components to Forms, either via code or dragging and dropping. These components are just Python objects.

You control the content, appearance and behaviour of your components by setting their Properties. You can set these properties from the Anvil Editor or through Python code.

Components raise events in response to user interaction. For example, when a user clicks a button, the component will raise a click event. To make your app interactive, you can write Python functions that will run when events are raised.

Anvil currently offers two different component libraries to choose from: Standard Anvil Components and Material 3.

Standard Anvil Components

The Standard Anvil component library is the original set of Anvil components and is used in much of the Anvil documentation and tutorials.

Material 3

Anvil’s Material 3 library is a set of custom components and layouts that implement Google’s Material 3 design system.

The Material 3 theme is currently in beta.

Do you still have questions?

Our Community Forum is full of helpful information and Anvil experts.