Reflex
  • Blocks
    • Header
    • Hero
    • Features
    • Call to action
    • Forms
    • Pricing
    • Team
    • Testimonials
    • Cards
    • Footer
    • Posts
    • Videos
  • Examples
  • Learn
  • Videos
  • Docs
  • Theme

    Theme reference

    • Colors
    • Font family
    • Font size
    • Font weight
    • Line height
    • Box shadow
    Create a theme Extend base
arshadcnv0.5.3
Reflex
Reflex

Components

Using components in mdx files.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

Using components

Components are one of the most important and useful features of Reflex.

A component is a small reusable piece of content that you can use to build your site.

In Reflex we have made it easy for you to create and style components.

Creating and styling component is as easy as writing HTML. If you know HTML you know how to use this.

We have created components for all HTML tags.

A button is a Button component. A div is Div and a p is P. Easy to remember.

HTML

This is an HTML button.

<button>Button</button>
Component

This is a Button component.

<Button>Button</Button>
HTML

This is an HTML button.

Component

This is a Button component.

PagesStyling

© 2020 Reflex

  • Blocks
  • Examples
  • Learn
  • Docs
  • Github