---
schema_version: "1"
id: 2b5a99f4c42bb464664fa7713bb776a953404555cc8eac14d97e247205c49869
title: Dynamic Output in Expressions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/expr/expr-dynamic-output.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/expr-dynamic-output.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c1d1ee8b0ceeb6a1d8d97ecbda2e2f48fe03caeefc93d01352e4bf0347cf7167
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Dynamic Output in Expressions

The simplest way to use expressions is to output dynamic values.

Values used in the expression can be from component attributes, literal values, booleans, and so on. For example:

<!-- otherprops: set_clipboard -->
```nolang
{!v.desc}
```

In this expression, `v` represents the view, which is the set of component attributes, and `desc` is an attribute of the component. The expression is simply outputting the `desc` attribute value for the component that contains this markup.

If you're including literal values in expressions, enclose text values within single quotes, such as `{!'Some text'}`.

Include numbers without quotes, for example, `{!123}`.

For booleans, use `{!true}` for `true` and `{!false}` for `false`.

**See Also**  


-   [Component Attributes](https://developer.salesforce.com/docs/platform/aura-platform/components/components-attributes.md)
-   [Value Providers](https://developer.salesforce.com/docs/platform/aura-platform/guide/expr-source.md)

