Neumorphism.Design.Base
1.0.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Neumorphism.Design.Base --version 1.0.5
NuGet\Install-Package Neumorphism.Design.Base -Version 1.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Neumorphism.Design.Base" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Neumorphism.Design.Base --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Neumorphism.Design.Base, 1.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Neumorphism.Design.Base as a Cake Addin #addin nuget:?package=Neumorphism.Design.Base&version=1.0.5 // Install Neumorphism.Design.Base as a Cake Tool #tool nuget:?package=Neumorphism.Design.Base&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Neumorphism.Base
Provides a neumorphism design base for blazor app. It is very easy to apply neumophism design.
Features
- Supply neumorphism design base.
Installing and Getting started
1. install package.
Neumorphism.Base
is available for download and installation as NuGet packages.
dotnet add package Neumorphism.Design.Base --version <version>
2. Create your blazor app.
- Add using
fukicycle.Blazor.Neumorphism.Design.Base
(_Imports.razor
)
@using System.Net.Http
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.JSInterop
@using BlazorApp1
@using BlazorApp1.Shared
+ @using fukicycle.Blazor.Neumorphism.Design.Base
- Add
UseNeumorphism(BaseColor.Parse("#CDD6EE"))
(Program.cs
)
app.UseNeumorphism(BaseColor.Parse("#CDD6EE"));
- Add
Neumorphism
components! (Index.razor
)
@page "/"
<PageTitle>Index</PageTitle>
<Neumorphism class="mb-4 mx-4" ShapeType="ShapeType.CONCAVE" BorderRadius="50%">
<div style="display:flex; aspect-ratio: 1; width:100%; align-items:center;justify-content:center;">
<h1>Hello, world!</h1>
</div>
</Neumorphism>
<Neumorphism class="m-4" ShapeType="ShapeType.CONVEX">
<SurveyPrompt Title="How is Blazor working for you?" />
</Neumorphism>
<Neumorphism class="m-4">
<select>
<option>I like blazor.</option>
<option>I don't like blazor.</option>
</select>
</Neumorphism>
<Neumorphism class="m-4">
<button>OK</button>
</Neumorphism>
<Neumorphism class="m-4" ShapeType="ShapeType.SINK">
<input type="text" />
</Neumorphism>
<Neumorphism class="m-4" ShapeType="ShapeType.SINK">
<input type="date" />
</Neumorphism>
Please note that you have to set same color to root element. (<body/>
)
Contributing
Pull requests and stars are always welcome.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create.
Any contributions you make are greatly appreciated.
- Fork the Project.
- Create your Feature Branch(
git checkout -b feature/amazing_feature
). - Commit your Changes(
git commit -m 'Add some changes'
). - Push to the Branch(
git push origin feature/amazing_feature
). - Open a Pull Request.
Author
License
MIT. Click here for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.23)
- Microsoft.AspNetCore.Components.WebAssembly (>= 6.0.23)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.