1
0
Fork 0
mirror of https://github.com/anyproto/docs.git synced 2025-06-08 05:47:05 +09:00
docs/fundamentals/object
2021-11-23 17:24:57 +00:00
..
blocks-and-canvas GitBook: [#110] Rename section reference to features 2021-11-13 11:51:54 +00:00
README.md GitBook: [#130] A bunch of changes that I hope will make things clearer to native English speakers 2021-11-23 17:24:57 +00:00

Object

People, Books, Musicians, Documents, Ideas, Places, Numbers, or Files. In Anytype these are all "objects". For instance, a person named "Enda," an essay to write, the music by "Pink Floyd," the film "2001", a town called "Berlin," a year, or just a simple status like "Done". Everything inside Anytype is an Object, including the other fundamental concepts relation.md, type, and set.md. All are types of Objects. The contents of objects are Blocks, which you can read more about below.

How to create objects?

Object Canvas

Every object has a flexible editing area that we call the "canvas". The canvas contains "blocks", each of which is a piece of information that you can freely move around the canvas. Blocks can take many forms and enable a wide variety of functionality and design adjustments, including text color and highlighting, alignment, and more. You can add a new blockt to hold any information you like by hitting the + button or do so in-line by typing /. However over a block to see its size or move it elsewhere on the canvas. To create a column, drag one block alongside another block.

{% hint style="info" %} Check out blocks-and-canvasfor more details {% endhint %}

Object Layout

Layouts help you customize how your object looks. For example, you can align your text blocks, change the icon type, or set the page full-width.

Anytype currently supports three kinds of layout:

  1. Basic: a classic view for notes, articles, and docs.
  2. Profile: designed for contacts, people, and organizations.
  3. Action: for getting things done. Perfect for tasks and plans.

We have designed layouts to be extendable. In the future, users will be able to make custom layouts too!

{% hint style="info" %} Primary and Profile layouts support either an emoji or a photo icon. All layouts, except Note, support a cover image. {% endhint %}