idyll-langidyll
DocsTutorialsGalleryEditor
menu

Overview

  • Introduction
  • Getting started
  • Markup syntax
  • HTML tags
  • Options and styles
  • Plugin system
  • Multipage template

Interactivity

  • Built-in components
  • Using components from npm
  • Make your own component
  • Scrolling and Refs

Publishing

  • Deploying to the web
  • Embedding Idyll

Useful Links

  • Github
  • Chat
  • Twitter
  • Support Us
← Back

Float

Content inside of a float will use the CSS float attribute to float to the left or right of its parent container.

Props

  • position string

    the float position: left or right.

    • Example: "left"
  • width string

    the width of the component, specified in pixels or percentage.

    • Example: "50%"
    • Default value: "50%"

Example Code

[Float position:"right"]

[/Float]