---
title: "Discussion on \"Blazor conditional component attributes\" | Hashnode"
description: "Discussion on \"Blazor conditional component attributes\". How to add attributes on a Blazor component based on some condition."
url: "https://hashnode.com/posts/blazor-conditional-component-attributes/6641f0305f8d53f9c6ec6922"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Blazor conditional component attributes](https://ssdotdev.hashnode.dev/blazor-conditional-component-attributes?utm_source=hashnode&utm_medium=feed)

How to add attributes on a Blazor component based on some condition.

May 13, 2024 · 1 min read · ssdotdev.hashnode.dev  
Read the article

-   [#blazor](https://hashnode.com/tag/blazor)

## Written by

[Saurabh Srivastava](https://hashnode.com/@ssdotdev)

@ssdotdev

  
[View profile](https://hashnode.com/@ssdotdev)

An Android system and IoT developer, and a full stack web development enthusiast.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
