Code Monkey home page Code Monkey logo

Comments (1)

scottdurow avatar scottdurow commented on July 19, 2024

Hi @jordanbardwell
Thanks for helping with the Creator Kit!
There are two types of component in the Creator Kit:

You can see which component is which by using the Insert menu
image

The elevation component is a code component which is written in TypeScript which is why you don't have the option to edit it. It implements the elevation style as defined by the Fluent UI guide https://developer.microsoft.com/en-us/fluentui#/styles/web/elevation

If you wanted to use the elevation component in a canvas component inside your app similar to the reference app, you would:

  1. Open Tree View -> Components -> New component
  2. Insert -> Code components -> Fluent Elevation. If you were creating a new app without using the template, you would first use Insert -> Custom -> Import component -> Code tab -> Fluent Elevation -> Import so that the elevation component is added to the list of available code components.
  3. You can now create the rest of your canvas component using the Elevation component as part of it to create a similar to the TextPanel component to the Reference App:
    image

Hope this helps!

from powercat-creator-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.